Struct erl_pp::directives::Define [−][src]
pub struct Define {
pub _hyphen: SymbolToken,
pub _define: AtomToken,
pub _open_paren: SymbolToken,
pub name: MacroName,
pub variables: Option<MacroVariables>,
pub _comma: SymbolToken,
pub replacement: Vec<LexicalToken>,
pub _close_paren: SymbolToken,
pub _dot: SymbolToken,
}
Expand description
define
directive.
See 9.2 Defining and Using Macros for detailed information.
Fields
_hyphen: SymbolToken
_define: AtomToken
_open_paren: SymbolToken
name: MacroName
variables: Option<MacroVariables>
_comma: SymbolToken
replacement: Vec<LexicalToken>
_close_paren: SymbolToken
_dot: SymbolToken
Trait Implementations
Returns the (inclusive) start position of this.
Returns the (exclusive) end position of this.
Auto Trait Implementations
impl RefUnwindSafe for Define
impl UnwindSafe for Define
Blanket Implementations
Mutably borrows from an owned value. Read more