Struct Formatter

Source
pub struct Formatter { /* private fields */ }

Implementations§

Source§

impl Formatter

Source

pub fn new(metadata: &Metadata) -> Self

Source

pub fn format(&mut self, input: &Veryl)

Source

pub fn as_str(&self) -> &str

Trait Implementations§

Source§

impl Default for Formatter

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl VerylWalker for Formatter

Source§

fn veryl_token(&mut self, arg: &VerylToken)

Semantic action for non-terminal ‘VerylToken’

Source§

fn identifier(&mut self, arg: &Identifier)

Semantic action for non-terminal ‘Identifier’

Source§

fn number(&mut self, arg: &Number)

Semantic action for non-terminal ‘Number’

Source§

fn expression(&mut self, arg: &Expression)

Semantic action for non-terminal ‘Expression’

Source§

fn expression01(&mut self, arg: &Expression01)

Semantic action for non-terminal ‘Expression01’

Source§

fn expression02(&mut self, arg: &Expression02)

Semantic action for non-terminal ‘Expression02’

Source§

fn expression03(&mut self, arg: &Expression03)

Semantic action for non-terminal ‘Expression03’

Source§

fn expression04(&mut self, arg: &Expression04)

Semantic action for non-terminal ‘Expression04’

Source§

fn expression05(&mut self, arg: &Expression05)

Semantic action for non-terminal ‘Expression05’

Source§

fn expression06(&mut self, arg: &Expression06)

Semantic action for non-terminal ‘Expression06’

Source§

fn expression07(&mut self, arg: &Expression07)

Semantic action for non-terminal ‘Expression07’

Source§

fn expression08(&mut self, arg: &Expression08)

Semantic action for non-terminal ‘Expression08’

Source§

fn expression09(&mut self, arg: &Expression09)

Semantic action for non-terminal ‘Expression09’

Source§

fn expression10(&mut self, arg: &Expression10)

Semantic action for non-terminal ‘Expression10’

Source§

fn expression11(&mut self, arg: &Expression11)

Semantic action for non-terminal ‘Expression11’

Source§

fn factor(&mut self, arg: &Factor)

Semantic action for non-terminal ‘Factor’

Source§

fn factor_type_factor(&mut self, arg: &FactorTypeFactor)

Semantic action for non-terminal ‘FactorTypeFactor’

Source§

fn argument_list(&mut self, arg: &ArgumentList)

Semantic action for non-terminal ‘ArgumentList’

Source§

fn concatenation_list(&mut self, arg: &ConcatenationList)

Semantic action for non-terminal ‘ConcatenationList’

Source§

fn concatenation_item(&mut self, arg: &ConcatenationItem)

Semantic action for non-terminal ‘ConcatenationItem’

Source§

fn array_literal_list(&mut self, arg: &ArrayLiteralList)

Semantic action for non-terminal ‘ArrayLiteralList’

Source§

fn array_literal_item(&mut self, arg: &ArrayLiteralItem)

Semantic action for non-terminal ‘ArrayLiteralItem’

Source§

fn if_expression(&mut self, arg: &IfExpression)

Semantic action for non-terminal ‘IfExpression’

Source§

fn case_expression(&mut self, arg: &CaseExpression)

Semantic action for non-terminal ‘CaseExpression’

Source§

fn switch_expression(&mut self, arg: &SwitchExpression)

Semantic action for non-terminal ‘SwitchExpression’

Source§

fn type_expression(&mut self, arg: &TypeExpression)

Semantic action for non-terminal ‘TypeExpression’

Source§

fn inside_expression(&mut self, arg: &InsideExpression)

Semantic action for non-terminal ‘InsideExpression’

Source§

fn outside_expression(&mut self, arg: &OutsideExpression)

Semantic action for non-terminal ‘OutsideExpression’

Source§

fn range_list(&mut self, arg: &RangeList)

Semantic action for non-terminal ‘RangeList’

Source§

fn select_operator(&mut self, arg: &SelectOperator)

Semantic action for non-terminal ‘SelectOperator’

Source§

fn width(&mut self, arg: &Width)

Semantic action for non-terminal ‘Width’

Source§

fn array(&mut self, arg: &Array)

Semantic action for non-terminal ‘Array’

Source§

fn factor_type(&mut self, arg: &FactorType)

Semantic action for non-terminal ‘FactorType’

Source§

fn scalar_type(&mut self, arg: &ScalarType)

Semantic action for non-terminal ‘ScalarType’

Source§

fn array_type(&mut self, arg: &ArrayType)

Semantic action for non-terminal ‘ArrayType’

Source§

fn let_statement(&mut self, arg: &LetStatement)

Semantic action for non-terminal ‘LetStatement’

Source§

fn identifier_statement(&mut self, arg: &IdentifierStatement)

Semantic action for non-terminal ‘IdentifierStatement’

Source§

fn assignment(&mut self, arg: &Assignment)

Semantic action for non-terminal ‘Assignment’

Source§

fn statement_block(&mut self, arg: &StatementBlock)

Semantic action for non-terminal ‘StatementBlock’

Source§

fn statement_block_group(&mut self, arg: &StatementBlockGroup)

Semantic action for non-terminal ‘StatementBlockGroup’

Source§

fn if_statement(&mut self, arg: &IfStatement)

Semantic action for non-terminal ‘IfStatement’

Source§

fn if_reset_statement(&mut self, arg: &IfResetStatement)

Semantic action for non-terminal ‘IfResetStatement’

Source§

fn return_statement(&mut self, arg: &ReturnStatement)

Semantic action for non-terminal ‘ReturnStatement’

Source§

fn for_statement(&mut self, arg: &ForStatement)

Semantic action for non-terminal ‘ForStatement’

Source§

fn case_statement(&mut self, arg: &CaseStatement)

Semantic action for non-terminal ‘CaseStatement’

Source§

fn case_item(&mut self, arg: &CaseItem)

Semantic action for non-terminal ‘CaseItem’

Source§

fn case_condition(&mut self, arg: &CaseCondition)

Semantic action for non-terminal ‘CaseCondition’

Source§

fn switch_statement(&mut self, arg: &SwitchStatement)

Semantic action for non-terminal ‘SwitchStatement’

Source§

fn switch_item(&mut self, arg: &SwitchItem)

Semantic action for non-terminal ‘SwitchItem’

Source§

fn switch_condition(&mut self, arg: &SwitchCondition)

Semantic action for non-terminal ‘SwitchCondition’

Source§

fn attribute(&mut self, arg: &Attribute)

Semantic action for non-terminal ‘Attribute’

Source§

fn attribute_list(&mut self, arg: &AttributeList)

Semantic action for non-terminal ‘AttributeList’

Source§

fn let_declaration(&mut self, arg: &LetDeclaration)

Semantic action for non-terminal ‘LetDeclaration’

Source§

fn var_declaration(&mut self, arg: &VarDeclaration)

Semantic action for non-terminal ‘VarDeclaration’

Source§

fn const_declaration(&mut self, arg: &ConstDeclaration)

Semantic action for non-terminal ‘ConstDeclaration’

Source§

fn type_def_declaration(&mut self, arg: &TypeDefDeclaration)

Semantic action for non-terminal ‘TypeDefDeclaration’

Source§

fn always_ff_declaration(&mut self, arg: &AlwaysFfDeclaration)

Semantic action for non-terminal ‘AlwaysFfDeclaration’

Source§

fn always_ff_event_list(&mut self, arg: &AlwaysFfEventList)

Semantic action for non-terminal ‘AlwaysFfEventList’

Source§

fn always_ff_clock(&mut self, arg: &AlwaysFfClock)

Semantic action for non-terminal ‘AlwaysFfClock’

Source§

fn always_ff_reset(&mut self, arg: &AlwaysFfReset)

Semantic action for non-terminal ‘AlwaysFfReset’

Source§

fn always_comb_declaration(&mut self, arg: &AlwaysCombDeclaration)

Semantic action for non-terminal ‘AlwaysCombDeclaration’

Source§

fn assign_declaration(&mut self, arg: &AssignDeclaration)

Semantic action for non-terminal ‘AssignDeclaration’

Source§

fn assign_destination(&mut self, arg: &AssignDestination)

Semantic action for non-terminal ‘AssignDestination’

Source§

fn assign_concatenation_list(&mut self, arg: &AssignConcatenationList)

Semantic action for non-terminal ‘AssignConcatenationList’

Source§

fn modport_declaration(&mut self, arg: &ModportDeclaration)

Semantic action for non-terminal ‘ModportDeclaration’

Source§

fn modport_list(&mut self, arg: &ModportList)

Semantic action for non-terminal ‘ModportList’

Source§

fn modport_group(&mut self, arg: &ModportGroup)

Semantic action for non-terminal ‘ModportGroup’

Source§

fn modport_item(&mut self, arg: &ModportItem)

Semantic action for non-terminal ‘ModportItem’

Source§

fn enum_declaration(&mut self, arg: &EnumDeclaration)

Semantic action for non-terminal ‘EnumDeclaration’

Source§

fn enum_list(&mut self, arg: &EnumList)

Semantic action for non-terminal ‘EnumList’

Source§

fn enum_group(&mut self, arg: &EnumGroup)

Semantic action for non-terminal ‘EnumGroup’

Source§

fn enum_item(&mut self, arg: &EnumItem)

Semantic action for non-terminal ‘EnumItem’

Source§

fn struct_union_declaration(&mut self, arg: &StructUnionDeclaration)

Semantic action for non-terminal ‘StructUnionDeclaration’

Source§

fn struct_union_list(&mut self, arg: &StructUnionList)

Semantic action for non-terminal ‘StructUnionList’

Source§

fn struct_union_group(&mut self, arg: &StructUnionGroup)

Semantic action for non-terminal ‘StructUnionGroup’

Source§

fn struct_union_item(&mut self, arg: &StructUnionItem)

Semantic action for non-terminal ‘StructUnionItem’

Source§

fn initial_declaration(&mut self, arg: &InitialDeclaration)

Semantic action for non-terminal ‘InitialDeclaration’

Source§

fn final_declaration(&mut self, arg: &FinalDeclaration)

Semantic action for non-terminal ‘FinalDeclaration’

Source§

fn inst_declaration(&mut self, arg: &InstDeclaration)

Semantic action for non-terminal ‘InstDeclaration’

Source§

fn inst_parameter(&mut self, arg: &InstParameter)

Semantic action for non-terminal ‘InstParameter’

Source§

fn inst_parameter_list(&mut self, arg: &InstParameterList)

Semantic action for non-terminal ‘InstParameterList’

Source§

fn inst_parameter_group(&mut self, arg: &InstParameterGroup)

Semantic action for non-terminal ‘InstParameterGroup’

Source§

fn inst_parameter_item(&mut self, arg: &InstParameterItem)

Semantic action for non-terminal ‘InstParameterItem’

Source§

fn inst_port_list(&mut self, arg: &InstPortList)

Semantic action for non-terminal ‘InstPortList’

Source§

fn inst_port_group(&mut self, arg: &InstPortGroup)

Semantic action for non-terminal ‘InstPortGroup’

Source§

fn inst_port_item(&mut self, arg: &InstPortItem)

Semantic action for non-terminal ‘InstPortItem’

Source§

fn with_parameter(&mut self, arg: &WithParameter)

Semantic action for non-terminal ‘WithParameter’

Source§

fn with_parameter_list(&mut self, arg: &WithParameterList)

Semantic action for non-terminal ‘WithParameterList’

Source§

fn with_parameter_group(&mut self, arg: &WithParameterGroup)

Semantic action for non-terminal ‘WithParameterGroup’

Source§

fn generic_bound(&mut self, arg: &GenericBound)

Semantic action for non-terminal ‘GenericBound’

Source§

fn with_parameter_item(&mut self, arg: &WithParameterItem)

Semantic action for non-terminal ‘WithParameterItem’

Source§

fn with_generic_parameter_list(&mut self, arg: &WithGenericParameterList)

Semantic action for non-terminal ‘WithGenericParameterList’

Source§

fn with_generic_parameter_item(&mut self, arg: &WithGenericParameterItem)

Semantic action for non-terminal ‘WithGenericParameterItem’

Source§

fn with_generic_argument_list(&mut self, arg: &WithGenericArgumentList)

Semantic action for non-terminal ‘WithGenericArgumentList’

Source§

fn port_declaration(&mut self, arg: &PortDeclaration)

Semantic action for non-terminal ‘PortDeclaration’

Source§

fn port_declaration_list(&mut self, arg: &PortDeclarationList)

Semantic action for non-terminal ‘PortDeclarationList’

Source§

fn port_declaration_group(&mut self, arg: &PortDeclarationGroup)

Semantic action for non-terminal ‘PortDeclarationGroup’

Source§

fn port_declaration_item(&mut self, arg: &PortDeclarationItem)

Semantic action for non-terminal ‘PortDeclarationItem’

Source§

fn direction(&mut self, arg: &Direction)

Semantic action for non-terminal ‘Direction’

Source§

fn function_declaration(&mut self, arg: &FunctionDeclaration)

Semantic action for non-terminal ‘FunctionDeclaration’

Source§

fn import_declaration(&mut self, arg: &ImportDeclaration)

Semantic action for non-terminal ‘ImportDeclaration’

Source§

fn export_declaration(&mut self, arg: &ExportDeclaration)

Semantic action for non-terminal ‘ExportDeclaration’

Source§

fn unsafe_block(&mut self, arg: &UnsafeBlock)

Semantic action for non-terminal ‘UnsafeBlock’

Source§

fn module_declaration(&mut self, arg: &ModuleDeclaration)

Semantic action for non-terminal ‘ModuleDeclaration’

Source§

fn module_group(&mut self, arg: &ModuleGroup)

Semantic action for non-terminal ‘ModuleGroup’

Source§

fn interface_declaration(&mut self, arg: &InterfaceDeclaration)

Semantic action for non-terminal ‘InterfaceDeclaration’

Source§

fn interface_group(&mut self, arg: &InterfaceGroup)

Semantic action for non-terminal ‘InterfaceGroup’

Source§

fn generate_if_declaration(&mut self, arg: &GenerateIfDeclaration)

Semantic action for non-terminal ‘GenerateIfDeclaration’

Source§

fn generate_for_declaration(&mut self, arg: &GenerateForDeclaration)

Semantic action for non-terminal ‘GenerateForDeclaration’

Source§

fn generate_named_block(&mut self, arg: &GenerateNamedBlock)

Semantic action for non-terminal ‘GenerateNamedBlock’

Source§

fn generate_optional_named_block(&mut self, arg: &GenerateOptionalNamedBlock)

Semantic action for non-terminal ‘GenerateOptionalNamedBlock’

Source§

fn generate_group(&mut self, arg: &GenerateGroup)

Semantic action for non-terminal ‘GenerateGroup’

Source§

fn package_declaration(&mut self, arg: &PackageDeclaration)

Semantic action for non-terminal ‘PackageDeclaration’

Source§

fn package_group(&mut self, arg: &PackageGroup)

Semantic action for non-terminal ‘PackageGroup’

Source§

fn proto_module_declaration(&mut self, arg: &ProtoModuleDeclaration)

Semantic action for non-terminal ‘ProtoModuleDeclaration’

Source§

fn embed_declaration(&mut self, arg: &EmbedDeclaration)

Semantic action for non-terminal ‘EmbedDeclaration’

Source§

fn include_declaration(&mut self, arg: &IncludeDeclaration)

Semantic action for non-terminal ‘IncludeDeclaration’

Source§

fn description_group(&mut self, arg: &DescriptionGroup)

Semantic action for non-terminal ‘DescriptionGroup’

Source§

fn description_item(&mut self, arg: &DescriptionItem)

Semantic action for non-terminal ‘DescriptionItem’

Source§

fn veryl(&mut self, arg: &Veryl)

Semantic action for non-terminal ‘Veryl’

Source§

fn start(&mut self, arg: &Start)

Semantic action for non-terminal ‘Start’
Source§

fn string_literal(&mut self, arg: &StringLiteral)

Semantic action for non-terminal ‘StringLiteral’
Source§

fn exponent(&mut self, arg: &Exponent)

Semantic action for non-terminal ‘Exponent’
Source§

fn fixed_point(&mut self, arg: &FixedPoint)

Semantic action for non-terminal ‘FixedPoint’
Source§

fn based(&mut self, arg: &Based)

Semantic action for non-terminal ‘Based’
Source§

fn base_less(&mut self, arg: &BaseLess)

Semantic action for non-terminal ‘BaseLess’
Source§

fn all_bit(&mut self, arg: &AllBit)

Semantic action for non-terminal ‘AllBit’
Source§

fn assignment_operator(&mut self, arg: &AssignmentOperator)

Semantic action for non-terminal ‘AssignmentOperator’
Source§

fn operator01(&mut self, arg: &Operator01)

Semantic action for non-terminal ‘Operator01’
Source§

fn operator02(&mut self, arg: &Operator02)

Semantic action for non-terminal ‘Operator02’
Source§

fn operator03(&mut self, arg: &Operator03)

Semantic action for non-terminal ‘Operator03’
Source§

fn operator04(&mut self, arg: &Operator04)

Semantic action for non-terminal ‘Operator04’
Source§

fn operator05(&mut self, arg: &Operator05)

Semantic action for non-terminal ‘Operator05’
Source§

fn operator06(&mut self, arg: &Operator06)

Semantic action for non-terminal ‘Operator06’
Source§

fn operator07(&mut self, arg: &Operator07)

Semantic action for non-terminal ‘Operator07’
Source§

fn operator08(&mut self, arg: &Operator08)

Semantic action for non-terminal ‘Operator08’
Source§

fn operator09(&mut self, arg: &Operator09)

Semantic action for non-terminal ‘Operator09’
Source§

fn operator10(&mut self, arg: &Operator10)

Semantic action for non-terminal ‘Operator10’
Source§

fn operator11(&mut self, arg: &Operator11)

Semantic action for non-terminal ‘Operator11’
Source§

fn unary_operator(&mut self, arg: &UnaryOperator)

Semantic action for non-terminal ‘UnaryOperator’
Source§

fn back_quote(&mut self, arg: &BackQuote)

Semantic action for non-terminal ‘BackQuote’
Source§

fn colon(&mut self, arg: &Colon)

Semantic action for non-terminal ‘Colon’
Source§

fn colon_colon(&mut self, arg: &ColonColon)

Semantic action for non-terminal ‘ColonColon’
Source§

fn colon_colon_l_angle(&mut self, arg: &ColonColonLAngle)

Semantic action for non-terminal ‘ColonColonLAngle’
Source§

fn comma(&mut self, arg: &Comma)

Semantic action for non-terminal ‘Comma’
Source§

fn dot_dot(&mut self, arg: &DotDot)

Semantic action for non-terminal ‘DotDot’
Source§

fn dot_dot_equ(&mut self, arg: &DotDotEqu)

Semantic action for non-terminal ‘DotDotEqu’
Source§

fn dot(&mut self, arg: &Dot)

Semantic action for non-terminal ‘Dot’
Source§

fn equ(&mut self, arg: &Equ)

Semantic action for non-terminal ‘Equ’
Source§

fn hash(&mut self, arg: &Hash)

Semantic action for non-terminal ‘Hash’
Source§

fn quote_l_brace(&mut self, arg: &QuoteLBrace)

Semantic action for non-terminal ‘QuoteLBrace’
Source§

fn l_angle(&mut self, arg: &LAngle)

Semantic action for non-terminal ‘LAngle’
Source§

fn l_brace(&mut self, arg: &LBrace)

Semantic action for non-terminal ‘LBrace’
Source§

fn l_bracket(&mut self, arg: &LBracket)

Semantic action for non-terminal ‘LBracket’
Source§

fn l_paren(&mut self, arg: &LParen)

Semantic action for non-terminal ‘LParen’
Source§

fn minus_colon(&mut self, arg: &MinusColon)

Semantic action for non-terminal ‘MinusColon’
Source§

fn minus_g_t(&mut self, arg: &MinusGT)

Semantic action for non-terminal ‘MinusGT’
Source§

fn plus_colon(&mut self, arg: &PlusColon)

Semantic action for non-terminal ‘PlusColon’
Source§

fn r_angle(&mut self, arg: &RAngle)

Semantic action for non-terminal ‘RAngle’
Source§

fn r_brace(&mut self, arg: &RBrace)

Semantic action for non-terminal ‘RBrace’
Source§

fn r_bracket(&mut self, arg: &RBracket)

Semantic action for non-terminal ‘RBracket’
Source§

fn r_paren(&mut self, arg: &RParen)

Semantic action for non-terminal ‘RParen’
Source§

fn semicolon(&mut self, arg: &Semicolon)

Semantic action for non-terminal ‘Semicolon’
Source§

fn star(&mut self, arg: &Star)

Semantic action for non-terminal ‘Star’
Source§

fn always_comb(&mut self, arg: &AlwaysComb)

Semantic action for non-terminal ‘AlwaysComb’
Source§

fn always_ff(&mut self, arg: &AlwaysFf)

Semantic action for non-terminal ‘AlwaysFf’
Source§

fn as(&mut self, arg: &As)

Semantic action for non-terminal ‘As’
Source§

fn assign(&mut self, arg: &Assign)

Semantic action for non-terminal ‘Assign’
Source§

fn bit(&mut self, arg: &Bit)

Semantic action for non-terminal ‘Bit’
Source§

fn case(&mut self, arg: &Case)

Semantic action for non-terminal ‘Case’
Source§

fn clock(&mut self, arg: &Clock)

Semantic action for non-terminal ‘Clock’
Source§

fn clock_posedge(&mut self, arg: &ClockPosedge)

Semantic action for non-terminal ‘ClockPosedge’
Source§

fn clock_negedge(&mut self, arg: &ClockNegedge)

Semantic action for non-terminal ‘ClockNegedge’
Source§

fn const(&mut self, arg: &Const)

Semantic action for non-terminal ‘Const’
Source§

fn converse(&mut self, arg: &Converse)

Semantic action for non-terminal ‘Converse’
Source§

fn defaul(&mut self, arg: &Defaul)

Semantic action for non-terminal ‘Defaul’
Source§

fn else(&mut self, arg: &Else)

Semantic action for non-terminal ‘Else’
Source§

fn embed(&mut self, arg: &Embed)

Semantic action for non-terminal ‘Embed’
Source§

fn enum(&mut self, arg: &Enum)

Semantic action for non-terminal ‘Enum’
Source§

fn export(&mut self, arg: &Export)

Semantic action for non-terminal ‘Export’
Source§

fn f32(&mut self, arg: &F32)

Semantic action for non-terminal ‘F32’
Source§

fn f64(&mut self, arg: &F64)

Semantic action for non-terminal ‘F64’
Source§

fn final(&mut self, arg: &Final)

Semantic action for non-terminal ‘Final’
Source§

fn for(&mut self, arg: &For)

Semantic action for non-terminal ‘For’
Source§

fn function(&mut self, arg: &Function)

Semantic action for non-terminal ‘Function’
Source§

fn i32(&mut self, arg: &I32)

Semantic action for non-terminal ‘I32’
Source§

fn i64(&mut self, arg: &I64)

Semantic action for non-terminal ‘I64’
Source§

fn if(&mut self, arg: &If)

Semantic action for non-terminal ‘If’
Source§

fn if_reset(&mut self, arg: &IfReset)

Semantic action for non-terminal ‘IfReset’
Source§

fn import(&mut self, arg: &Import)

Semantic action for non-terminal ‘Import’
Source§

fn in(&mut self, arg: &In)

Semantic action for non-terminal ‘In’
Source§

fn include(&mut self, arg: &Include)

Semantic action for non-terminal ‘Include’
Source§

fn initial(&mut self, arg: &Initial)

Semantic action for non-terminal ‘Initial’
Source§

fn inout(&mut self, arg: &Inout)

Semantic action for non-terminal ‘Inout’
Source§

fn input(&mut self, arg: &Input)

Semantic action for non-terminal ‘Input’
Source§

fn inside(&mut self, arg: &Inside)

Semantic action for non-terminal ‘Inside’
Source§

fn inst(&mut self, arg: &Inst)

Semantic action for non-terminal ‘Inst’
Source§

fn interface(&mut self, arg: &Interface)

Semantic action for non-terminal ‘Interface’
Source§

fn let(&mut self, arg: &Let)

Semantic action for non-terminal ‘Let’
Source§

fn logic(&mut self, arg: &Logic)

Semantic action for non-terminal ‘Logic’
Source§

fn lsb(&mut self, arg: &Lsb)

Semantic action for non-terminal ‘Lsb’
Source§

fn modport(&mut self, arg: &Modport)

Semantic action for non-terminal ‘Modport’
Source§

fn module(&mut self, arg: &Module)

Semantic action for non-terminal ‘Module’
Source§

fn msb(&mut self, arg: &Msb)

Semantic action for non-terminal ‘Msb’
Source§

fn output(&mut self, arg: &Output)

Semantic action for non-terminal ‘Output’
Source§

fn outside(&mut self, arg: &Outside)

Semantic action for non-terminal ‘Outside’
Source§

fn package(&mut self, arg: &Package)

Semantic action for non-terminal ‘Package’
Source§

fn param(&mut self, arg: &Param)

Semantic action for non-terminal ‘Param’
Source§

fn proto(&mut self, arg: &Proto)

Semantic action for non-terminal ‘Proto’
Source§

fn pub(&mut self, arg: &Pub)

Semantic action for non-terminal ‘Pub’
Source§

fn ref(&mut self, arg: &Ref)

Semantic action for non-terminal ‘Ref’
Source§

fn repeat(&mut self, arg: &Repeat)

Semantic action for non-terminal ‘Repeat’
Source§

fn reset(&mut self, arg: &Reset)

Semantic action for non-terminal ‘Reset’
Source§

fn reset_async_high(&mut self, arg: &ResetAsyncHigh)

Semantic action for non-terminal ‘ResetAsyncHigh’
Source§

fn reset_async_low(&mut self, arg: &ResetAsyncLow)

Semantic action for non-terminal ‘ResetAsyncLow’
Source§

fn reset_sync_high(&mut self, arg: &ResetSyncHigh)

Semantic action for non-terminal ‘ResetSyncHigh’
Source§

fn reset_sync_low(&mut self, arg: &ResetSyncLow)

Semantic action for non-terminal ‘ResetSyncLow’
Source§

fn return(&mut self, arg: &Return)

Semantic action for non-terminal ‘Return’
Source§

fn break(&mut self, arg: &Break)

Semantic action for non-terminal ‘Break’
Source§

fn signed(&mut self, arg: &Signed)

Semantic action for non-terminal ‘Signed’
Source§

fn step(&mut self, arg: &Step)

Semantic action for non-terminal ‘Step’
Source§

fn strin(&mut self, arg: &Strin)

Semantic action for non-terminal ‘Strin’
Source§

fn struct(&mut self, arg: &Struct)

Semantic action for non-terminal ‘Struct’
Source§

fn switch(&mut self, arg: &Switch)

Semantic action for non-terminal ‘Switch’
Source§

fn union(&mut self, arg: &Union)

Semantic action for non-terminal ‘Union’
Source§

fn unsafe(&mut self, arg: &Unsafe)

Semantic action for non-terminal ‘Unsafe’
Source§

fn tri(&mut self, arg: &Tri)

Semantic action for non-terminal ‘Tri’
Source§

fn type(&mut self, arg: &Type)

Semantic action for non-terminal ‘Type’
Source§

fn u32(&mut self, arg: &U32)

Semantic action for non-terminal ‘U32’
Source§

fn u64(&mut self, arg: &U64)

Semantic action for non-terminal ‘U64’
Source§

fn var(&mut self, arg: &Var)

Semantic action for non-terminal ‘Var’
Source§

fn dollar_identifier(&mut self, arg: &DollarIdentifier)

Semantic action for non-terminal ‘DollarIdentifier’
Source§

fn integral_number(&mut self, arg: &IntegralNumber)

Semantic action for non-terminal ‘IntegralNumber’
Source§

fn real_number(&mut self, arg: &RealNumber)

Semantic action for non-terminal ‘RealNumber’
Source§

fn hierarchical_identifier(&mut self, arg: &HierarchicalIdentifier)

Semantic action for non-terminal ‘HierarchicalIdentifier’
Source§

fn scoped_identifier(&mut self, arg: &ScopedIdentifier)

Semantic action for non-terminal ‘ScopedIdentifier’
Source§

fn expression_identifier(&mut self, arg: &ExpressionIdentifier)

Semantic action for non-terminal ‘ExpressionIdentifier’
Source§

fn expression12(&mut self, arg: &Expression12)

Semantic action for non-terminal ‘Expression12’
Source§

fn identifier_factor(&mut self, arg: &IdentifierFactor)

Semantic action for non-terminal ‘IdentifierFactor’
Source§

fn function_call(&mut self, arg: &FunctionCall)

Semantic action for non-terminal ‘FunctionCall’
Source§

fn argument_item(&mut self, arg: &ArgumentItem)

Semantic action for non-terminal ‘ArgumentItem’
Source§

fn range_item(&mut self, arg: &RangeItem)

Semantic action for non-terminal ‘RangeItem’
Source§

fn select(&mut self, arg: &Select)

Semantic action for non-terminal ‘Select’
Source§

fn range(&mut self, arg: &Range)

Semantic action for non-terminal ‘Range’
Source§

fn range_operator(&mut self, arg: &RangeOperator)

Semantic action for non-terminal ‘RangeOperator’
Source§

fn fixed_type(&mut self, arg: &FixedType)

Semantic action for non-terminal ‘FixedType’
Source§

fn variable_type(&mut self, arg: &VariableType)

Semantic action for non-terminal ‘VariableType’
Source§

fn user_defined_type(&mut self, arg: &UserDefinedType)

Semantic action for non-terminal ‘UserDefinedType’
Source§

fn type_modifier(&mut self, arg: &TypeModifier)

Semantic action for non-terminal ‘TypeModifier’
Source§

fn casting_type(&mut self, arg: &CastingType)

Semantic action for non-terminal ‘CastingType’
Source§

fn clock_domain(&mut self, arg: &ClockDomain)

Semantic action for non-terminal ‘ClockDomain’
Source§

fn statement_block_item(&mut self, arg: &StatementBlockItem)

Semantic action for non-terminal ‘StatementOrVarDeclaration’
Source§

fn statement(&mut self, arg: &Statement)

Semantic action for non-terminal ‘Statement’
Source§

fn break_statement(&mut self, arg: &BreakStatement)

Semantic action for non-terminal ‘BreakStatement’
Source§

fn attribute_item(&mut self, arg: &AttributeItem)

Semantic action for non-terminal ‘AttributeItem’
Source§

fn assign_concatenation_item(&mut self, arg: &AssignConcatenationItem)

Semantic action for non-terminal ‘AssignConcatenationItem’
Source§

fn modport_default(&mut self, arg: &ModportDefault)

Semantic action for non-terminal ‘ModportDefault’
Source§

fn struct_union(&mut self, arg: &StructUnion)

Source§

fn with_generic_parameter(&mut self, arg: &WithGenericParameter)

Semantic action for non-terminal ‘WithGenericParameter’
Source§

fn with_generic_argument(&mut self, arg: &WithGenericArgument)

Semantic action for non-terminal ‘WithGenericArgument’
Source§

fn with_generic_argument_item(&mut self, arg: &WithGenericArgumentItem)

Semantic action for non-terminal ‘WithGenericArgumentItem’
Source§

fn port_type_concrete(&mut self, arg: &PortTypeConcrete)

Semantic action for non-terminal ‘PortTypeConcrete’
Source§

fn port_default_value(&mut self, arg: &PortDefaultValue)

Semantic action for non-terminal ‘PortDefaultValue’
Source§

fn port_type_abstract(&mut self, arg: &PortTypeAbstract)

Semantic action for non-terminal ‘PortTypeAbstract’
Source§

fn module_item(&mut self, arg: &ModuleItem)

Semantic action for non-terminal ‘ModuleItem’
Source§

fn interface_item(&mut self, arg: &InterfaceItem)

Semantic action for non-terminal ‘InterfaceItem’
Source§

fn generate_block_declaration(&mut self, arg: &GenerateBlockDeclaration)

Semantic action for non-terminal ‘GenerateBlockDeclaration’
Source§

fn generate_item(&mut self, arg: &GenerateItem)

Semantic action for non-terminal ‘GenerateItem’
Source§

fn package_item(&mut self, arg: &PackageItem)

Semantic action for non-terminal ‘PackageItem’
Source§

fn embed_content(&mut self, arg: &EmbedContent)

Semantic action for non-terminal ‘EmbedContent’
Source§

fn public_description_item(&mut self, arg: &PublicDescriptionItem)

Semantic action for non-terminal ‘PublicDescriptionItem’
Source§

fn get_handlers(&mut self) -> Option<Vec<&mut dyn Handler>>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<D> OwoColorize for D

Source§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where C: Color,

Set the foreground color generically Read more
Source§

fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>
where C: Color,

Set the background color generically. Read more
Source§

fn black(&self) -> FgColorDisplay<'_, Black, Self>

Change the foreground color to black
Source§

fn on_black(&self) -> BgColorDisplay<'_, Black, Self>

Change the background color to black
Source§

fn red(&self) -> FgColorDisplay<'_, Red, Self>

Change the foreground color to red
Source§

fn on_red(&self) -> BgColorDisplay<'_, Red, Self>

Change the background color to red
Source§

fn green(&self) -> FgColorDisplay<'_, Green, Self>

Change the foreground color to green
Source§

fn on_green(&self) -> BgColorDisplay<'_, Green, Self>

Change the background color to green
Source§

fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>

Change the foreground color to yellow
Source§

fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>

Change the background color to yellow
Source§

fn blue(&self) -> FgColorDisplay<'_, Blue, Self>

Change the foreground color to blue
Source§

fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>

Change the background color to blue
Source§

fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>

Change the foreground color to magenta
Source§

fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>

Change the background color to magenta
Source§

fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>

Change the foreground color to purple
Source§

fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>

Change the background color to purple
Source§

fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>

Change the foreground color to cyan
Source§

fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>

Change the background color to cyan
Source§

fn white(&self) -> FgColorDisplay<'_, White, Self>

Change the foreground color to white
Source§

fn on_white(&self) -> BgColorDisplay<'_, White, Self>

Change the background color to white
Source§

fn default_color(&self) -> FgColorDisplay<'_, Default, Self>

Change the foreground color to the terminal default
Source§

fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>

Change the background color to the terminal default
Source§

fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>

Change the foreground color to bright black
Source§

fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>

Change the background color to bright black
Source§

fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>

Change the foreground color to bright red
Source§

fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>

Change the background color to bright red
Source§

fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>

Change the foreground color to bright green
Source§

fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>

Change the background color to bright green
Source§

fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>

Change the foreground color to bright yellow
Source§

fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>

Change the background color to bright yellow
Source§

fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>

Change the foreground color to bright blue
Source§

fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>

Change the background color to bright blue
Source§

fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>

Change the foreground color to bright magenta
Source§

fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>

Change the background color to bright magenta
Source§

fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>

Change the foreground color to bright purple
Source§

fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>

Change the background color to bright purple
Source§

fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>

Change the foreground color to bright cyan
Source§

fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>

Change the background color to bright cyan
Source§

fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>

Change the foreground color to bright white
Source§

fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>

Change the background color to bright white
Source§

fn bold(&self) -> BoldDisplay<'_, Self>

Make the text bold
Source§

fn dimmed(&self) -> DimDisplay<'_, Self>

Make the text dim
Source§

fn italic(&self) -> ItalicDisplay<'_, Self>

Make the text italicized
Source§

fn underline(&self) -> UnderlineDisplay<'_, Self>

Make the text underlined
Make the text blink
Make the text blink (but fast!)
Source§

fn reversed(&self) -> ReversedDisplay<'_, Self>

Swap the foreground and background colors
Source§

fn hidden(&self) -> HiddenDisplay<'_, Self>

Hide the text
Source§

fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>

Cross out the text
Source§

fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>
where Color: DynColor,

Set the foreground color at runtime. Only use if you do not know which color will be used at compile-time. If the color is constant, use either OwoColorize::fg or a color-specific method, such as OwoColorize::green, Read more
Source§

fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>
where Color: DynColor,

Set the background color at runtime. Only use if you do not know what color to use at compile-time. If the color is constant, use either OwoColorize::bg or a color-specific method, such as OwoColorize::on_yellow, Read more
Source§

fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>

Set the foreground color to a specific RGB value.
Source§

fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>

Set the background color to a specific RGB value.
Source§

fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>

Sets the foreground color to an RGB value.
Source§

fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>

Sets the background color to an RGB value.
Source§

fn style(&self, style: Style) -> Styled<&Self>

Apply a runtime-determined style
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T