Enum erl_pp::types::MacroName [] [src]

pub enum MacroName {
    Atom(AtomToken),
    Variable(VariableToken),
}

The list of tokens that can be used as a macro name.

Variants

Methods

impl MacroName
[src]

Returns the value of this token.

Returns the original textual representation of this token.

Trait Implementations

impl Debug for MacroName
[src]

Formats the value using the given formatter.

impl Clone for MacroName
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for MacroName
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for MacroName
[src]

impl Hash for MacroName
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PositionRange for MacroName
[src]

Returns the (inclusive) start position of this.

Returns the (exclusive) end position of this.

impl Display for MacroName
[src]

Formats the value using the given formatter. Read more