Enum calyx_frontend::parser::AliasedRule
source · [−]pub enum AliasedRule {
-Show 98 variants
component,
- attr_val,
- ext,
- params,
- invoke,
- guard_lt,
- static_if_stmt,
- primitive,
- static_wire,
- any_char,
- guard_gt,
+Show 98 variants
bad_num,
+ bitwidth,
comb_or_static,
- io_port,
- while_stmt,
- static_group,
- static_term,
- static_seq,
- imports,
- comb,
+ name_with_attribute,
+ block_char,
+ guard_gt,
decimal,
- comma,
- guard_not,
- cells,
- file,
- cell_without_semi,
- LHS,
- invoke_args,
- bad_num,
- guard_geq,
- guard_leq,
- prim_inline,
- wire,
+ connections,
+ float,
+ static_switch_stmt,
+ empty,
static_par,
- latency_annotation,
- expr,
+ repeat_stmt,
block,
- guard_expr,
- name_with_attribute,
+ both_comb_static,
+ hex,
+ inputs,
+ guard_lt,
+ invoke,
seq,
- static_annotation,
- cell,
par,
+ invoke_ref_args,
+ invoke_ref_arg,
+ static_invoke,
+ char,
+ ext,
+ attribute,
+ static_term,
+ static_wire,
reference,
- hex,
- cmp_expr,
- enable,
- stmts_without_block,
+ control,
args,
- octal,
- at_attributes,
+ stmts_without_block,
at_attribute,
- empty,
metadata,
- float_const,
- static_guard_expr,
- static_switch_stmt,
- repeat_stmt,
+ params,
+ group,
+ static_word,
+ at_attributes,
+ sig_with_params,
+ string_lit,
+ cells,
+ any_char,
+ while_stmt,
+ signature,
+ expr,
+ wire,
+ guard_eq,
+ component,
+ comma_req,
+ binary,
+ port_with,
+ invoke_arg,
+ static_if_stmt,
+ extern_or_component,
+ metadata_char,
+ guard_neq,
+ file,
+ num_lit,
+ io_port,
+ term,
+ guard_geq,
switch_stmt,
- stmt,
+ guard_leq,
externs_and_comps,
- string_lit,
EOI,
- if_stmt,
- term,
+ port,
+ attr_val,
+ static_guard_expr,
+ latency_annotation,
+ prim_inline,
+ static_group,
+ static_annotation,
+ stmt,
+ cell_without_semi,
+ float_const,
static_timing_expr,
- extern_or_component,
- bitwidth,
- invoke_arg,
- identifier,
- attributes,
- float,
- binary,
- inputs,
- num_lit,
- static_word,
- both_comb_static,
- attribute,
static_optional_latency,
- port,
- connections,
+ comma,
+ block_string,
+ guard_expr,
+ if_stmt,
+ outputs,
+ comb,
+ octal,
+ identifier,
+ enable,
+ imports,
+ invoke_args,
+ primitive,
hole,
- guard_neq,
+ cmp_expr,
semi,
- guard_eq,
- group,
- invoke_ref_args,
- static_invoke,
- signature,
- outputs,
- comma_req,
- char,
- control,
- block_string,
- sig_with_params,
- block_char,
- invoke_ref_arg,
- port_with,
- metadata_char,
-}
Variants
component
attr_val
ext
params
invoke
guard_lt
static_if_stmt
primitive
static_wire
any_char
guard_gt
comb_or_static
io_port
while_stmt
static_group
static_term
static_seq
imports
comb
decimal
comma
guard_not
cells
file
cell_without_semi
LHS
invoke_args
bad_num
guard_geq
guard_leq
prim_inline
wire
static_par
latency_annotation
expr
block
guard_expr
name_with_attribute
seq
static_annotation
cell
par
reference
hex
cmp_expr
enable
stmts_without_block
args
octal
at_attributes
at_attribute
empty
metadata
float_const
static_guard_expr
static_switch_stmt
repeat_stmt
switch_stmt
stmt
externs_and_comps
string_lit
EOI
if_stmt
term
static_timing_expr
extern_or_component
bitwidth
invoke_arg
identifier
attributes
float
binary
inputs
num_lit
static_word
both_comb_static
attribute
static_optional_latency
port
connections
hole
guard_neq
semi
guard_eq
group
invoke_ref_args
static_invoke
signature
outputs
comma_req
char
control
block_string
sig_with_params
block_char
invoke_ref_arg
port_with
metadata_char
Trait Implementations
sourceimpl Clone for AliasedRule
impl Clone for AliasedRule
sourcefn clone(&self) -> AliasedRule
fn clone(&self) -> AliasedRule
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AliasedRule
impl Debug for AliasedRule
sourceimpl Hash for AliasedRule
impl Hash for AliasedRule
sourceimpl Ord for AliasedRule
impl Ord for AliasedRule
sourcefn cmp(&self, other: &AliasedRule) -> Ordering
fn cmp(&self, other: &AliasedRule) -> Ordering
1.21.0 · sourcefn 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 · sourcefn 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
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<AliasedRule> for AliasedRule
impl PartialEq<AliasedRule> for AliasedRule
sourcefn eq(&self, other: &AliasedRule) -> bool
fn eq(&self, other: &AliasedRule) -> bool
This method tests for
self
and other
values to be equal, and is used
+ guard_not,
+ LHS,
+ static_seq,
+ cell,
+ attributes,
+}Variants
bad_num
bitwidth
comb_or_static
name_with_attribute
block_char
guard_gt
decimal
connections
float
static_switch_stmt
empty
static_par
repeat_stmt
block
both_comb_static
hex
inputs
guard_lt
invoke
seq
par
invoke_ref_args
invoke_ref_arg
static_invoke
char
ext
attribute
static_term
static_wire
reference
control
args
stmts_without_block
at_attribute
metadata
params
group
static_word
at_attributes
sig_with_params
string_lit
cells
any_char
while_stmt
signature
expr
wire
guard_eq
component
comma_req
binary
port_with
invoke_arg
static_if_stmt
extern_or_component
metadata_char
guard_neq
file
num_lit
io_port
term
guard_geq
switch_stmt
guard_leq
externs_and_comps
EOI
port
attr_val
static_guard_expr
latency_annotation
prim_inline
static_group
static_annotation
stmt
cell_without_semi
float_const
static_timing_expr
static_optional_latency
comma
block_string
guard_expr
if_stmt
outputs
comb
octal
identifier
enable
imports
invoke_args
primitive
hole
cmp_expr
semi
guard_not
LHS
static_seq
cell
attributes
Trait Implementations
sourceimpl Clone for AliasedRule
impl Clone for AliasedRule
sourcefn clone(&self) -> AliasedRule
fn clone(&self) -> AliasedRule
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AliasedRule
impl Debug for AliasedRule
sourceimpl Hash for AliasedRule
impl Hash for AliasedRule
sourceimpl Ord for AliasedRule
impl Ord for AliasedRule
sourcefn cmp(&self, other: &AliasedRule) -> Ordering
fn cmp(&self, other: &AliasedRule) -> Ordering
1.21.0 · sourcefn 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 · sourcefn 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
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<AliasedRule> for AliasedRule
impl PartialEq<AliasedRule> for AliasedRule
sourcefn eq(&self, other: &AliasedRule) -> bool
fn eq(&self, other: &AliasedRule) -> bool
sourceimpl PartialOrd<AliasedRule> for AliasedRule
impl PartialOrd<AliasedRule> for AliasedRule
sourcefn partial_cmp(&self, other: &AliasedRule) -> Option<Ordering>
fn partial_cmp(&self, other: &AliasedRule) -> Option<Ordering>
1.0.0 · sourcefn 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