|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectast.ASTNode
ast.Stmt
ast.BreakStmt
public class BreakStmt
The BreakStmt class represents a break statement appearing within in a loop in a method declaration. It has no additional subcomponents besides those inherited from Stmt.
ASTNode
,
Stmt
Field Summary |
---|
Fields inherited from class ast.ASTNode |
---|
charNum, lineNum, lineStr |
Constructor Summary | |
---|---|
BreakStmt(int lineNum)
BreakStmt constructor |
Method Summary | |
---|---|
java.lang.Object |
accept(visitor.Visitor v,
java.lang.Object o)
Visitor method |
Methods inherited from class ast.ASTNode |
---|
getLineNum |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BreakStmt(int lineNum)
lineNum
- source line number corresponding to this AST nodeMethod Detail |
---|
public java.lang.Object accept(visitor.Visitor v, java.lang.Object o)
accept
in class Stmt
v
- visitor objecto
- object to pass down
Visitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |