mxmlextrema_as3parser/tree/
configuration_directive.rs

1use crate::ns::*;
2use serde::{Serialize, Deserialize};
3
4/// Represents a `CONFIG::x ...` directive
5/// which is followed by either a block or a definition.
6#[derive(Debug, Clone, Serialize, Deserialize)]
7pub struct ConfigurationDirective {
8    pub location: Location,
9    /// The namespace, most commonly the `CONFIG` identifier.
10    pub namespace: (String, Location),
11    /// The constant name without including the qualifier.
12    pub constant_name: (String, Location),
13    pub directive: Rc<Directive>,
14}