net.jangaroo.jooc.ast
Class ConditionalExpr
java.lang.Object
net.jangaroo.jooc.ast.NodeImplBase
net.jangaroo.jooc.ast.Expr
net.jangaroo.jooc.ast.ConditionalExpr
- All Implemented Interfaces:
- AstNode, CodeGenerator
public class ConditionalExpr
- extends Expr
- Author:
- Andreas Gawecki
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConditionalExpr
public ConditionalExpr(Expr cond,
JooSymbol symQuestion,
Expr ifTrue,
JooSymbol symColon,
Expr ifFalse)
visit
public void visit(AstVisitor visitor)
throws IOException
- Throws:
IOException
scope
public void scope(Scope scope)
analyze
public void analyze(AstNode parentNode)
- Specified by:
analyze in interface AstNode- Overrides:
analyze in class NodeImplBase
getSymbol
public JooSymbol getSymbol()
isCompileTimeConstant
public boolean isCompileTimeConstant()
- Overrides:
isCompileTimeConstant in class Expr
getCond
public Expr getCond()
getSymQuestion
public JooSymbol getSymQuestion()
getIfTrue
public Expr getIfTrue()
getSymColon
public JooSymbol getSymColon()
getIfFalse
public Expr getIfFalse()
Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.