Package iota
Class IWildExpression
java.lang.Object
iota.IAST
iota.IStatement
iota.IExpression
iota.IWildExpression
The AST node for a "wild" expression. A wild expression is a placeholder expression, used when there is a syntax
error.
-
Field Summary
Fields inherited from class iota.IExpression
isStatementExpression, type
Fields inherited from class iota.IAST
compilationUnit, line
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAnalyzes and returns an IExpression.void
Performs code generation for this AST.void
toJSON
(JSONElement json) Stores information about this AST in JSON format.Methods inherited from class iota.IExpression
codegen, type
Methods inherited from class iota.IAST
line, preAnalyze
-
Constructor Details
-
IWildExpression
public IWildExpression(int line) Constructs an AST node for a "wild" expression.- Parameters:
line
- line in which the "wild" expression occurs in the source file.
-
-
Method Details
-
analyze
Analyzes and returns an IExpression.- Specified by:
analyze
in classIExpression
- Parameters:
context
- context in which names are resolved.- Returns:
- the analyzed (and possibly rewritten) AST subtree.
-
codegen
Performs code generation for this AST. -
toJSON
Stores information about this AST in JSON format.
-