Struct moore_svlog::ast::Node [−][src]
pub struct Node<'a, T> {
pub id: NodeId,
pub span: Span,
pub parent: Cell<Option<&'a (dyn AnyNode<'a> + 'a)>>,
pub order: Cell<usize>,
pub data: T,
}
Expand description
Common denominator across all AST nodes.
Fields
id: NodeId
Unique ID assigned to the node.
span: Span
Full span the node covers in the input.
parent: Cell<Option<&'a (dyn AnyNode<'a> + 'a)>>
Parent node.
order: Cell<usize>
Lexical order of the node.
data: T
Per-node data.
Implementations
Check if this is an implicit type.
Check if this is an implicit type.
Trait Implementations
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ClassDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ClassDeclData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, ClassDeclData<'a>>
) -> &'arena mut Node<'a, ClassDeclData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, ClassDeclData<'a>>
) -> &'arena mut Node<'a, ClassDeclData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ContAssignData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ContAssignData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, ContAssignData<'a>>
) -> &'arena mut Node<'a, ContAssignData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, ContAssignData<'a>>
) -> &'arena mut Node<'a, ContAssignData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, DataTypeData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, DataTypeData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, DataTypeData<'a>>
) -> &'arena mut Node<'a, DataTypeData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, DataTypeData<'a>>
) -> &'arena mut Node<'a, DataTypeData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, DpiDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, DpiDeclData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, DpiDeclData<'a>>
) -> &'arena mut Node<'a, DpiDeclData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, DpiDeclData<'a>>
) -> &'arena mut Node<'a, DpiDeclData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, EnumNameData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, EnumNameData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, EnumNameData<'a>>
) -> &'arena mut Node<'a, EnumNameData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, EnumNameData<'a>>
) -> &'arena mut Node<'a, EnumNameData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ForeachIndexData>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ForeachIndexData>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, ForeachIndexData>
) -> &'arena mut Node<'a, ForeachIndexData>
pub fn alloc(
&'arena self,
value: Node<'a, ForeachIndexData>
) -> &'arena mut Node<'a, ForeachIndexData>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenerateBlockData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenerateBlockData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, GenerateBlockData<'a>>
) -> &'arena mut Node<'a, GenerateBlockData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, GenerateBlockData<'a>>
) -> &'arena mut Node<'a, GenerateBlockData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenerateCaseData>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenerateCaseData>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, GenerateCaseData>
) -> &'arena mut Node<'a, GenerateCaseData>
pub fn alloc(
&'arena self,
value: Node<'a, GenerateCaseData>
) -> &'arena mut Node<'a, GenerateCaseData>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenerateForData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenerateForData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, GenerateForData<'a>>
) -> &'arena mut Node<'a, GenerateForData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, GenerateForData<'a>>
) -> &'arena mut Node<'a, GenerateForData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenerateIfData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenerateIfData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, GenerateIfData<'a>>
) -> &'arena mut Node<'a, GenerateIfData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, GenerateIfData<'a>>
) -> &'arena mut Node<'a, GenerateIfData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenvarDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, GenvarDeclData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, GenvarDeclData<'a>>
) -> &'arena mut Node<'a, GenvarDeclData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, GenvarDeclData<'a>>
) -> &'arena mut Node<'a, GenvarDeclData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ImplicitDataTypeData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ImplicitDataTypeData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, ImplicitDataTypeData<'a>>
) -> &'arena mut Node<'a, ImplicitDataTypeData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, ImplicitDataTypeData<'a>>
) -> &'arena mut Node<'a, ImplicitDataTypeData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ImportDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ImportDeclData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, ImportDeclData<'a>>
) -> &'arena mut Node<'a, ImportDeclData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, ImportDeclData<'a>>
) -> &'arena mut Node<'a, ImportDeclData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ImportItemData>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ImportItemData>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, ImportItemData>
) -> &'arena mut Node<'a, ImportItemData>
pub fn alloc(
&'arena self,
value: Node<'a, ImportItemData>
) -> &'arena mut Node<'a, ImportItemData>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, InstNameData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, InstNameData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, InstNameData<'a>>
) -> &'arena mut Node<'a, InstNameData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, InstNameData<'a>>
) -> &'arena mut Node<'a, InstNameData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, InterfaceData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, InterfaceData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, InterfaceData<'a>>
) -> &'arena mut Node<'a, InterfaceData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, InterfaceData<'a>>
) -> &'arena mut Node<'a, InterfaceData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModportData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModportData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, ModportData<'a>>
) -> &'arena mut Node<'a, ModportData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, ModportData<'a>>
) -> &'arena mut Node<'a, ModportData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModportNameData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModportNameData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, ModportNameData<'a>>
) -> &'arena mut Node<'a, ModportNameData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, ModportNameData<'a>>
) -> &'arena mut Node<'a, ModportNameData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModportPortData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModportPortData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, ModportPortData<'a>>
) -> &'arena mut Node<'a, ModportPortData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, ModportPortData<'a>>
) -> &'arena mut Node<'a, ModportPortData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModportSimplePortData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModportSimplePortData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, ModportSimplePortData<'a>>
) -> &'arena mut Node<'a, ModportSimplePortData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, ModportSimplePortData<'a>>
) -> &'arena mut Node<'a, ModportSimplePortData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModuleData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ModuleData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, ModuleData<'a>>
) -> &'arena mut Node<'a, ModuleData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, ModuleData<'a>>
) -> &'arena mut Node<'a, ModuleData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, NetDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, NetDeclData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, NetDeclData<'a>>
) -> &'arena mut Node<'a, NetDeclData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, NetDeclData<'a>>
) -> &'arena mut Node<'a, NetDeclData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PackageData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PackageData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, PackageData<'a>>
) -> &'arena mut Node<'a, PackageData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, PackageData<'a>>
) -> &'arena mut Node<'a, PackageData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PackedDimData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PackedDimData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, PackedDimData<'a>>
) -> &'arena mut Node<'a, PackedDimData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, PackedDimData<'a>>
) -> &'arena mut Node<'a, PackedDimData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ParamDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ParamDeclData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, ParamDeclData<'a>>
) -> &'arena mut Node<'a, ParamDeclData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, ParamDeclData<'a>>
) -> &'arena mut Node<'a, ParamDeclData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ParamTypeDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ParamTypeDeclData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, ParamTypeDeclData<'a>>
) -> &'arena mut Node<'a, ParamTypeDeclData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, ParamTypeDeclData<'a>>
) -> &'arena mut Node<'a, ParamTypeDeclData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ParamValueDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ParamValueDeclData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, ParamValueDeclData<'a>>
) -> &'arena mut Node<'a, ParamValueDeclData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, ParamValueDeclData<'a>>
) -> &'arena mut Node<'a, ParamValueDeclData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PathSegmentData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PathSegmentData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, PathSegmentData<'a>>
) -> &'arena mut Node<'a, PathSegmentData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, PathSegmentData<'a>>
) -> &'arena mut Node<'a, PathSegmentData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PatternFieldData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PatternFieldData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, PatternFieldData<'a>>
) -> &'arena mut Node<'a, PatternFieldData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, PatternFieldData<'a>>
) -> &'arena mut Node<'a, PatternFieldData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PortConnData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PortConnData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, PortConnData<'a>>
) -> &'arena mut Node<'a, PortConnData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, PortConnData<'a>>
) -> &'arena mut Node<'a, PortConnData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PortDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, PortDeclData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, PortDeclData<'a>>
) -> &'arena mut Node<'a, PortDeclData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, PortDeclData<'a>>
) -> &'arena mut Node<'a, PortDeclData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ProcedureData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, ProcedureData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, ProcedureData<'a>>
) -> &'arena mut Node<'a, ProcedureData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, ProcedureData<'a>>
) -> &'arena mut Node<'a, ProcedureData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, SourceFileData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, SourceFileData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, SourceFileData<'a>>
) -> &'arena mut Node<'a, SourceFileData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, SourceFileData<'a>>
) -> &'arena mut Node<'a, SourceFileData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, StructData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, StructData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, StructData<'a>>
) -> &'arena mut Node<'a, StructData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, StructData<'a>>
) -> &'arena mut Node<'a, StructData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, StructMemberData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, StructMemberData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, StructMemberData<'a>>
) -> &'arena mut Node<'a, StructMemberData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, StructMemberData<'a>>
) -> &'arena mut Node<'a, StructMemberData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, SubroutineDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, SubroutineDeclData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, SubroutineDeclData<'a>>
) -> &'arena mut Node<'a, SubroutineDeclData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, SubroutineDeclData<'a>>
) -> &'arena mut Node<'a, SubroutineDeclData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, SubroutinePortData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, SubroutinePortData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, SubroutinePortData<'a>>
) -> &'arena mut Node<'a, SubroutinePortData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, SubroutinePortData<'a>>
) -> &'arena mut Node<'a, SubroutinePortData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, SubroutinePrototypeData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, SubroutinePrototypeData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, SubroutinePrototypeData<'a>>
) -> &'arena mut Node<'a, SubroutinePrototypeData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, SubroutinePrototypeData<'a>>
) -> &'arena mut Node<'a, SubroutinePrototypeData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, TypeKindData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, TypeKindData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, TypeKindData<'a>>
) -> &'arena mut Node<'a, TypeKindData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, TypeKindData<'a>>
) -> &'arena mut Node<'a, TypeKindData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, TypedefData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, TypedefData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, TypedefData<'a>>
) -> &'arena mut Node<'a, TypedefData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, TypedefData<'a>>
) -> &'arena mut Node<'a, TypedefData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, UnpackedDimData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, UnpackedDimData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, UnpackedDimData<'a>>
) -> &'arena mut Node<'a, UnpackedDimData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, UnpackedDimData<'a>>
) -> &'arena mut Node<'a, UnpackedDimData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, VarDeclData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, VarDeclData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, VarDeclData<'a>>
) -> &'arena mut Node<'a, VarDeclData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, VarDeclData<'a>>
) -> &'arena mut Node<'a, VarDeclData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, VarDeclNameData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, VarDeclNameData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, VarDeclNameData<'a>>
) -> &'arena mut Node<'a, VarDeclNameData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, VarDeclNameData<'a>>
) -> &'arena mut Node<'a, VarDeclNameData<'a>>
Allocate a value of type T
.
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, VarDimData<'a>>> for Arena<'a> where
'a: 'arena,
impl<'arena, 'a> Alloc<'arena, 'arena, Node<'a, VarDimData<'a>>> for Arena<'a> where
'a: 'arena,
pub fn alloc(
&'arena self,
value: Node<'a, VarDimData<'a>>
) -> &'arena mut Node<'a, VarDimData<'a>>
pub fn alloc(
&'arena self,
value: Node<'a, VarDimData<'a>>
) -> &'arena mut Node<'a, VarDimData<'a>>
Allocate a value of type T
.
Automatically implement AnyNode
for Node<T>
if enough information is
present.
Get this node’s parent.
Link up this node.
Link up this node as an expansion of another node. Read more
Get a span that is terse and suitable to pinpoint the node for a human.
Automatically implement AnyNodeData
for Node<T>
if the inner node
implements it.
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
Allow any node to be debug-formatted.
Allow any node to be printed in diagnostics in a human-friendly form.
Apply a function to each child node.
Apply a function to this node.
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
impl<'a, T> !RefUnwindSafe for Node<'a, T>
impl<'a, T> !UnwindSafe for Node<'a, T>
Blanket Implementations
Mutably borrows from an owned value. Read more