Enum moore_svlog::ast::ItemData [−][src]
pub enum ItemData<'a> {
Show 25 variants
Dummy,
ModuleDecl(Node<'a, ModuleData<'a>>),
InterfaceDecl(Node<'a, InterfaceData<'a>>),
PackageDecl(Node<'a, PackageData<'a>>),
ClassDecl(Node<'a, ClassDeclData<'a>>),
ProgramDecl(()),
ImportDecl(Node<'a, ImportDeclData<'a>>),
DpiDecl(Node<'a, DpiDeclData<'a>>),
ParamDecl(Node<'a, ParamDeclData<'a>>),
ModportDecl(Node<'a, ModportData<'a>>),
Typedef(Node<'a, TypedefData<'a>>),
PortDecl(Node<'a, PortDeclData<'a>>),
Procedure(Node<'a, ProcedureData<'a>>),
SubroutineDecl(Node<'a, SubroutineDeclData<'a>>),
ContAssign(Node<'a, ContAssignData<'a>>),
GenvarDecl(Vec<Node<'a, GenvarDeclData<'a>>, Global>),
GenerateRegion(Span, Vec<Node<'a, ItemData<'a>>, Global>),
GenerateFor(Node<'a, GenerateForData<'a>>),
GenerateIf(Node<'a, GenerateIfData<'a>>),
GenerateCase(Node<'a, GenerateCaseData>),
Assertion(Assertion<'a>),
NetDecl(Node<'a, NetDeclData<'a>>),
VarDecl(Node<'a, VarDeclData<'a>>),
Inst(Node<'a, InstData<'a>>),
Timeunit(Timeunit),
}
Expand description
An item that may appear in a hierarchical scope.
This includes the following scopes:
- file root
- modules
- interfaces
- packages
- classes
- generates
Variants
ModuleDecl(Node<'a, ModuleData<'a>>)
Tuple Fields of ModuleDecl
0: Node<'a, ModuleData<'a>>
InterfaceDecl(Node<'a, InterfaceData<'a>>)
Tuple Fields of InterfaceDecl
0: Node<'a, InterfaceData<'a>>
PackageDecl(Node<'a, PackageData<'a>>)
Tuple Fields of PackageDecl
0: Node<'a, PackageData<'a>>
ClassDecl(Node<'a, ClassDeclData<'a>>)
Tuple Fields of ClassDecl
0: Node<'a, ClassDeclData<'a>>
ProgramDecl(())
Tuple Fields of ProgramDecl
0: ()
ImportDecl(Node<'a, ImportDeclData<'a>>)
Tuple Fields of ImportDecl
0: Node<'a, ImportDeclData<'a>>
DpiDecl(Node<'a, DpiDeclData<'a>>)
Tuple Fields of DpiDecl
0: Node<'a, DpiDeclData<'a>>
ParamDecl(Node<'a, ParamDeclData<'a>>)
Tuple Fields of ParamDecl
0: Node<'a, ParamDeclData<'a>>
ModportDecl(Node<'a, ModportData<'a>>)
Tuple Fields of ModportDecl
0: Node<'a, ModportData<'a>>
Typedef(Node<'a, TypedefData<'a>>)
Tuple Fields of Typedef
0: Node<'a, TypedefData<'a>>
PortDecl(Node<'a, PortDeclData<'a>>)
Tuple Fields of PortDecl
0: Node<'a, PortDeclData<'a>>
Procedure(Node<'a, ProcedureData<'a>>)
Tuple Fields of Procedure
0: Node<'a, ProcedureData<'a>>
SubroutineDecl(Node<'a, SubroutineDeclData<'a>>)
Tuple Fields of SubroutineDecl
0: Node<'a, SubroutineDeclData<'a>>
ContAssign(Node<'a, ContAssignData<'a>>)
Tuple Fields of ContAssign
0: Node<'a, ContAssignData<'a>>
GenvarDecl(Vec<Node<'a, GenvarDeclData<'a>>, Global>)
Tuple Fields of GenvarDecl
0: Vec<Node<'a, GenvarDeclData<'a>>, Global>
GenerateFor(Node<'a, GenerateForData<'a>>)
Tuple Fields of GenerateFor
0: Node<'a, GenerateForData<'a>>
GenerateIf(Node<'a, GenerateIfData<'a>>)
Tuple Fields of GenerateIf
0: Node<'a, GenerateIfData<'a>>
GenerateCase(Node<'a, GenerateCaseData>)
Tuple Fields of GenerateCase
0: Node<'a, GenerateCaseData>
Assertion(Assertion<'a>)
Tuple Fields of Assertion
0: Assertion<'a>
NetDecl(Node<'a, NetDeclData<'a>>)
Tuple Fields of NetDecl
0: Node<'a, NetDeclData<'a>>
VarDecl(Node<'a, VarDeclData<'a>>)
Tuple Fields of VarDecl
0: Node<'a, VarDeclData<'a>>
Timeunit(Timeunit)
Tuple Fields of Timeunit
0: Timeunit
Trait Implementations
Get this node’s name, or None
if it does not have one.
Describe this node for diagnostics in indefinite form, e.g. “entity”. Read more
Describe this node for diagnostics in definite form, e.g. “entity ‘top’”. Read more
Describe this node for diagnostics in indefinite form, e.g. “entity”.
Describe this node for diagnostics in definite form, e.g. “entity ‘top’”. Read more
Describe this node for diagnostics in indefinite form, e.g. “entity”.
Describe this node for diagnostics in definite form, e.g. “entity ‘top’”. Read more
Apply a function to each child node.
Apply a function to this node.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ItemData<'a>
impl<'a> !UnwindSafe for ItemData<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more