public class BinaryOpExpr extends OpExpr
NodeImplBase.ScopedusesInstanceThis| Constructor and Description |
|---|
BinaryOpExpr(Expr arg1,
JooSymbol op,
Expr arg2) |
| Modifier and Type | Method and Description |
|---|---|
void |
analyze(AstNode parentNode) |
Expr |
getArg1() |
Expr |
getArg2() |
List<? extends AstNode> |
getChildren() |
JooSymbol |
getSymbol() |
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) |
analyze, 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 getArg1()
public Expr getArg2()
Copyright © 2002–2021 CoreMedia AG. All rights reserved.