public abstract class UnaryOpExpr extends OpExpr
NodeImplBase.Scoped| Constructor and Description |
|---|
UnaryOpExpr(JooSymbol op,
Expr arg) |
| Modifier and Type | Method and Description |
|---|---|
void |
analyze(AstNode parentNode) |
Expr |
getArg() |
List<? extends AstNode> |
getChildren() |
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) |
analyze, getParentNode, makeChildren, scope, withNewDeclarationScope, withNewLabelScopepublic List<? extends AstNode> getChildren()
getChildren in interface AstNodegetChildren in class NodeImplBasepublic void scope(Scope scope)
public void analyze(AstNode parentNode)
analyze in interface AstNodeanalyze in class NodeImplBasepublic boolean isRuntimeConstant()
isRuntimeConstant in class Exprpublic boolean isCompileTimeConstant()
isCompileTimeConstant in class Exprpublic boolean isStandAloneConstant()
ExprisStandAloneConstant in class Exprpublic Expr getArg()
Copyright © 2002–2017 CoreMedia AG. All rights reserved.