pub struct Statement {
pub type: Option<String>,
pub text: Option<String>,
pub id: Option<Identifier>,
pub init: Option<Expression>,
pub member: Option<MemberExpression>,
pub expression: Option<Expression>,
pub argument: Option<Expression>,
pub assignment: Option<VariableAssignment>,
}
Expand description
Expression Statement
Fields
type: Option<String>
Type of AST node
text: Option<String>
Raw source text
id: Option<Identifier>
Statement identitfier
init: Option<Expression>
Initial Value
member: Option<MemberExpression>
Member
expression: Option<Expression>
Expression
argument: Option<Expression>
Argument
assignment: Option<VariableAssignment>
Assignment
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Statement
impl<'de> Deserialize<'de> for Statement
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Statement
Auto Trait Implementations
impl RefUnwindSafe for Statement
impl Send for Statement
impl Sync for Statement
impl Unpin for Statement
impl UnwindSafe for Statement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more