Enum template_cli::evaluate::Rule
source · pub enum Rule {
Show 43 variants
EOI,
linear_whitespace,
vertical_whitespace,
whitespace,
start_marker,
end_marker,
comment_start_marker,
comment_end_marker,
keyword_if,
keyword_unless,
keyword_elif,
keyword_else,
keyword_end,
keyword_for,
keywords,
property,
properties,
function,
boolean,
floating_point_number,
integer_number,
number,
string,
null,
array,
key_value_pair,
dictionary,
literal,
function_call,
expression,
expression_template,
if_template,
elif_template,
else_template,
end_template,
if_elif_else_template,
for_template,
for_else_template,
comment,
template,
character,
sub_template,
file,
}
Variants§
EOI
linear_whitespace
vertical_whitespace
whitespace
start_marker
end_marker
comment_start_marker
comment_end_marker
keyword_if
keyword_unless
keyword_elif
keyword_else
keyword_end
keyword_for
keywords
property
properties
function
boolean
floating_point_number
integer_number
number
string
null
array
key_value_pair
dictionary
literal
function_call
expression
expression_template
if_template
elif_template
else_template
end_template
if_elif_else_template
for_template
for_else_template
comment
template
character
sub_template
file
Trait Implementations§
source§impl Ord for Rule
impl Ord for Rule
source§impl Parser<Rule> for TemplateParser
impl Parser<Rule> for TemplateParser
source§impl PartialEq<Rule> for Rule
impl PartialEq<Rule> for Rule
source§impl PartialOrd<Rule> for Rule
impl PartialOrd<Rule> for Rule
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more