xshade_parser/ast/expressions/
field_accessor_expression.rs

1use ::ast::*;
2
3#[derive(Debug, Eq, PartialEq, Serialize, Deserialize)]
4pub struct FieldAccessorExpression {
5    pub span: Span,
6    pub field_name: String,
7    pub accessee_expression: Box<Expression>,
8}
9
10impl Spanned for FieldAccessorExpression {
11    fn get_span(&self) -> Span {
12        self.span
13    }
14}
15
16impl Execute for FieldAccessorExpression {
17    fn execute(&self) -> Option<i32> {
18        None
19    }
20}