mxmlextrema_as3parser/tree/
super_expression.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::ns::*;
use serde::{Serialize, Deserialize};

/// Super expression.
///
/// The super expression must always be followed by a property operator.
/// When the super expression appears in evaluation, the immediately
/// following property operator is limited to access a property from the base class
/// or invoke a method of the base class.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct SuperExpression {
    pub location: Location,
    pub object: Option<Vec<Rc<Expression>>>,
}