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

abstract class JStatement extends JAST
This abstract base class is the AST node for a statement (includes expressions).
  • 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.