Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommentCallback ¶
CommentCallback is a function which acts on an encountered comment
type CommentState ¶
type CommentState int
CommentState is an enum representing the current state the traverser is in
const ( // NonComment is the default state a traverser is at NonComment CommentState = iota // String is the state while the traverser is reading a string String // SingleLineComment is the state while the traverser is reading a single-line comment SingleLineComment // MultiLineComment is the state while the traverser is reading a multi-line comment MultiLineComment )
Click to show internal directories.
Click to hide internal directories.