|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Statement | |
---|---|
edu.ksu.cis.projects.bogor.ast | Provides for Bogor input language AST. |
edu.ksu.cis.projects.bogor.ast.checker | Provides for Bogor AST checker. |
edu.ksu.cis.projects.bogor.parser | Provides parser for Bogor input language. |
Uses of Statement in edu.ksu.cis.projects.bogor.ast |
---|
Subclasses of Statement in edu.ksu.cis.projects.bogor.ast | |
---|---|
class |
ActionStatement
The action statement AST. |
class |
AtomicActionStatement
The atomic (shorthand) action statement AST. |
class |
AtomicStatement
The atomic statement AST. |
class |
BlockStatement
The block (sequence of statements) statement AST. |
class |
ChooseStatement
The choose statement AST. |
class |
IfStatement
The if statement AST. |
class |
ReturnStatement
The return statement AST. |
class |
SkipStatement
The skip statement AST. |
class |
TryCatchStatement
The try-catch statement AST. |
class |
WhileStatement
The while statement AST. |
Fields in edu.ksu.cis.projects.bogor.ast declared as Statement | |
---|---|
protected Statement |
ChooseStatement.elseStmt
Holds the optional else's statement. |
protected Statement |
IfStatement.elseStmt
Holds the optional else's statement. |
protected Statement |
AtomicStatement.stmt
Holds the statement. |
protected Statement |
IfStatement.stmt
Holds the statement. |
protected Statement |
TryCatchStatement.stmt
Holds the statement. |
protected Statement |
WhileStatement.stmt
Holds the statement. |
Fields in edu.ksu.cis.projects.bogor.ast with type parameters of type Statement | |
---|---|
protected ArrayList<Statement> |
BlockStatement.stmts
Holds the statements. |
protected ArrayList<Statement> |
ChooseStatement.stmts
Holds the choose statements. |
protected ArrayList<Statement> |
IfStatement.stmts
Holds the optional elseif's statements. |
protected ArrayList<Statement> |
TryCatchStatement.stmts
Holds the choose statements. |
Methods in edu.ksu.cis.projects.bogor.ast that return Statement | |
---|---|
abstract Statement |
Statement.clone()
Clones this object (deep clone); including location info. |
Statement |
TryCatchStatement.getCatchStatement(int index)
Gets a catch statement at a specified index. |
Statement |
ChooseStatement.getChooseStatement(int index)
Gets an elseif statement at a specified index. |
Statement |
ChooseStatement.getElse()
Gets the else statement. |
Statement |
IfStatement.getElse()
Gets the else statement. |
Statement |
IfStatement.getElseIfStatement(int index)
Gets an elseif statement at a specified index. |
Statement |
AtomicStatement.getStatement()
Gets the statement. |
Statement |
FSM.getStatement()
Gets the statement of this FSM. |
Statement |
IfStatement.getStatement()
Gets the statement. |
Statement |
WhileStatement.getStatement()
Gets the statement. |
Statement |
BlockStatement.getStatement(int index)
Gets a statement at a specified index. |
Statement |
TryCatchStatement.getTryStatement()
Gets the try statement. |
Methods in edu.ksu.cis.projects.bogor.ast with parameters of type Statement | |
---|---|
void |
ChooseStatement.setElse(Statement stmt)
Sets the else statement. |
void |
IfStatement.setElse(Statement stmt)
Sets the else statement. |
void |
AtomicStatement.setStatement(Statement stmt)
Sets the statement. |
void |
FSM.setStatement(Statement stmt)
Sets the statement of this FSM. |
void |
IfStatement.setStatement(Statement stmt)
Sets the statement. |
void |
WhileStatement.setStatement(Statement stmt)
Sets the statement. |
void |
TryCatchStatement.setTryStatement(Statement stmt)
Sets the try statement. |
Method parameters in edu.ksu.cis.projects.bogor.ast with type arguments of type Statement | |
---|---|
void |
TryCatchStatement.setCatches(List<String> recordIds,
List<String> localIds,
List<? extends Statement> stmts)
Sets the catches. |
void |
IfStatement.setElseIfs(List<? extends Exp> exps,
List<? extends Statement> stmts)
Sets the elseifs. |
void |
BlockStatement.setStatements(List<? extends Statement> stmts)
Sets the statements. |
void |
ChooseStatement.setWhens(List<? extends Exp> exps,
List<? extends Statement> stmts)
Sets the choose guards and statements. |
Constructors in edu.ksu.cis.projects.bogor.ast with parameters of type Statement | |
---|---|
AtomicStatement(Statement stmt)
Default constructor. |
|
ChooseStatement(List<? extends Exp> exps,
List<? extends Statement> stmts,
Statement elseStmt)
Default constructor. |
|
FSM(FSM.DeclarationKeyword keyword,
boolean active,
Exp optionalNumActiveExp,
boolean main,
String id,
ArrayList<Param> params,
ASTType optionalReturnType,
List<Local> locals,
List<Location> locations,
List<Catch> catches,
Statement statement)
Internal constructor. |
|
IfStatement(Exp exp,
Statement stmt,
List<? extends Exp> exps,
List<? extends Statement> stmts,
Statement elseStmt)
Default constructor. |
|
TryCatchStatement(Statement stmt,
List<String> recordIds,
List<String> localIds,
List<? extends Statement> stmts)
Default constructor. |
|
WhileStatement(Exp exp,
Statement stmt)
Default constructor. |
Constructor parameters in edu.ksu.cis.projects.bogor.ast with type arguments of type Statement | |
---|---|
BlockStatement(List<? extends Statement> stmts)
Default constructor. |
|
ChooseStatement(List<? extends Exp> exps,
List<? extends Statement> stmts,
Statement elseStmt)
Default constructor. |
|
IfStatement(Exp exp,
Statement stmt,
List<? extends Exp> exps,
List<? extends Statement> stmts,
Statement elseStmt)
Default constructor. |
|
TryCatchStatement(Statement stmt,
List<String> recordIds,
List<String> localIds,
List<? extends Statement> stmts)
Default constructor. |
Uses of Statement in edu.ksu.cis.projects.bogor.ast.checker |
---|
Methods in edu.ksu.cis.projects.bogor.ast.checker with parameters of type Statement | |
---|---|
boolean |
StatementTerminaChecker.statementTerminatedWithReturn(Statement s)
|
Uses of Statement in edu.ksu.cis.projects.bogor.parser |
---|
Methods in edu.ksu.cis.projects.bogor.parser that return Statement | |
---|---|
Statement |
BogorParser.Statement()
|
Statement |
BogorParser.StatementList()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |