Enum erl_tokenize::LexicalToken [−][src]
pub enum LexicalToken {
Atom(AtomToken),
Char(CharToken),
Float(FloatToken),
Integer(IntegerToken),
Keyword(KeywordToken),
String(StringToken),
Symbol(SymbolToken),
Variable(VariableToken),
}
Expand description
Lexical token.
This kind of token is meaningful in lexical analysis.
Variants
Atom(AtomToken)
Tuple Fields
0: AtomToken
Char(CharToken)
Tuple Fields
0: CharToken
Float(FloatToken)
Tuple Fields
0: FloatToken
Integer(IntegerToken)
Tuple Fields
0: IntegerToken
Keyword(KeywordToken)
Tuple Fields
0: KeywordToken
String(StringToken)
Tuple Fields
0: StringToken
Symbol(SymbolToken)
Tuple Fields
0: SymbolToken
Variable(VariableToken)
Tuple Fields
Implementations
Tries to return the reference to the inner AtomToken
.
Tries to return the reference to the inner CharToken
.
Tries to return the reference to the inner FloatToken
.
Tries to return the reference to the inner IntegerToken
.
Tries to return the reference to the inner KeywordToken
.
Tries to return the reference to the inner StringToken
.
Tries to return the reference to the inner SymbolToken
.
Tries to return the reference to the inner VariableToken
.
Tries to return the inner AtomToken
.
Tries to return the inner CharToken
.
Tries to return the inner FloatToken
.
Tries to return the inner IntegerToken
.
Tries to return the inner KeywordToken
.
Tries to return the inner StringToken
.
Tries to return the inner SymbolToken
.
Tries to return the inner VariableToken
.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Returns the (inclusive) start position of this.
Returns the (exclusive) end position of this.
Auto Trait Implementations
impl RefUnwindSafe for LexicalToken
impl Send for LexicalToken
impl Sync for LexicalToken
impl Unpin for LexicalToken
impl UnwindSafe for LexicalToken
Blanket Implementations
Mutably borrows from an owned value. Read more