class JWildExpression extends JExpression
isStatementExpression, type
compilationUnit, line
Constructor and Description |
---|
JWildExpression(int line)
Construct an AST node for a "wild" expression given its line number.
|
Modifier and Type | Method and Description |
---|---|
JExpression |
analyze(Context context)
Simply set the type to ANY (a wild type matching everything).
|
void |
codegen(CLEmitter output)
No code generation.
|
void |
writeToStdOut(PrettyPrinter p)
Write the information pertaining to this AST to STDOUT.
|
codegen, isStatementExpression, type
line, partialCodegen
public JWildExpression(int line)
line
- line in which the "wild" expression occurs occurs in the
source file.public JExpression analyze(Context context)
analyze
in class JExpression
context
- context in which names are resolved (ignored here).public void codegen(CLEmitter output)
public void writeToStdOut(PrettyPrinter p)
JAST
writeToStdOut
in class JAST
p
- for pretty printing with indentation.