[][src]Enum leo_grammar::ast::Rule

pub enum Rule {
    EOI,
    assignee,
    file,
    definition,
    definition_annotated,
    identifier,
    protected_name,
    self_keyword,
    mut_self_keyword,
    self_keyword_or_identifier,
    keyword_or_identifier,
    LINE_END,
    mutable,
    range_operator,
    range,
    range_or_expression,
    spread,
    spread_or_expression,
    static_,
    variable_name,
    variable_name_tuple,
    variables,
    declare,
    const_,
    let_,
    operation_unary,
    operation_not,
    operation_negate,
    operation_and,
    operation_or,
    operation_eq,
    operation_ne,
    operation_ge,
    operation_gt,
    operation_le,
    operation_lt,
    operation_add,
    operation_sub,
    operation_mul,
    operation_div,
    operation_pow,
    operation_compare,
    operation_binary,
    operation_assign,
    assign,
    operation_add_assign,
    operation_sub_assign,
    operation_mul_assign,
    operation_div_assign,
    operation_pow_assign,
    type_,
    type_integer,
    type_u8,
    type_u16,
    type_u32,
    type_u64,
    type_u128,
    type_integer_unsigned,
    type_i8,
    type_i16,
    type_i32,
    type_i64,
    type_i128,
    type_integer_signed,
    type_field,
    type_group,
    type_boolean,
    type_address,
    type_data,
    type_self,
    type_circuit,
    type_array,
    array_dimensions,
    dimension_single,
    dimension_multiple,
    type_tuple,
    value,
    value_number,
    number_negative,
    number_positive,
    value_integer,
    value_integer_signed,
    value_integer_unsigned,
    value_boolean,
    value_field,
    value_group,
    group_single_or_tuple,
    group_tuple,
    group_coordinate,
    sign_high,
    sign_low,
    inferred,
    address,
    value_address,
    access,
    access_array,
    access_tuple,
    access_assignee,
    access_call,
    access_member,
    access_static_member,
    circuit,
    circuit_variable,
    circuit_variable_definition,
    circuit_member,
    expression_conditional,
    expression_term,
    expression,
    expression_tuple,
    expression_array_initializer,
    expression_array_inline,
    inline_array_inner,
    expression_circuit_inline,
    circuit_name,
    circuit_variable_list,
    expression_unary,
    expression_postfix,
    statement,
    statement_assign,
    block,
    statement_conditional,
    conditional_nested_or_end_statement,
    statement_definition,
    statement_expression,
    statement_for,
    statement_return,
    test_function,
    function,
    function_input,
    input_keyword,
    input,
    input_tuple,
    import,
    package_name,
    package,
    package_access,
    multiple_package_access,
    star,
    import_symbol,
    COMMENT,
    WHITESPACE,
    console_function_call,
    console_keyword,
    console_function,
    console_assert,
    console_debug,
    console_error,
    console_log,
    formatted_string,
    formatted_container,
    annotation,
    annotation_symbol,
    annotation_name,
    context,
    annotation_arguments,
    annotation_argument,
}

Variants

EOI
assignee
file
definition
definition_annotated
identifier
protected_name
self_keyword
mut_self_keyword
self_keyword_or_identifier
keyword_or_identifier
LINE_END
mutable
range_operator
range
range_or_expression
spread
spread_or_expression
static_
variable_name
variable_name_tuple
variables
declare
const_
let_
operation_unary
operation_not
operation_negate
operation_and
operation_or
operation_eq
operation_ne
operation_ge
operation_gt
operation_le
operation_lt
operation_add
operation_sub
operation_mul
operation_div
operation_pow
operation_compare
operation_binary
operation_assign
assign
operation_add_assign
operation_sub_assign
operation_mul_assign
operation_div_assign
operation_pow_assign
type_
type_integer
type_u8
type_u16
type_u32
type_u64
type_u128
type_integer_unsigned
type_i8
type_i16
type_i32
type_i64
type_i128
type_integer_signed
type_field
type_group
type_boolean
type_address
type_data
type_self
type_circuit
type_array
array_dimensions
dimension_single
dimension_multiple
type_tuple
value
value_number
number_negative
number_positive
value_integer
value_integer_signed
value_integer_unsigned
value_boolean
value_field
value_group
group_single_or_tuple
group_tuple
group_coordinate
sign_high
sign_low
inferred
address
value_address
access
access_array
access_tuple
access_assignee
access_call
access_member
access_static_member
circuit
circuit_variable
circuit_variable_definition
circuit_member
expression_conditional
expression_term
expression
expression_tuple
expression_array_initializer
expression_array_inline
inline_array_inner
expression_circuit_inline
circuit_name
circuit_variable_list
expression_unary
expression_postfix
statement
statement_assign
block
statement_conditional
conditional_nested_or_end_statement
statement_definition
statement_expression
statement_for
statement_return
test_function
function
function_input
input_keyword
input
input_tuple
import
package_name
package
package_access
multiple_package_access
star
import_symbol
COMMENT
WHITESPACE
console_function_call
console_keyword
console_function
console_assert
console_debug
console_error
console_log
formatted_string
formatted_container
annotation
annotation_symbol
annotation_name
context
annotation_arguments
annotation_argument

Trait Implementations

impl Clone for Rule[src]

impl Copy for Rule[src]

impl Debug for Rule[src]

impl Eq for Rule[src]

impl Hash for Rule[src]

impl Ord for Rule[src]

impl Parser<Rule> for LanguageParser[src]

impl PartialEq<Rule> for Rule[src]

impl PartialOrd<Rule> for Rule[src]

impl StructuralEq for Rule[src]

impl StructuralPartialEq for Rule[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> RuleType for T where
    T: Eq + Ord + Copy + Debug + Hash
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.