[][src]Enum rtps_idl_grammar::Rule

pub enum Rule {
    alpha,
    digit,
    octal_digit,
    hex_digit,
    escape,
    octal_escape,
    hex_escape,
    unicode_escape,
    newline,
    whitespace,
    path_spec,
    include_directive,
    other_directive,
    block_comment,
    line_comment,
    comment,
    identifier,
    character_literal,
    string_literal,
    wide_character_literal,
    wide_string_literal,
    integer_literal,
    decimal_integer_literal,
    octal_integer_literal,
    hex_integer_literal,
    fixed_pt_literal,
    floating_pt_literal,
    integral_part,
    fractional_part,
    exponent,
    float_suffix,
    specification,
    definition,
    module_dcl,
    scoped_name,
    const_dcl,
    const_type,
    const_expr,
    or_expr,
    xor_expr,
    and_expr,
    lshift_expr,
    rshift_expr,
    add_expr,
    sub_expr,
    mul_expr,
    div_expr,
    mod_expr,
    unary_expr,
    unary_operator,
    primary_expr,
    literal,
    boolean_literal,
    positive_int_const,
    type_dcl,
    type_spec,
    simple_type_spec,
    base_type_spec,
    floating_pt_type,
    float,
    double,
    long_double,
    integer_type,
    signed_int,
    signed_short_int,
    signed_long_int,
    signed_longlong_int,
    unsigned_int,
    unsigned_short_int,
    unsigned_long_int,
    unsigned_longlong_int,
    char_type,
    wide_char_type,
    boolean_type,
    octet_type,
    template_type_spec,
    sequence_type,
    string_type,
    wide_string_type,
    fixed_pt_type,
    fixed_pt_const_type,
    constr_type_dcl,
    struct_dcl,
    struct_def,
    member,
    struct_forward_dcl,
    union_dcl,
    union_def,
    switch_type_spec,
    switch_body,
    case,
    case_label,
    element_spec,
    union_forward_dcl,
    enum_dcl,
    enumerator,
    array_declarator,
    fixed_array_size,
    native_dcl,
    simple_declarator,
    typedef_dcl,
    type_declarator,
    any_declarators,
    any_declarator,
    declarators,
    declarator,
    any_type,
    except_dcl,
    interface_dcl,
    interface_def,
    interface_forward_dcl,
    interface_header,
    interface_kind,
    interface_inheritance_spec,
    interface_name,
    interface_body,
    export,
    op_dcl,
    op_type_spec,
    parameter_dcls,
    param_dcl,
    param_attribute,
    raises_expr,
    attr_dcl,
    readonly_attr_spec,
    readonly_attr_declarator,
    attr_spec,
    attr_declarator,
    attr_raises_expr,
    get_excep_expr,
    set_excep_expr,
    exception_list,
    value_dcl,
    value_def,
    value_header,
    value_kind,
    value_inheritance_spec,
    value_name,
    value_element,
    state_member,
    init_dcl,
    init_param_dcls,
    init_param_dcl,
    value_forward_dcl,
    type_id_dcl,
    type_prefix_dcl,
    import_dcl,
    imported_scope,
    object_type,
    op_oneway_dcl,
    in_parameter_dcls,
    in_param_dcl,
    op_with_context,
    context_expr,
    value_box_def,
    value_abs_def,
    value_base_type,
    component_dcl,
    component_forward_dcl,
    component_def,
    component_header,
    component_inheritance_spec,
    component_body,
    component_export,
    provides_dcl,
    interface_type,
    uses_dcl,
    home_dcl,
    home_header,
    home_inheritance_spec,
    home_body,
    home_export,
    factory_dcl,
    factory_param_dcls,
    factory_param_dcl,
    supported_interface_spec,
    emits_dcl,
    publishes_dcl,
    consumes_dcl,
    primary_key_spec,
    finder_dcl,
    event_dcl,
    event_forward_dcl,
    event_abs_def,
    event_def,
    event_header,
    porttype_dcl,
    porttype_forward_dcl,
    porttype_def,
    port_body,
    port_ref,
    port_export,
    port_dcl,
    connector_dcl,
    connector_header,
    connector_inherit_spec,
    connector_export,
    template_module_dcl,
    formal_parameters,
    formal_parameter,
    formal_parameter_type,
    tpl_definition,
    template_module_inst,
    actual_parameters,
    actual_parameter,
    template_module_ref,
    formal_parameter_names,
    map_type,
    bitset_dcl,
    bitfield,
    bitfield_spec,
    destination_type,
    bitmask_dcl,
    bit_value,
    annotation_dcl,
    annotation_header,
    annotation_body,
    annotation_member,
    annotation_member_type,
    any_const_type,
    annotation_appl,
    annotation_appl_params,
    annotation_appl_param,
}

Variants

alphadigitoctal_digithex_digitescapeoctal_escapehex_escapeunicode_escapenewlinewhitespacepath_specinclude_directiveother_directiveblock_commentline_commentcommentidentifiercharacter_literalstring_literalwide_character_literalwide_string_literalinteger_literaldecimal_integer_literaloctal_integer_literalhex_integer_literalfixed_pt_literalfloating_pt_literalintegral_partfractional_partexponentfloat_suffixspecificationdefinitionmodule_dclscoped_nameconst_dclconst_typeconst_expror_exprxor_exprand_exprlshift_exprrshift_expradd_exprsub_exprmul_exprdiv_exprmod_exprunary_exprunary_operatorprimary_exprliteralboolean_literalpositive_int_consttype_dcltype_specsimple_type_specbase_type_specfloating_pt_typefloatdoublelong_doubleinteger_typesigned_intsigned_short_intsigned_long_intsigned_longlong_intunsigned_intunsigned_short_intunsigned_long_intunsigned_longlong_intchar_typewide_char_typeboolean_typeoctet_typetemplate_type_specsequence_typestring_typewide_string_typefixed_pt_typefixed_pt_const_typeconstr_type_dclstruct_dclstruct_defmemberstruct_forward_dclunion_dclunion_defswitch_type_specswitch_bodycasecase_labelelement_specunion_forward_dclenum_dclenumeratorarray_declaratorfixed_array_sizenative_dclsimple_declaratortypedef_dcltype_declaratorany_declaratorsany_declaratordeclaratorsdeclaratorany_typeexcept_dclinterface_dclinterface_definterface_forward_dclinterface_headerinterface_kindinterface_inheritance_specinterface_nameinterface_bodyexportop_dclop_type_specparameter_dclsparam_dclparam_attributeraises_exprattr_dclreadonly_attr_specreadonly_attr_declaratorattr_specattr_declaratorattr_raises_exprget_excep_exprset_excep_exprexception_listvalue_dclvalue_defvalue_headervalue_kindvalue_inheritance_specvalue_namevalue_elementstate_memberinit_dclinit_param_dclsinit_param_dclvalue_forward_dcltype_id_dcltype_prefix_dclimport_dclimported_scopeobject_typeop_oneway_dclin_parameter_dclsin_param_dclop_with_contextcontext_exprvalue_box_defvalue_abs_defvalue_base_typecomponent_dclcomponent_forward_dclcomponent_defcomponent_headercomponent_inheritance_speccomponent_bodycomponent_exportprovides_dclinterface_typeuses_dclhome_dclhome_headerhome_inheritance_spechome_bodyhome_exportfactory_dclfactory_param_dclsfactory_param_dclsupported_interface_specemits_dclpublishes_dclconsumes_dclprimary_key_specfinder_dclevent_dclevent_forward_dclevent_abs_defevent_defevent_headerporttype_dclporttype_forward_dclporttype_defport_bodyport_refport_exportport_dclconnector_dclconnector_headerconnector_inherit_specconnector_exporttemplate_module_dclformal_parametersformal_parameterformal_parameter_typetpl_definitiontemplate_module_instactual_parametersactual_parametertemplate_module_refformal_parameter_namesmap_typebitset_dclbitfieldbitfield_specdestination_typebitmask_dclbit_valueannotation_dclannotation_headerannotation_bodyannotation_memberannotation_member_typeany_const_typeannotation_applannotation_appl_paramsannotation_appl_param

Trait Implementations

impl Eq for Rule
[src]

impl PartialOrd<Rule> for Rule
[src]

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Copy for Rule
[src]

impl PartialEq<Rule> for Rule
[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for Rule
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Ord for Rule
[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl Debug for Rule
[src]

impl Hash for Rule
[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Parser<Rule> for IdlParser
[src]

Auto Trait Implementations

impl Send for Rule

impl Sync for Rule

Blanket Implementations

impl<T> From for T
[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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