pub enum Rule {
Show 187 variants
EOI,
WHITESPACE,
COMMENT,
akar_query,
statement,
export_database,
export_options,
export_option,
import_database,
create_dml_statement,
call_statement,
union_statement,
union_keyword,
analyze_statement,
transaction_statement,
extension_statement,
multi_db_statement,
attach_database,
attach_options,
attach_option,
detach_database,
use_database,
load_from,
load_options,
load_option,
alter_table,
alter_action,
add_column,
drop_column,
rename_column,
rename_table,
ddl_statement,
create_type,
comment_on_table,
create_macro,
create_fts_index,
fts_tokenizer_clause,
using_fts_clause,
macro_params,
macro_param,
create_sequence,
or_replace,
sequence_start_with,
sequence_increment_by,
sequence_minvalue,
sequence_maxvalue,
sequence_cycle,
minus,
drop_sequence,
create_index,
index_type,
if_not_exists,
if_exists,
drop_index,
copy_to,
copy_to_options,
copy_to_option,
format_option,
copy_from,
copy_options,
copy_option,
header_option,
delim_option,
escape_option,
quote_option,
set_clause,
set_item,
merge_clause,
call_clause,
call_args,
function_name,
on_create_set,
on_match_set,
delete_clause,
detach_kw,
unwind_clause,
foreach_clause,
foreach_body,
create_clause_inline,
query_statement,
query_clause,
create_node_table,
create_rel_table,
drop_table,
table_element,
table_elements,
column_definitions,
column_def,
type_name,
array_suffix,
primitive_type,
map_type,
struct_type,
struct_field,
union_type,
primary_key,
create_vector_index,
vector_index_options,
vector_index_option,
metric_option,
dimensions_option,
optional_match_clause,
match_clause,
pattern,
node_pattern,
edge_pattern,
var_length,
label,
property_map,
property_key_value,
where_clause,
with_clause,
return_clause,
distinct_flag,
return_item,
order_by,
sort_item,
sort_dir,
limit,
offset,
expression,
or_kw,
and_kw,
not_kw,
xor_kw,
or_expr,
xor_expr,
and_expr,
not_expr,
comparison_expr,
comparison_op,
is_check_op,
in_kw,
in_op,
not_in_op,
starts_with_kw,
starts_with_op,
not_starts_with_op,
ends_with_kw,
ends_with_op,
not_ends_with_op,
contains_kw,
contains_op,
not_contains_op,
like_kw,
like_op,
between_kw,
between_op,
additive_expr,
add_op,
multiplicative_expr,
mul_op,
unary_expr,
postfix_expr,
property_access,
primary,
lambda_expr,
list_predicate,
case_expr,
case_expr_start,
case_expr_end,
case_subject,
case_when,
case_when_start,
case_then,
case_else,
case_else_start,
exists_subquery,
parameter,
function_args,
star,
literal,
string,
escape_char,
integer,
float,
boolean_literal,
null_literal,
list_literal,
map_literal,
variable,
identifier,
backtick_identifier,
graph_statement,
create_graph,
use_graph,
drop_graph,
}Variants§
EOI
End-of-input
WHITESPACE
COMMENT
akar_query
statement
export_database
export_options
export_option
import_database
create_dml_statement
call_statement
union_statement
union_keyword
analyze_statement
transaction_statement
extension_statement
multi_db_statement
attach_database
attach_options
attach_option
detach_database
use_database
load_from
load_options
load_option
alter_table
alter_action
add_column
drop_column
rename_column
rename_table
ddl_statement
create_type
comment_on_table
create_macro
create_fts_index
fts_tokenizer_clause
using_fts_clause
macro_params
macro_param
create_sequence
or_replace
sequence_start_with
sequence_increment_by
sequence_minvalue
sequence_maxvalue
sequence_cycle
minus
drop_sequence
create_index
index_type
if_not_exists
if_exists
drop_index
copy_to
copy_to_options
copy_to_option
format_option
copy_from
copy_options
copy_option
header_option
delim_option
escape_option
quote_option
set_clause
set_item
merge_clause
call_clause
call_args
function_name
on_create_set
on_match_set
delete_clause
detach_kw
unwind_clause
foreach_clause
foreach_body
create_clause_inline
query_statement
query_clause
create_node_table
create_rel_table
drop_table
table_element
table_elements
column_definitions
column_def
type_name
array_suffix
primitive_type
map_type
struct_type
struct_field
union_type
primary_key
create_vector_index
vector_index_options
vector_index_option
metric_option
dimensions_option
optional_match_clause
match_clause
pattern
node_pattern
edge_pattern
var_length
label
property_map
property_key_value
where_clause
with_clause
return_clause
distinct_flag
return_item
order_by
sort_item
sort_dir
limit
offset
expression
or_kw
and_kw
not_kw
xor_kw
or_expr
xor_expr
and_expr
not_expr
comparison_expr
comparison_op
is_check_op
in_kw
in_op
not_in_op
starts_with_kw
starts_with_op
not_starts_with_op
ends_with_kw
ends_with_op
not_ends_with_op
contains_kw
contains_op
not_contains_op
like_kw
like_op
between_kw
between_op
additive_expr
add_op
multiplicative_expr
mul_op
unary_expr
postfix_expr
property_access
primary
lambda_expr
list_predicate
case_expr
case_expr_start
case_expr_end
case_subject
case_when
case_when_start
case_then
case_else
case_else_start
exists_subquery
parameter
function_args
star
literal
string
escape_char
integer
float
boolean_literal
null_literal
list_literal
map_literal
variable
identifier
backtick_identifier
graph_statement
create_graph
use_graph
drop_graph
Implementations§
Trait Implementations§
impl Copy for Rule
impl Eq for Rule
Source§impl Ord for Rule
impl Ord for Rule
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl Parser<Rule> for CypherParser
impl Parser<Rule> for CypherParser
Source§impl PartialOrd for Rule
impl PartialOrd for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnsafeUnpin for Rule
impl UnwindSafe for Rule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more