mxmlextrema_as3parser/tree/super_expression.rs
1use crate::ns::*;
2use serde::{Serialize, Deserialize};
3
4/// Super expression.
5///
6/// The super expression must always be followed by a property operator.
7/// When the super expression appears in evaluation, the immediately
8/// following property operator is limited to access a property from the base class
9/// or invoke a method of the base class.
10#[derive(Debug, Clone, Serialize, Deserialize)]
11pub struct SuperExpression {
12 pub location: Location,
13 pub object: Option<Vec<Rc<Expression>>>,
14}