Enum moore_svlog::ast::AllNode[][src]

pub enum AllNode<'a> {
Show 52 variants Root(&'a Node<'a, RootData<'a>>), SourceFile(&'a Node<'a, SourceFileData<'a>>), Item(&'a Node<'a, ItemData<'a>>), Module(&'a Node<'a, ModuleData<'a>>), Interface(&'a Node<'a, InterfaceData<'a>>), Package(&'a Node<'a, PackageData<'a>>), Type(&'a Node<'a, TypeData<'a>>), TypeKind(&'a Node<'a, TypeKindData<'a>>), Enum(&'a Node<'a, EnumData<'a>>), EnumName(&'a Node<'a, EnumNameData<'a>>), Struct(&'a Node<'a, StructData<'a>>), StructMember(&'a Node<'a, StructMemberData<'a>>), Port(&'a Node<'a, PortData<'a>>), PortDecl(&'a Node<'a, PortDeclData<'a>>), Procedure(&'a Node<'a, ProcedureData<'a>>), Stmt(&'a Node<'a, StmtData<'a>>), VarDecl(&'a Node<'a, VarDeclData<'a>>), VarDeclName(&'a Node<'a, VarDeclNameData<'a>>), GenvarDecl(&'a Node<'a, GenvarDeclData<'a>>), ForeachIndex(&'a Node<'a, ForeachIndexData>), Expr(&'a Node<'a, ExprData<'a>>), ClassDecl(&'a Node<'a, ClassDeclData<'a>>), Typedef(&'a Node<'a, TypedefData<'a>>), SubroutineDecl(&'a Node<'a, SubroutineDeclData<'a>>), SubroutinePrototype(&'a Node<'a, SubroutinePrototypeData<'a>>), SubroutinePort(&'a Node<'a, SubroutinePortData<'a>>), NetDecl(&'a Node<'a, NetDeclData<'a>>), PatternField(&'a Node<'a, PatternFieldData<'a>>), ImportDecl(&'a Node<'a, ImportDeclData<'a>>), ImportItem(&'a Node<'a, ImportItemData>), Inst(&'a Node<'a, InstData<'a>>), InstName(&'a Node<'a, InstNameData<'a>>), Modport(&'a Node<'a, ModportData<'a>>), ModportName(&'a Node<'a, ModportNameData<'a>>), ModportPort(&'a Node<'a, ModportPortData<'a>>), ModportSimplePort(&'a Node<'a, ModportSimplePortData<'a>>), ParamDecl(&'a Node<'a, ParamDeclData<'a>>), ParamTypeDecl(&'a Node<'a, ParamTypeDeclData<'a>>), ParamValueDecl(&'a Node<'a, ParamValueDeclData<'a>>), ContAssign(&'a Node<'a, ContAssignData<'a>>), GenerateFor(&'a Node<'a, GenerateForData<'a>>), GenerateIf(&'a Node<'a, GenerateIfData<'a>>), GenerateCase(&'a Node<'a, GenerateCaseData>), GenerateBlock(&'a Node<'a, GenerateBlockData<'a>>), PortConn(&'a Node<'a, PortConnData<'a>>), DpiDecl(&'a Node<'a, DpiDeclData<'a>>), DataType(&'a Node<'a, DataTypeData<'a>>), ImplicitDataType(&'a Node<'a, ImplicitDataTypeData<'a>>), VarDim(&'a Node<'a, VarDimData<'a>>), PackedDim(&'a Node<'a, PackedDimData<'a>>), UnpackedDim(&'a Node<'a, UnpackedDimData<'a>>), PathSegment(&'a Node<'a, PathSegmentData<'a>>),
}
Expand description

An exhaustive list of all nodes.

Variants

Root(&'a Node<'a, RootData<'a>>)

Tuple Fields of Root

0: &'a Node<'a, RootData<'a>>
SourceFile(&'a Node<'a, SourceFileData<'a>>)

Tuple Fields of SourceFile

0: &'a Node<'a, SourceFileData<'a>>
Item(&'a Node<'a, ItemData<'a>>)

Tuple Fields of Item

0: &'a Node<'a, ItemData<'a>>
Module(&'a Node<'a, ModuleData<'a>>)

Tuple Fields of Module

0: &'a Node<'a, ModuleData<'a>>
Interface(&'a Node<'a, InterfaceData<'a>>)

Tuple Fields of Interface

0: &'a Node<'a, InterfaceData<'a>>
Package(&'a Node<'a, PackageData<'a>>)

Tuple Fields of Package

0: &'a Node<'a, PackageData<'a>>
Type(&'a Node<'a, TypeData<'a>>)

Tuple Fields of Type

0: &'a Node<'a, TypeData<'a>>
TypeKind(&'a Node<'a, TypeKindData<'a>>)

Tuple Fields of TypeKind

0: &'a Node<'a, TypeKindData<'a>>
Enum(&'a Node<'a, EnumData<'a>>)

Tuple Fields of Enum

0: &'a Node<'a, EnumData<'a>>
EnumName(&'a Node<'a, EnumNameData<'a>>)

Tuple Fields of EnumName

0: &'a Node<'a, EnumNameData<'a>>
Struct(&'a Node<'a, StructData<'a>>)

Tuple Fields of Struct

0: &'a Node<'a, StructData<'a>>
StructMember(&'a Node<'a, StructMemberData<'a>>)

Tuple Fields of StructMember

0: &'a Node<'a, StructMemberData<'a>>
Port(&'a Node<'a, PortData<'a>>)

Tuple Fields of Port

0: &'a Node<'a, PortData<'a>>
PortDecl(&'a Node<'a, PortDeclData<'a>>)

Tuple Fields of PortDecl

0: &'a Node<'a, PortDeclData<'a>>
Procedure(&'a Node<'a, ProcedureData<'a>>)

Tuple Fields of Procedure

0: &'a Node<'a, ProcedureData<'a>>
Stmt(&'a Node<'a, StmtData<'a>>)

Tuple Fields of Stmt

0: &'a Node<'a, StmtData<'a>>
VarDecl(&'a Node<'a, VarDeclData<'a>>)

Tuple Fields of VarDecl

0: &'a Node<'a, VarDeclData<'a>>
VarDeclName(&'a Node<'a, VarDeclNameData<'a>>)

Tuple Fields of VarDeclName

0: &'a Node<'a, VarDeclNameData<'a>>
GenvarDecl(&'a Node<'a, GenvarDeclData<'a>>)

Tuple Fields of GenvarDecl

0: &'a Node<'a, GenvarDeclData<'a>>
ForeachIndex(&'a Node<'a, ForeachIndexData>)

Tuple Fields of ForeachIndex

0: &'a Node<'a, ForeachIndexData>
Expr(&'a Node<'a, ExprData<'a>>)

Tuple Fields of Expr

0: &'a Node<'a, ExprData<'a>>
ClassDecl(&'a Node<'a, ClassDeclData<'a>>)

Tuple Fields of ClassDecl

0: &'a Node<'a, ClassDeclData<'a>>
Typedef(&'a Node<'a, TypedefData<'a>>)

Tuple Fields of Typedef

0: &'a Node<'a, TypedefData<'a>>
SubroutineDecl(&'a Node<'a, SubroutineDeclData<'a>>)

Tuple Fields of SubroutineDecl

0: &'a Node<'a, SubroutineDeclData<'a>>
SubroutinePrototype(&'a Node<'a, SubroutinePrototypeData<'a>>)

Tuple Fields of SubroutinePrototype

0: &'a Node<'a, SubroutinePrototypeData<'a>>
SubroutinePort(&'a Node<'a, SubroutinePortData<'a>>)

Tuple Fields of SubroutinePort

0: &'a Node<'a, SubroutinePortData<'a>>
NetDecl(&'a Node<'a, NetDeclData<'a>>)

Tuple Fields of NetDecl

0: &'a Node<'a, NetDeclData<'a>>
PatternField(&'a Node<'a, PatternFieldData<'a>>)

Tuple Fields of PatternField

0: &'a Node<'a, PatternFieldData<'a>>
ImportDecl(&'a Node<'a, ImportDeclData<'a>>)

Tuple Fields of ImportDecl

0: &'a Node<'a, ImportDeclData<'a>>
ImportItem(&'a Node<'a, ImportItemData>)

Tuple Fields of ImportItem

0: &'a Node<'a, ImportItemData>
Inst(&'a Node<'a, InstData<'a>>)

Tuple Fields of Inst

0: &'a Node<'a, InstData<'a>>
InstName(&'a Node<'a, InstNameData<'a>>)

Tuple Fields of InstName

0: &'a Node<'a, InstNameData<'a>>
Modport(&'a Node<'a, ModportData<'a>>)

Tuple Fields of Modport

0: &'a Node<'a, ModportData<'a>>
ModportName(&'a Node<'a, ModportNameData<'a>>)

Tuple Fields of ModportName

0: &'a Node<'a, ModportNameData<'a>>
ModportPort(&'a Node<'a, ModportPortData<'a>>)

Tuple Fields of ModportPort

0: &'a Node<'a, ModportPortData<'a>>
ModportSimplePort(&'a Node<'a, ModportSimplePortData<'a>>)

Tuple Fields of ModportSimplePort

0: &'a Node<'a, ModportSimplePortData<'a>>
ParamDecl(&'a Node<'a, ParamDeclData<'a>>)

Tuple Fields of ParamDecl

0: &'a Node<'a, ParamDeclData<'a>>
ParamTypeDecl(&'a Node<'a, ParamTypeDeclData<'a>>)

Tuple Fields of ParamTypeDecl

0: &'a Node<'a, ParamTypeDeclData<'a>>
ParamValueDecl(&'a Node<'a, ParamValueDeclData<'a>>)

Tuple Fields of ParamValueDecl

0: &'a Node<'a, ParamValueDeclData<'a>>
ContAssign(&'a Node<'a, ContAssignData<'a>>)

Tuple Fields of ContAssign

0: &'a Node<'a, ContAssignData<'a>>
GenerateFor(&'a Node<'a, GenerateForData<'a>>)

Tuple Fields of GenerateFor

0: &'a Node<'a, GenerateForData<'a>>
GenerateIf(&'a Node<'a, GenerateIfData<'a>>)

Tuple Fields of GenerateIf

0: &'a Node<'a, GenerateIfData<'a>>
GenerateCase(&'a Node<'a, GenerateCaseData>)

Tuple Fields of GenerateCase

0: &'a Node<'a, GenerateCaseData>
GenerateBlock(&'a Node<'a, GenerateBlockData<'a>>)

Tuple Fields of GenerateBlock

0: &'a Node<'a, GenerateBlockData<'a>>
PortConn(&'a Node<'a, PortConnData<'a>>)

Tuple Fields of PortConn

0: &'a Node<'a, PortConnData<'a>>
DpiDecl(&'a Node<'a, DpiDeclData<'a>>)

Tuple Fields of DpiDecl

0: &'a Node<'a, DpiDeclData<'a>>
DataType(&'a Node<'a, DataTypeData<'a>>)

Tuple Fields of DataType

0: &'a Node<'a, DataTypeData<'a>>
ImplicitDataType(&'a Node<'a, ImplicitDataTypeData<'a>>)

Tuple Fields of ImplicitDataType

0: &'a Node<'a, ImplicitDataTypeData<'a>>
VarDim(&'a Node<'a, VarDimData<'a>>)

Tuple Fields of VarDim

0: &'a Node<'a, VarDimData<'a>>
PackedDim(&'a Node<'a, PackedDimData<'a>>)

Tuple Fields of PackedDim

0: &'a Node<'a, PackedDimData<'a>>
UnpackedDim(&'a Node<'a, UnpackedDimData<'a>>)

Tuple Fields of UnpackedDim

0: &'a Node<'a, UnpackedDimData<'a>>
PathSegment(&'a Node<'a, PathSegmentData<'a>>)

Tuple Fields of PathSegment

0: &'a Node<'a, PathSegmentData<'a>>

Implementations

Get the underlying Root, or None if the node is not a Root.

Get the underlying SourceFile, or None if the node is not a SourceFile.

Get the underlying Item, or None if the node is not a Item.

Get the underlying Module, or None if the node is not a Module.

Get the underlying Interface, or None if the node is not a Interface.

Get the underlying Package, or None if the node is not a Package.

Get the underlying Type, or None if the node is not a Type.

Get the underlying TypeKind, or None if the node is not a TypeKind.

Get the underlying Enum, or None if the node is not a Enum.

Get the underlying EnumName, or None if the node is not a EnumName.

Get the underlying Struct, or None if the node is not a Struct.

Get the underlying StructMember, or None if the node is not a StructMember.

Get the underlying Port, or None if the node is not a Port.

Get the underlying PortDecl, or None if the node is not a PortDecl.

Get the underlying Procedure, or None if the node is not a Procedure.

Get the underlying Stmt, or None if the node is not a Stmt.

Get the underlying VarDecl, or None if the node is not a VarDecl.

Get the underlying VarDeclName, or None if the node is not a VarDeclName.

Get the underlying GenvarDecl, or None if the node is not a GenvarDecl.

Get the underlying ForeachIndex, or None if the node is not a ForeachIndex.

Get the underlying Expr, or None if the node is not a Expr.

Get the underlying ClassDecl, or None if the node is not a ClassDecl.

Get the underlying Typedef, or None if the node is not a Typedef.

Get the underlying SubroutineDecl, or None if the node is not a SubroutineDecl.

Get the underlying SubroutinePrototype, or None if the node is not a SubroutinePrototype.

Get the underlying SubroutinePort, or None if the node is not a SubroutinePort.

Get the underlying NetDecl, or None if the node is not a NetDecl.

Get the underlying PatternField, or None if the node is not a PatternField.

Get the underlying ImportDecl, or None if the node is not a ImportDecl.

Get the underlying ImportItem, or None if the node is not a ImportItem.

Get the underlying Inst, or None if the node is not a Inst.

Get the underlying InstName, or None if the node is not a InstName.

Get the underlying Modport, or None if the node is not a Modport.

Get the underlying ModportName, or None if the node is not a ModportName.

Get the underlying ModportPort, or None if the node is not a ModportPort.

Get the underlying ModportSimplePort, or None if the node is not a ModportSimplePort.

Get the underlying ParamDecl, or None if the node is not a ParamDecl.

Get the underlying ParamTypeDecl, or None if the node is not a ParamTypeDecl.

Get the underlying ParamValueDecl, or None if the node is not a ParamValueDecl.

Get the underlying ContAssign, or None if the node is not a ContAssign.

Get the underlying GenerateFor, or None if the node is not a GenerateFor.

Get the underlying GenerateIf, or None if the node is not a GenerateIf.

Get the underlying GenerateCase, or None if the node is not a GenerateCase.

Get the underlying GenerateBlock, or None if the node is not a GenerateBlock.

Get the underlying PortConn, or None if the node is not a PortConn.

Get the underlying DpiDecl, or None if the node is not a DpiDecl.

Get the underlying DataType, or None if the node is not a DataType.

Get the underlying ImplicitDataType, or None if the node is not a ImplicitDataType.

Get the underlying VarDim, or None if the node is not a VarDim.

Get the underlying PackedDim, or None if the node is not a PackedDim.

Get the underlying UnpackedDim, or None if the node is not a UnpackedDim.

Get the underlying PathSegment, or None if the node is not a PathSegment.

Check whether this is a Root node.

Check whether this is a SourceFile node.

Check whether this is a Item node.

Check whether this is a Module node.

Check whether this is a Interface node.

Check whether this is a Package node.

Check whether this is a Type node.

Check whether this is a TypeKind node.

Check whether this is a Enum node.

Check whether this is a EnumName node.

Check whether this is a Struct node.

Check whether this is a StructMember node.

Check whether this is a Port node.

Check whether this is a PortDecl node.

Check whether this is a Procedure node.

Check whether this is a Stmt node.

Check whether this is a VarDecl node.

Check whether this is a VarDeclName node.

Check whether this is a GenvarDecl node.

Check whether this is a ForeachIndex node.

Check whether this is a Expr node.

Check whether this is a ClassDecl node.

Check whether this is a Typedef node.

Check whether this is a SubroutineDecl node.

Check whether this is a SubroutinePrototype node.

Check whether this is a SubroutinePort node.

Check whether this is a NetDecl node.

Check whether this is a PatternField node.

Check whether this is a ImportDecl node.

Check whether this is a ImportItem node.

Check whether this is a Inst node.

Check whether this is a InstName node.

Check whether this is a Modport node.

Check whether this is a ModportName node.

Check whether this is a ModportPort node.

Check whether this is a ModportSimplePort node.

Check whether this is a ParamDecl node.

Check whether this is a ParamTypeDecl node.

Check whether this is a ParamValueDecl node.

Check whether this is a ContAssign node.

Check whether this is a GenerateFor node.

Check whether this is a GenerateIf node.

Check whether this is a GenerateCase node.

Check whether this is a GenerateBlock node.

Check whether this is a PortConn node.

Check whether this is a DpiDecl node.

Check whether this is a DataType node.

Check whether this is a ImplicitDataType node.

Check whether this is a VarDim node.

Check whether this is a PackedDim node.

Check whether this is a UnpackedDim node.

Check whether this is a PathSegment node.

Get the underlying Root, or panic if the node is not a Root.

Get the underlying SourceFile, or panic if the node is not a SourceFile.

Get the underlying Item, or panic if the node is not a Item.

Get the underlying Module, or panic if the node is not a Module.

Get the underlying Interface, or panic if the node is not a Interface.

Get the underlying Package, or panic if the node is not a Package.

Get the underlying Type, or panic if the node is not a Type.

Get the underlying TypeKind, or panic if the node is not a TypeKind.

Get the underlying Enum, or panic if the node is not a Enum.

Get the underlying EnumName, or panic if the node is not a EnumName.

Get the underlying Struct, or panic if the node is not a Struct.

Get the underlying StructMember, or panic if the node is not a StructMember.

Get the underlying Port, or panic if the node is not a Port.

Get the underlying PortDecl, or panic if the node is not a PortDecl.

Get the underlying Procedure, or panic if the node is not a Procedure.

Get the underlying Stmt, or panic if the node is not a Stmt.

Get the underlying VarDecl, or panic if the node is not a VarDecl.

Get the underlying VarDeclName, or panic if the node is not a VarDeclName.

Get the underlying GenvarDecl, or panic if the node is not a GenvarDecl.

Get the underlying ForeachIndex, or panic if the node is not a ForeachIndex.

Get the underlying Expr, or panic if the node is not a Expr.

Get the underlying ClassDecl, or panic if the node is not a ClassDecl.

Get the underlying Typedef, or panic if the node is not a Typedef.

Get the underlying SubroutineDecl, or panic if the node is not a SubroutineDecl.

Get the underlying SubroutinePrototype, or panic if the node is not a SubroutinePrototype.

Get the underlying SubroutinePort, or panic if the node is not a SubroutinePort.

Get the underlying NetDecl, or panic if the node is not a NetDecl.

Get the underlying PatternField, or panic if the node is not a PatternField.

Get the underlying ImportDecl, or panic if the node is not a ImportDecl.

Get the underlying ImportItem, or panic if the node is not a ImportItem.

Get the underlying Inst, or panic if the node is not a Inst.

Get the underlying InstName, or panic if the node is not a InstName.

Get the underlying Modport, or panic if the node is not a Modport.

Get the underlying ModportName, or panic if the node is not a ModportName.

Get the underlying ModportPort, or panic if the node is not a ModportPort.

Get the underlying ModportSimplePort, or panic if the node is not a ModportSimplePort.

Get the underlying ParamDecl, or panic if the node is not a ParamDecl.

Get the underlying ParamTypeDecl, or panic if the node is not a ParamTypeDecl.

Get the underlying ParamValueDecl, or panic if the node is not a ParamValueDecl.

Get the underlying ContAssign, or panic if the node is not a ContAssign.

Get the underlying GenerateFor, or panic if the node is not a GenerateFor.

Get the underlying GenerateIf, or panic if the node is not a GenerateIf.

Get the underlying GenerateCase, or panic if the node is not a GenerateCase.

Get the underlying GenerateBlock, or panic if the node is not a GenerateBlock.

Get the underlying PortConn, or panic if the node is not a PortConn.

Get the underlying DpiDecl, or panic if the node is not a DpiDecl.

Get the underlying DataType, or panic if the node is not a DataType.

Get the underlying ImplicitDataType, or panic if the node is not a ImplicitDataType.

Get the underlying VarDim, or panic if the node is not a VarDim.

Get the underlying PackedDim, or panic if the node is not a PackedDim.

Get the underlying UnpackedDim, or panic if the node is not a UnpackedDim.

Get the underlying PathSegment, or panic if the node is not a PathSegment.

Convert to an AnyNode trait object.

Trait Implementations

Return this node as a PortedNode, or None if it generates no scope.

Check if this node is a PortedNode.

Return this node as a ScopedNode, or None if it generates no scope.

Check if this node is a ScopedNode.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.