MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / is_content

Method is_content

atomic-core/src/diff/token/kind.rs:120–125  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

118 /// ```
119 #[inline]
120 pub fn is_content(&self) -> bool {
121 matches!(
122 self,
123 TokenKind::Word | TokenKind::String | TokenKind::Number | TokenKind::Comment
124 )
125 }
126
127 /// Check if this is a whitespace-like token.
128 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected