as3_parser/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/// 
11/// ```
12/// super.f()
13/// ```
14#[derive(Clone, Serialize, Deserialize)]
15pub struct SuperExpression {
16    pub location: Location,
17    pub object: Option<Vec<Rc<Expression>>>,
18}