|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JStatement | |
at.dms.kjc |
Uses of JStatement in at.dms.kjc |
Subclasses of JStatement in at.dms.kjc | |
class |
JBlock
Block. |
class |
JBreakStatement
Break Statement. |
class |
JClassBlock
JLS 14.2: Block TA block is a sequence of statements and local variable declaration statements within braces. |
class |
JClassFieldDeclarator
JLS 14.5: Field Statement. |
class |
JCompoundStatement
A compound statement is a sequence of statements and local variable declaration statements without braces. |
class |
JConstructorBlock
JLS 14.2: Block TA block is a sequence of statements and local variable declaration statements within braces. |
class |
JContinueStatement
JLS 14.14: Continue Statement A continue statement may occur only in a while, do, or for statement; statements of these three kinds are called iteration statements. |
class |
JDoStatement
Do Statement: JLS 14.11. |
class |
JEmptyStatement
JLS 14.5: Empty Statement. |
class |
JExpressionListStatement
JLS 14.7 ?? : Expression List Statement (not: Expression Statement) Note: the following applies to expression statements; I'm not sure if it applies to expression list statements too - EJB. |
class |
JExpressionStatement
JLS 14.7: Expression Statement Certain kinds of expressions may be used as statements by following them with semicolon. |
class |
JForStatement
For Statement. |
class |
JIfStatement
JLS 14.10: If Statement The if statement executes an expression and a statement repeatedly until the value of the expression is false. |
class |
JLabeledStatement
Labeled Statement. |
class |
JLoopStatement
Loop Statement. |
class |
JReturnStatement
Return Statement. |
class |
JSwitchStatement
Switch Statement. |
class |
JSynchronizedStatement
JLS 14.16: Synchronized Statement A synchronized statement acquires a mutual-exclusion lock on behalf of the executing thread, executes a block, then releases the lock. |
class |
JThrowStatement
Throw Statement: JLS 14.16. |
class |
JTryCatchStatement
Try Statement: JLS 14.18. |
class |
JTryFinallyStatement
Try Statement with finally clause but no catch clauses. |
class |
JTypeDeclarationStatement
JLS 14.3: Local type declaration declaration statement A local type declaration declaration statement declares one type declaration in a body of a method. |
class |
JVariableDeclarationStatement
Local Variable Declaration Statement: JLS 14.3. |
class |
JWhileStatement
While Statement: JLS 14.10. |
Fields in at.dms.kjc declared as JStatement | |
protected JStatement[] |
JBlock.body
Statements in the body of the block. |
Methods in at.dms.kjc that return JStatement | |
JStatement |
CAbstractBodyContext.getNearestBreakableStatement()
Returns the nearest breakable statement. |
JStatement |
CAbstractBodyContext.getNearestContinuableStatement()
Returns the nearest continuable statement. |
JStatement[] |
JBlock.getBody()
Returns statements in the body of the block. |
JStatement[] |
KjcParser.jCompoundStatement()
|
JStatement |
KjcParser.jStatement()
|
JStatement |
KjcParser.jTryBlock()
|
JStatement |
KjcParser.jForInit()
|
JStatement |
CSwitchBodyContext.getNearestBreakableStatement()
remove a label from the list of caseLabels |
JStatement |
JLabeledStatement.getStatement()
Returns the statement that is labeled by this label. |
JStatement[] |
JSwitchGroup.getStatements()
Returns a list of statements |
JStatement |
CLoopContext.getNearestBreakableStatement()
Returns the nearest (from this context outward) statement to which an unlabeled break should jump. |
JStatement |
CLoopContext.getNearestContinuableStatement()
Returns the nearest (from this context outward) statement that an unlabeled continue should continue with. |
Methods in at.dms.kjc with parameters of type JStatement | |
void |
CAbstractBodyContext.addBreak(JStatement breakTo,
CBodyContext from)
Adds a break from within this context to the specified statement. |
void |
CAbstractBodyContext.addContinue(JStatement continueTo,
CBodyContext from)
Adds a continue from within this context to the specified statement. |
protected void |
CAbstractBodyContext.addForwardedBreak(JStatement breakTo,
CBodyContext from)
Adds a break from within this context to the specified statement. |
protected void |
CAbstractBodyContext.addForwardedContinue(JStatement continueTo,
CBodyContext from)
Adds a continue from within this context to the specified statement. |
protected void |
CTryFinallyContext.addForwardedBreak(JStatement breakTo,
CBodyContext from)
Adds a break from within this context to the specified statement. |
protected void |
CTryFinallyContext.addForwardedContinue(JStatement continueTo,
CBodyContext from)
Adds a continue from within this context to the specified statement. |
void |
JBlock.setBody(JStatement[] body)
Installs a new body in this block. |
protected void |
CSwitchBodyContext.addForwardedBreak(JStatement breakTo,
CBodyContext from)
Adds a break from within this context to the specified self. |
void |
KjcPrettyPrinter.visitWhileStatement(JWhileStatement self,
JExpression cond,
JStatement body)
prints a while statement |
void |
KjcPrettyPrinter.visitSynchronizedStatement(JSynchronizedStatement self,
JExpression cond,
JStatement body)
prints a synchronized statement |
void |
KjcPrettyPrinter.visitLabeledStatement(JLabeledStatement self,
java.lang.String label,
JStatement stmt)
prints a labeled statement |
void |
KjcPrettyPrinter.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
prints a if statement |
void |
KjcPrettyPrinter.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
prints a for statement |
void |
KjcPrettyPrinter.visitCompoundStatement(JCompoundStatement self,
JStatement[] body)
prints a compound statement |
void |
KjcPrettyPrinter.visitCompoundStatement(JStatement[] body)
prints a compound statement |
void |
KjcPrettyPrinter.visitDoStatement(JDoStatement self,
JExpression cond,
JStatement body)
prints a do statement |
void |
KjcPrettyPrinter.visitBlockStatement(JBlock self,
JStatement[] body,
JavaStyleComment[] comments)
prints an expression statement |
void |
KjcPrettyPrinter.visitSwitchGroup(JSwitchGroup self,
JSwitchLabel[] labels,
JStatement[] stmts)
prints an array length expression |
protected void |
CLabeledContext.addForwardedBreak(JStatement breakTo,
CBodyContext from)
Adds a break from within this context to the specified statement. |
protected void |
CLabeledContext.addForwardedContinue(JStatement continueTo,
CBodyContext from)
Adds a continue from within this context to the specified statement. |
void |
KjcVisitor.visitWhileStatement(JWhileStatement self,
JExpression cond,
JStatement body)
visits a while statement |
void |
KjcVisitor.visitSynchronizedStatement(JSynchronizedStatement self,
JExpression cond,
JStatement body)
visits a synchronized statement |
void |
KjcVisitor.visitLabeledStatement(JLabeledStatement self,
java.lang.String label,
JStatement stmt)
visits a labeled statement |
void |
KjcVisitor.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
visits a if statement |
void |
KjcVisitor.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
visits a for statement |
void |
KjcVisitor.visitCompoundStatement(JCompoundStatement self,
JStatement[] body)
visits a compound statement |
void |
KjcVisitor.visitDoStatement(JDoStatement self,
JExpression cond,
JStatement body)
visits a do statement |
void |
KjcVisitor.visitBlockStatement(JBlock self,
JStatement[] body,
JavaStyleComment[] comments)
visits an expression statement |
void |
KjcVisitor.visitSwitchGroup(JSwitchGroup self,
JSwitchLabel[] labels,
JStatement[] stmts)
visits an array length expression |
void |
CodeSequence.plantBreak(JStatement top)
Ask the code handler to generate the necessary code to call every finally and monitorexit. |
void |
CodeSequence.pushContext(JStatement statement)
Informs the code handlers that we begin a portion of breakable code. |
void |
CodeSequence.popContext(JStatement statement)
Informs the code handlers that we exit a breakable code. |
protected void |
CLoopContext.addForwardedBreak(JStatement breakTo,
CBodyContext from)
Adds a break from within this context to the specified statement. |
protected void |
CLoopContext.addForwardedContinue(JStatement continueTo,
CBodyContext from)
Adds a continue from within this context to the specified statement. |
Constructors in at.dms.kjc with parameters of type JStatement | |
JBlock(TokenReference where,
JStatement[] body,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JWhileStatement(TokenReference where,
JExpression condition,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JForStatement(TokenReference where,
JStatement init,
JExpression condition,
JStatement incr,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JCompoundStatement(TokenReference where,
JStatement[] body)
Construct a node in the parsing tree |
|
JConstructorBlock(TokenReference where,
JStatement[] body)
Construct a node in the parsing tree |
|
JClassBlock(TokenReference where,
boolean isStatic,
JStatement[] body)
Construct a node in the parsing tree |
|
JLabeledStatement(TokenReference where,
java.lang.String label,
JStatement statement,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JSwitchGroup(TokenReference where,
JSwitchLabel[] labels,
JStatement[] statements)
Construct a node in the parsing tree This method is directly called by the parser |
|
JDoStatement(TokenReference where,
JExpression condition,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JIfStatement(TokenReference where,
JExpression condition,
JStatement thenClause,
JStatement elseClause,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JSynchronizedStatement(TokenReference where,
JExpression cond,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |