Package jminusminus
Class JEmptyStatement
java.lang.Object
jminusminus.JAST
jminusminus.JStatement
jminusminus.JEmptyStatement
The AST node for representing the empty statement.
-
Field Summary
Fields inherited from class jminusminus.JAST
compilationUnit, line
-
Constructor Summary
ModifierConstructorDescriptionprotected
JEmptyStatement
(int line) Constructs an AST node for an empty statement. -
Method Summary
Methods inherited from class jminusminus.JAST
line, partialCodegen, unescape
-
Constructor Details
-
JEmptyStatement
protected JEmptyStatement(int line) Constructs an AST node for an empty statement.- Parameters:
line
- line in which the empty statement occurs in the source file.
-
-
Method Details
-
analyze
Performs semantic analysis on this AST and returns the (possibly modified) AST. -
codegen
Performs code generation for this AST. -
toJSON
Stores information about this AST in JSON format.
-