Enum solp::ast::Expr[][src]

pub enum Expr<'input> {
Show 15 variants Comment(&'input str), DigitOrDot(&'input str), Guid(&'input str), Identifier(&'input str), Str(&'input str), Version(Box<Expr<'input>>, Box<Expr<'input>>), FirstLine(Box<Expr<'input>>), Global(Vec<Expr<'input>>), Project(Box<Expr<'input>>, Vec<Expr<'input>>), ProjectBegin(Box<Expr<'input>>, Box<Expr<'input>>, Box<Expr<'input>>, Box<Expr<'input>>), Section(Box<Expr<'input>>, Vec<Expr<'input>>), SectionBegin(Vec<Expr<'input>>, Box<Expr<'input>>), SectionContent(Box<Expr<'input>>, Box<Expr<'input>>), SectionKey(Box<Expr<'input>>), SectionValue(Box<Expr<'input>>),
}

Variants

Comment(&'input str)

Tuple Fields

0: &'input str

DigitOrDot(&'input str)

Tuple Fields

0: &'input str

Guid(&'input str)

Tuple Fields

0: &'input str

Identifier(&'input str)

Tuple Fields

0: &'input str

Str(&'input str)

Tuple Fields

0: &'input str

Version(Box<Expr<'input>>, Box<Expr<'input>>)

Tuple Fields

0: Box<Expr<'input>>
1: Box<Expr<'input>>

FirstLine(Box<Expr<'input>>)

Tuple Fields

0: Box<Expr<'input>>

Global(Vec<Expr<'input>>)

Tuple Fields

0: Vec<Expr<'input>>

Project(Box<Expr<'input>>, Vec<Expr<'input>>)

Tuple Fields

0: Box<Expr<'input>>
1: Vec<Expr<'input>>

ProjectBegin(Box<Expr<'input>>, Box<Expr<'input>>, Box<Expr<'input>>, Box<Expr<'input>>)

Tuple Fields

0: Box<Expr<'input>>
1: Box<Expr<'input>>
2: Box<Expr<'input>>
3: Box<Expr<'input>>

Section(Box<Expr<'input>>, Vec<Expr<'input>>)

Tuple Fields

0: Box<Expr<'input>>
1: Vec<Expr<'input>>

SectionBegin(Vec<Expr<'input>>, Box<Expr<'input>>)

Tuple Fields

0: Vec<Expr<'input>>
1: Box<Expr<'input>>

SectionContent(Box<Expr<'input>>, Box<Expr<'input>>)

Tuple Fields

0: Box<Expr<'input>>
1: Box<Expr<'input>>

SectionKey(Box<Expr<'input>>)

Tuple Fields

0: Box<Expr<'input>>

SectionValue(Box<Expr<'input>>)

Tuple Fields

0: Box<Expr<'input>>

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.