Enum erl_tokenize::HiddenToken [] [src]

pub enum HiddenToken {
    Comment(CommentToken),
    Whitespace(WhitespaceToken),
}

Hidden token.

"Hidden" means it has no lexical meanings.

Variants

Methods

impl HiddenToken
[src]

Returns the original textual representation of this token.

Tries to return the reference to the inner CommentToken.

Tries to return the reference to the inner WhitespaceToken.

Tries to return the inner CommentToken.

Tries to return the inner WhitespaceToken.

Trait Implementations

impl Debug for HiddenToken
[src]

Formats the value using the given formatter.

impl Clone for HiddenToken
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<CommentToken> for HiddenToken
[src]

Performs the conversion.

impl From<WhitespaceToken> for HiddenToken
[src]

Performs the conversion.

impl PositionRange for HiddenToken
[src]

Returns the (inclusive) start position of this.

Returns the (exclusive) end position of this.

impl Display for HiddenToken
[src]

Formats the value using the given formatter. Read more