[−][src]Enum luaparser::nodes::Expression
Variants
Binary(Box<BinaryExpression>)
Call(Box<FunctionCall>)
Field(Box<FieldExpression>)
Function(FunctionExpression)
Identifier(String)
Index(Box<IndexExpression>)
Number(NumberExpression)
Parenthese(Box<Expression>)
String(StringExpression)
Table(TableExpression)
Unary(Box<UnaryExpression>)
Trait Implementations
impl Arguments<Expression, TableExpression> for Arguments
[src]
fn from_string(string: String) -> Self
[src]
fn from_table(table: TableExpression) -> Self
[src]
fn from_expressions(expressions: Vec<Expression>) -> Self
[src]
impl Clone for Expression
[src]
fn clone(&self) -> Expression
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Expression
[src]
impl Eq for Expression
[src]
impl Expression for Expression
[src]
fn false_expression() -> Self
[src]
fn true_expression() -> Self
[src]
fn nil_expression() -> Self
[src]
fn variable_arguments() -> Self
[src]
fn parenthese(expression: Self) -> Self
[src]
impl From<Expression> for TableEntry
[src]
fn from(value: Expression) -> Self
[src]
impl Into<Expression> for BinaryExpression
[src]
fn into(self) -> Expression
[src]
impl Into<Expression> for FieldExpression
[src]
fn into(self) -> Expression
[src]
impl Into<Expression> for FunctionExpression
[src]
fn into(self) -> Expression
[src]
impl Into<Expression> for IndexExpression
[src]
fn into(self) -> Expression
[src]
impl Into<Expression> for NumberExpression
[src]
fn into(self) -> Expression
[src]
impl Into<Expression> for Prefix
[src]
fn into(self) -> Expression
[src]
impl Into<Expression> for StringExpression
[src]
fn into(self) -> Expression
[src]
impl Into<Expression> for TableExpression
[src]
fn into(self) -> Expression
[src]
impl Into<Expression> for UnaryExpression
[src]
fn into(self) -> Expression
[src]
impl Into<Expression> for FunctionCall
[src]
fn into(self) -> Expression
[src]
impl LastStatement<Expression> for LastStatement
[src]
fn break_statement() -> Self
[src]
fn return_statement(expressions: Vec<Expression>) -> Self
[src]
impl PartialEq<Expression> for Expression
[src]
fn eq(&self, other: &Expression) -> bool
[src]
fn ne(&self, other: &Expression) -> bool
[src]
impl Prefix<Expression, FunctionCall, FieldExpression, IndexExpression> for Prefix
[src]
fn from_name(name: String) -> Self
[src]
fn from_parenthese(expression: Expression) -> Self
[src]
fn from_call(call: FunctionCall) -> Self
[src]
fn from_field(field: FieldExpression) -> Self
[src]
fn from_index(index: IndexExpression) -> Self
[src]
impl StructuralEq for Expression
[src]
impl StructuralPartialEq for Expression
[src]
impl TableEntry<Expression> for TableEntry
[src]
fn from_value(value: Expression) -> Self
[src]
fn from_field(field: String, value: Expression) -> Self
[src]
fn from_index(key: Expression, value: Expression) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for Expression
impl Send for Expression
impl Sync for Expression
impl Unpin for Expression
impl UnwindSafe for Expression
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,