Package net.jangaroo.jooc.ast
Class ApplyExpr
- java.lang.Object
-
- net.jangaroo.jooc.ast.NodeImplBase
-
- net.jangaroo.jooc.ast.Expr
-
- net.jangaroo.jooc.ast.ApplyExpr
-
-
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 StringTYPE_CHECK_OBJECT_LITERAL_FUNCTION_NAME-
Fields inherited from class net.jangaroo.jooc.ast.NodeImplBase
usesInstanceThis
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidanalyze(AstNode parentNode)ParenthesizedExpr<CommaSeparatedList<Expr>>getArgs()List<? extends AstNode>getChildren()ExprgetFun()ClassDeclarationgetPropertiesClass(Expr arg)JooSymbolgetSymbol()booleanisAssert()static booleanisCoerceFunction(String qualifiedName)booleanisFlexAddEventListener()booleanisInsideNewExpr()booleanisTypeCast()booleanisTypeCheckObjectLiteralFunctionCall()FunctionDeclarationresolveFunction()voidscope(Scope scope)voidsetInsideNewExpr(boolean insideNewExpr)voidvisit(AstVisitor visitor)-
Methods inherited from class net.jangaroo.jooc.ast.Expr
getType, isCompileTimeConstant, isOfAS3Type, isRuntimeConstant, isStandAloneConstant, setType
-
Methods inherited from class net.jangaroo.jooc.ast.NodeImplBase
analyze, getParentNode, isAssignmentLHS, makeChildren, notifyInstanceThisUsed, propagateInstanceThisUsed, scope, usesInstanceThis, withNewDeclarationScope, withNewLabelScope
-
-
-
-
Field Detail
-
TYPE_CHECK_OBJECT_LITERAL_FUNCTION_NAME
public static final String TYPE_CHECK_OBJECT_LITERAL_FUNCTION_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ApplyExpr
public ApplyExpr(Expr fun, JooSymbol lParen, CommaSeparatedList<Expr> args, JooSymbol rParen)
-
-
Method Detail
-
getChildren
public List<? extends AstNode> getChildren()
- Specified by:
getChildrenin interfaceAstNode- Overrides:
getChildrenin classNodeImplBase
-
visit
public void visit(AstVisitor visitor) throws IOException
- Throws:
IOException
-
isInsideNewExpr
public boolean isInsideNewExpr()
-
setInsideNewExpr
public void setInsideNewExpr(boolean insideNewExpr)
-
scope
public void scope(Scope scope)
-
isTypeCast
public boolean isTypeCast()
-
isTypeCheckObjectLiteralFunctionCall
public boolean isTypeCheckObjectLiteralFunctionCall()
-
isAssert
public boolean isAssert()
-
isCoerceFunction
public static boolean isCoerceFunction(String qualifiedName)
-
analyze
public void analyze(AstNode parentNode)
- Specified by:
analyzein interfaceAstNode- Overrides:
analyzein classNodeImplBase
-
resolveFunction
public FunctionDeclaration resolveFunction()
-
getPropertiesClass
public ClassDeclaration getPropertiesClass(Expr arg)
-
getSymbol
public JooSymbol getSymbol()
-
getFun
public Expr getFun()
-
getArgs
public ParenthesizedExpr<CommaSeparatedList<Expr>> getArgs()
-
isFlexAddEventListener
public boolean isFlexAddEventListener()
-
-