Package net.jangaroo.jooc.mxml.ast
Class MxmlCompilationUnit
- java.lang.Object
-
- net.jangaroo.jooc.ast.NodeImplBase
-
- net.jangaroo.jooc.ast.CompilationUnit
-
- net.jangaroo.jooc.mxml.ast.MxmlCompilationUnit
-
- All Implemented Interfaces:
AstNode
public class MxmlCompilationUnit extends CompilationUnit
AST node for an MXML compilation unit, represented by its root node.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
-
-
Field Summary
Fields Modifier and Type Field Description static StringAS_STRINGstatic StringNET_JANGAROO_EXT_EXML-
Fields inherited from class net.jangaroo.jooc.ast.CompilationUnit
packageDeclaration, primaryDeclaration
-
Fields inherited from class net.jangaroo.jooc.ast.NodeImplBase
usesInstanceThis
-
-
Constructor Summary
Constructors Constructor Description MxmlCompilationUnit(InputSource source, XmlHeader optXmlHeader, XmlElement rootNode, MxmlParserHelper mxmlParserHelper)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IdeaddImport(String classQName)StringgetConstructorParamName()InputSourcegetInputSource()StringgetQualifiedNameStr()Map<String,VariableDeclaration>getVariables()booleanisClass()static booleanisValidConfigMode(String configMode)voidscope(Scope scope)-
Methods inherited from class net.jangaroo.jooc.ast.CompilationUnit
addBuiltInIdentifierUsage, addDependency, addPublicApiDependency, analyze, cutOffExtNamespace, getAnnotations, getChildren, getCompileDependencies, getDirectives, getLBrace, getMixinCompilationUnit, getPackageDeclaration, getPrimaryDeclaration, getPublicApiDependencies, getRBrace, getResourceDependencies, getRuntimeDependencies, getRuntimeDependencies, getSymbol, getUsedBuiltInIdentifiers, isInSourcePath, mapMixinInterface, toString, visit
-
Methods inherited from class net.jangaroo.jooc.ast.NodeImplBase
analyze, getParentNode, isAssignmentLHS, makeChildren, notifyInstanceThisUsed, propagateInstanceThisUsed, scope, usesInstanceThis, withNewDeclarationScope, withNewLabelScope
-
-
-
-
Field Detail
-
NET_JANGAROO_EXT_EXML
public static final String NET_JANGAROO_EXT_EXML
- See Also:
- Constant Field Values
-
AS_STRING
public static final String AS_STRING
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MxmlCompilationUnit
public MxmlCompilationUnit(@Nonnull InputSource source, @Nullable XmlHeader optXmlHeader, @Nonnull XmlElement rootNode, @Nonnull MxmlParserHelper mxmlParserHelper)
-
-
Method Detail
-
isValidConfigMode
public static boolean isValidConfigMode(String configMode)
-
scope
public void scope(Scope scope)
- Specified by:
scopein interfaceAstNode- Overrides:
scopein classCompilationUnit
-
getQualifiedNameStr
public String getQualifiedNameStr()
- Overrides:
getQualifiedNameStrin classCompilationUnit
-
isClass
public boolean isClass()
- Overrides:
isClassin classCompilationUnit
-
getInputSource
public InputSource getInputSource()
- Overrides:
getInputSourcein classCompilationUnit
-
getVariables
@Nonnull public Map<String,VariableDeclaration> getVariables()
-
-