Struct combine_language::Identifier [] [src]

pub struct Identifier<PS, P> where
    PS: Parser<Output = char>,
    P: Parser<Input = PS::Input, Output = char>, 
{ pub start: PS, pub rest: P, pub reserved: Vec<Cow<'static, str>>, }

Defines how to define an identifier (or operator)

Fields

Parses a valid starting character for an identifier

Parses the rest of the characthers in a valid identifier

A number of reserved words which cannot be identifiers