pl.edu.pjwstk.yaod.sbql.abstractsyntaxtree.statements
Class IfElseStatement

java.lang.Object
  |
  +--pl.edu.pjwstk.yaod.sbql.abstractsyntaxtree.AbstractSyntaxTree
        |
        +--pl.edu.pjwstk.yaod.sbql.abstractsyntaxtree.Statement
              |
              +--pl.edu.pjwstk.yaod.sbql.abstractsyntaxtree.statements.IfElseStatement
All Implemented Interfaces:
java.io.Serializable

public class IfElseStatement
extends Statement

See Also:
Serialized Form

Field Summary
 Expression e
           
 KeywordTerminal lk
           
 KeywordTerminal rk
           
 Statement s1
           
 Statement s2
           
 
Constructor Summary
IfElseStatement(Expression condition, Statement ifList, Statement elseList, KeywordTerminal lk, KeywordTerminal rk)
           
 
Method Summary
 void accept(Visitor v)
           
 java.lang.String getSpellingAndPosition()
           
 java.lang.String getTypeAsString()
           
 void show(java.lang.String st)
           
 
Methods inherited from class pl.edu.pjwstk.yaod.sbql.abstractsyntaxtree.AbstractSyntaxTree
getLongestTypeAsSpacesString, getPreparedTypeAsString, show
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

e

public Expression e

s1

public Statement s1

s2

public Statement s2

lk

public KeywordTerminal lk

rk

public KeywordTerminal rk
Constructor Detail

IfElseStatement

public IfElseStatement(Expression condition,
                       Statement ifList,
                       Statement elseList,
                       KeywordTerminal lk,
                       KeywordTerminal rk)
Method Detail

getTypeAsString

public java.lang.String getTypeAsString()
Overrides:
getTypeAsString in class AbstractSyntaxTree

getSpellingAndPosition

public java.lang.String getSpellingAndPosition()
Overrides:
getSpellingAndPosition in class AbstractSyntaxTree

accept

public void accept(Visitor v)
            throws EvalException
Overrides:
accept in class AbstractSyntaxTree

show

public void show(java.lang.String st)
Overrides:
show in class AbstractSyntaxTree