Package jminusminus
Class JStatement
java.lang.Object
jminusminus.JAST
jminusminus.JStatement
- Direct Known Subclasses:
JBlock,JBreakStatement,JContinueStatement,JDoStatement,JEmptyStatement,JExpression,JForStatement,JIfStatement,JReturnStatement,JStatementExpression,JSwitchStatement,JThrowStatement,JTryStatement,JVariableDeclaration,JWhileStatement
This abstract base class is the AST node for a statement (includes expressions).
-
Field Summary
Fields inherited from class jminusminus.JAST
compilationUnit, line -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJStatement(int line) Constructs an AST node for a statement. -
Method Summary
-
Constructor Details
-
JStatement
protected JStatement(int line) Constructs an AST node for a statement.- Parameters:
line- line in which the statement occurs in the source file.
-