[−][src]Enum mc_parser::ast::Expression
Variants
Fields of Variable
Fields of FunctionCall
Fields of Unary
Fields of Binary
Methods
impl<'a> Expression<'a>[src]
pub fn span(&self) -> &Span<'a>[src]
fn consume(
pair: Pair<'a, Rule>,
climber: &PrecClimber<Rule>
) -> Result<(Self, Span<'a>), ConversionError<Self::FatalError>>[src]
pair: Pair<'a, Rule>,
climber: &PrecClimber<Rule>
) -> Result<(Self, Span<'a>), ConversionError<Self::FatalError>>
Trait Implementations
impl<'a> AsRef<Expression<'a>> for Expression<'a>[src]
fn as_ref(&self) -> &Expression<'a>[src]
impl<'a> Debug for Expression<'a>[src]
impl<'a> FromPest<'a> for Expression<'a>[src]
type Rule = Rule
The rule type for the parse tree this type corresponds to.
type FatalError = Error<Rule>
A fatal error during conversion.
fn from_pest(
pest: &mut Pairs<'a, Self::Rule>
) -> Result<Self, ConversionError<Self::FatalError>>[src]
pest: &mut Pairs<'a, Self::Rule>
) -> Result<Self, ConversionError<Self::FatalError>>
impl<'a> PartialEq<Expression<'a>> for Expression<'a>[src]
fn eq(&self, other: &Expression<'a>) -> bool[src]
fn ne(&self, other: &Expression<'a>) -> bool[src]
impl<'a> StructuralPartialEq for Expression<'a>[src]
impl<'a> TryFrom<&'a str> for Expression<'a>[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Expression<'a>
impl<'a> Send for Expression<'a>
impl<'a> Sync for Expression<'a>
impl<'a> Unpin for Expression<'a>
impl<'a> UnwindSafe for Expression<'a>
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>,