net.jangaroo.jooc.ast
Class IfStatement
java.lang.Object
net.jangaroo.jooc.ast.NodeImplBase
net.jangaroo.jooc.ast.Directive
net.jangaroo.jooc.ast.Statement
net.jangaroo.jooc.ast.KeywordStatement
net.jangaroo.jooc.ast.IfStatement
- All Implemented Interfaces:
- AstNode
public class IfStatement
- extends KeywordStatement
- Author:
- Andreas Gawecki
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IfStatement
public IfStatement(JooSymbol symIf,
Expr cond,
Statement ifTrue)
IfStatement
public IfStatement(JooSymbol symIf,
Expr cond,
Statement ifTrue,
JooSymbol symElse,
Statement ifFalse)
getChildren
public List<? extends AstNode> getChildren()
- Specified by:
getChildren in interface AstNode- Overrides:
getChildren in class NodeImplBase
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
getCond
public Expr getCond()
getIfTrue
public Statement getIfTrue()
getSymElse
public JooSymbol getSymElse()
getIfFalse
public Statement getIfFalse()
Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.