Struct expresso::expression::Expression[][src]

pub struct Expression { /* fields omitted */ }

Implementations

impl Expression[src]

pub fn new() -> Self[src]

pub fn enable_upgrade_of_literals_to_strings(&mut self)[src]

pub fn from_str(&mut self, buffer: &str) -> Result<()>[src]

pub fn is_valid(&self) -> bool[src]

pub fn result_as_i32(&self, machine: &mut Machine) -> Option<i32>[src]

pub fn result_as_i32_or(&self, machine: &mut Machine, default: i32) -> i32[src]

pub fn run(&self, machine: &mut Machine) -> VariableStack[src]

Trait Implementations

impl Debug for Expression[src]

impl Display for Expression[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.