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