pub enum Whitespace {
Space,
Newline,
Tab,
SingleLineComment {
comment: String,
prefix: String,
},
MultiLineComment(String),
}Expand description
Represents whitespace in the input: spaces, newlines, tabs and comments.
Variants§
Space
A single space character.
Newline
A newline character.
Tab
A tab character.
SingleLineComment
A single-line comment (e.g. -- comment or # comment).
The comment field contains the text, and prefix contains the comment prefix.
MultiLineComment(String)
A multi-line comment (without the /* ... */ delimiters).