Enum tree_sitter_graph::ast::Expression[][src]

pub enum Expression {
    FalseLiteral,
    NullLiteral,
    TrueLiteral,
    IntegerConstant(IntegerConstant),
    StringConstant(StringConstant),
    List(ListComprehension),
    Set(SetComprehension),
    Capture(Capture),
    Variable(Variable),
    Call(Call),
    RegexCapture(RegexCapture),
}
Expand description

An expression that can appear in a graph DSL file

Variants

FalseLiteral
NullLiteral
TrueLiteral
IntegerConstant(IntegerConstant)

Tuple Fields of IntegerConstant

0: IntegerConstant
StringConstant(StringConstant)

Tuple Fields of StringConstant

0: StringConstant

Tuple Fields of List

0: ListComprehension

Tuple Fields of Set

0: SetComprehension
Capture(Capture)

Tuple Fields of Capture

0: Capture
Variable(Variable)

Tuple Fields of Variable

0: Variable
Call(Call)

Tuple Fields of Call

0: Call
RegexCapture(RegexCapture)

Tuple Fields of RegexCapture

0: RegexCapture

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

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

This method tests for !=.

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 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.