NodeImplBase.ScopedusesInstanceThis| Constructor and Description |
|---|
ConditionalExpr(Expr cond,
JooSymbol symQuestion,
Expr ifTrue,
JooSymbol symColon,
Expr ifFalse) |
| Modifier and Type | Method and Description |
|---|---|
void |
analyze(AstNode parentNode) |
List<? extends AstNode> |
getChildren() |
Expr |
getCond() |
Expr |
getIfFalse() |
Expr |
getIfTrue() |
JooSymbol |
getSymbol() |
JooSymbol |
getSymColon() |
JooSymbol |
getSymQuestion() |
boolean |
isCompileTimeConstant() |
boolean |
isRuntimeConstant() |
boolean |
isStandAloneConstant()
Whether this expression denotes a stand-alone constant, that is, a constant
that can be derived without looking at other classes.
|
void |
scope(Scope scope) |
void |
visit(AstVisitor visitor) |
getType, isOfAS3Type, setTypeanalyze, getParentNode, makeChildren, notifyInstanceThisUsed, propagateInstanceThisUsed, scope, usesInstanceThis, withNewDeclarationScope, withNewLabelScopepublic List<? extends AstNode> getChildren()
getChildren in interface AstNodegetChildren in class NodeImplBasepublic void visit(AstVisitor visitor) throws IOException
IOExceptionpublic void scope(Scope scope)
public void analyze(AstNode parentNode)
analyze in interface AstNodeanalyze in class NodeImplBasepublic JooSymbol getSymbol()
public boolean isRuntimeConstant()
isRuntimeConstant in class Exprpublic boolean isCompileTimeConstant()
isCompileTimeConstant in class Exprpublic boolean isStandAloneConstant()
ExprisStandAloneConstant in class Exprpublic Expr getCond()
public JooSymbol getSymQuestion()
public Expr getIfTrue()
public JooSymbol getSymColon()
public Expr getIfFalse()
Copyright © 2002–2021 CoreMedia AG. All rights reserved.