Enum moore_svlog::ast::PathSegmentData [−][src]
pub enum PathSegmentData<'a> {
Unit,
Ident(Spanned<Name>),
Class(Spanned<Name>, Vec<ParamAssignment<'a>, Global>),
}
Expand description
A segment of a type name.
Adapted from §A.2.2.1:
path_segment ::=
"$unit"
package_identifier
class_identifier (param_value_assignment)?
type_identifier
covergroup_identifier
Variants
A $unit
.
A package, type, covergroup, or class identifier.
Class(Spanned<Name>, Vec<ParamAssignment<'a>, Global>)
A class identifier with specializations.
Tuple Fields of Class
0: Spanned<Name>
1: Vec<ParamAssignment<'a>, Global>
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.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for PathSegmentData<'a>
impl<'a> Send for PathSegmentData<'a>
impl<'a> Sync for PathSegmentData<'a>
impl<'a> Unpin for PathSegmentData<'a>
impl<'a> !UnwindSafe for PathSegmentData<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more