[−][src]Enum moore_vhdl::term::Term
A term.
This is a generalization of expressions and names in VHDL. It allows various parts of the AST to be mapped to a common data structure, and then remapped to the desired output structure. This is useful for example if the parser processes a subtype indication as an expression.
Variants
A term of the form null
.
A term of the form open
.
A term of the form others
.
A term of the form default
.
IntLit(BigInt)
An integer literal.
FloatLit(BigRational)
A floating point literal.
PhysLit(BigInt, Spanned<EitherUnit<'t>>)
A physical literal.
StrLit(Name)
A bit string literal.
Unresolved(ResolvableName)
An unresolved name.
A term that refers to a definition.
A term that refers to a definition.
TypeMark(Spanned<TypeMarkRef>)
A term that refers to a type or subtype definition.
A term that refers to an enum variant.
A term that refers to an enum variant.
Select(Subterm<'t>, Spanned<ResolvableName>)
A term of the form T.<name>
.
SelectAll(Subterm<'t>)
A term of the form T.all
.
A term of the form T (to|downto) T
.
A term of the form T range T
.
UnboundedRange(Subterm<'t>)
A term of the form T range <>
.
A term of the form [T] <type_mark> [T]
. The first optional subterm is
the resolution indication, the second is the constraint.
A term of the form (T) T
.
A term of the form T (T)
.
A term of the form (T,T,…)
.
A term of the form (T|T|… => T, T|T|… => T, …)
.
A term of the form op T
.
A term of the form T op T
.
A term of the form T'T
.
New(Subterm<'t>)
A term of the form new T
.
Trait Implementations
impl<'t> Debug for Term<'t>
[src]
impl<'t> Eq for Term<'t>
[src]
impl<'t> PartialEq<Term<'t>> for Term<'t>
[src]
impl<'t> StructuralEq for Term<'t>
[src]
impl<'t> StructuralPartialEq for Term<'t>
[src]
Auto Trait Implementations
impl<'t> !RefUnwindSafe for Term<'t>
impl<'t> !Send for Term<'t>
impl<'t> !Sync for Term<'t>
impl<'t> Unpin for Term<'t>
impl<'t> !UnwindSafe for Term<'t>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,