Enum caminos_lib::config_parser::Token [−][src]
pub enum Token {
Show 30 variants
DummyStart,
True,
False,
Where,
Number(f64),
LitStr(String),
Ident(String),
EqualEqual,
LBrace,
RBrace,
LBracket,
RBracket,
LPar,
RPar,
Comma,
Colon,
Bang,
At,
Equal,
Dot,
Value(ConfigurationValue),
Object(ConfigurationValue),
Members(Vec<(String, ConfigurationValue)>),
Pair(String, ConfigurationValue),
Array(Vec<ConfigurationValue>),
Elements(Vec<ConfigurationValue>),
Expression(Expr),
FunctionCall(Expr),
Arguments(Vec<(String, Expr)>),
ExprPair(String, Expr),
}
Variants
Number(f64)
Tuple Fields of Number
0: f64
LitStr(String)
Tuple Fields of LitStr
0: String
Ident(String)
Tuple Fields of Ident
0: String
Value(ConfigurationValue)
Tuple Fields of Value
Object(ConfigurationValue)
Tuple Fields of Object
Members(Vec<(String, ConfigurationValue)>)
Tuple Fields of Members
Pair(String, ConfigurationValue)
Tuple Fields of Pair
0: String
1: ConfigurationValue
Array(Vec<ConfigurationValue>)
Tuple Fields of Array
Elements(Vec<ConfigurationValue>)
Tuple Fields of Elements
Expression(Expr)
Tuple Fields of Expression
0: Expr
FunctionCall(Expr)
Tuple Fields of FunctionCall
0: Expr
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Token
impl !UnwindSafe for Token
Blanket Implementations
Mutably borrows from an owned value. Read more