class JEmptyStatement extends JStatement
compilationUnit, line
Modifier | Constructor and Description |
---|---|
protected |
JEmptyStatement(int line)
Construct an AST node for an empty statement.
|
Modifier and Type | Method and Description |
---|---|
JAST |
analyze(Context context)
Perform semantic analysis on this AST.
|
void |
codegen(CLEmitter output)
Perform code generation for this AST.
|
void |
writeToStdOut(PrettyPrinter p)
Write the information pertaining to this AST to STDOUT.
|
line, partialCodegen
protected JEmptyStatement(int line)
line
- line in which the empty statement occurs in the source file.public JAST analyze(Context context)
JAST
public void codegen(CLEmitter output)
JAST
public void writeToStdOut(PrettyPrinter p)
JAST
writeToStdOut
in class JAST
p
- for pretty printing with indentation.