Package jminusminus
Class JThrowStatement
java.lang.Object
jminusminus.JAST
jminusminus.JStatement
jminusminus.JThrowStatement
An AST node for a throw-statement.
- 
Field SummaryFields inherited from class jminusminus.JASTcompilationUnit, line
- 
Constructor SummaryConstructorsConstructorDescriptionJThrowStatement(int line, JExpression expr) Constructs an AST node for a throw-statement.
- 
Method SummaryModifier and TypeMethodDescriptionPerforms semantic analysis on this AST and returns the (possibly modified) AST.voidPerforms code generation for this AST.voidtoJSON(JSONElement json) Stores information about this AST in JSON format.Methods inherited from class jminusminus.JASTline, partialCodegen, unescape
- 
Constructor Details- 
JThrowStatementConstructs an AST node for a throw-statement.- Parameters:
- line- line in which the throw-statement appears in the source file.
- expr- the returned expression.
 
 
- 
- 
Method Details- 
analyzePerforms semantic analysis on this AST and returns the (possibly modified) AST.
- 
codegenPerforms code generation for this AST.
- 
toJSONStores information about this AST in JSON format.
 
-