|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--antlr.BaseAST
|
+--antlr.CommonAST
|
+--org.omegahat.Environment.Parser.Parse.BasicExpression
|
+--org.omegahat.Environment.Parser.Parse.Catch
Expression used to represent an entire catch declaration including the exception type, variable name and body of the catch clause.
| Field Summary | |
protected StatementList |
body
|
protected boolean |
isFinal
|
protected MethodParameter |
thrownClass
|
| Fields inherited from class org.omegahat.Environment.Parser.Parse.BasicExpression |
children, comments, isActive, parent, POST, PRE |
| Fields inherited from class antlr.BaseAST |
down, right |
| Constructor Summary | |
Catch(MethodParameter c,
StatementList b)
|
|
Catch(StatementList b,
boolean f)
|
|
| Method Summary | |
StatementList |
body()
|
StatementList |
body(StatementList b)
|
java.lang.Class |
Class(Evaluator evaluator)
|
java.lang.Object |
eval(Evaluator evaluator)
|
java.lang.Object |
eval(java.lang.Throwable e,
Evaluator evaluator)
|
antlr.collections.AST |
getFirstChild()
|
MethodParameter |
thrownClass()
|
MethodParameter |
thrownClass(MethodParameter c)
|
java.lang.String |
toString()
|
| Methods inherited from class org.omegahat.Environment.Parser.Parse.BasicExpression |
addChild, addComment, apply, apply, apply, children, children, comment, comment, depth, error, eval, evalInit, evaluationFrame, evaluator, getReferencedVariables, getReferencedVariables, getReferencedVariables, isActive, isActive, parent, parent, postComment, postComment, preComment, preComment, render, replaceChild, resolve, run, setParent, setParent, setParent, setParent, showComments, showComments, subset, substitute, substitute |
| Methods inherited from class antlr.CommonAST |
getText, getType, initialize, initialize, initialize, setText, setType |
| Methods inherited from class antlr.BaseAST |
addChild, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getNextSibling, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toStringList, toStringTree |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.omegahat.Environment.Parser.Parse.ExpressionInt |
error, resolve, substitute |
| Methods inherited from interface org.omegahat.Environment.Parser.Parse.TreeNodeInt |
addChild, children, depth, parent, parent, replaceChild |
| Methods inherited from interface org.omegahat.Environment.Language.Evaluable |
eval |
| Field Detail |
protected MethodParameter thrownClass
protected StatementList body
protected boolean isFinal
| Constructor Detail |
public Catch(MethodParameter c,
StatementList b)
public Catch(StatementList b,
boolean f)
| Method Detail |
public StatementList body()
public StatementList body(StatementList b)
public MethodParameter thrownClass()
public MethodParameter thrownClass(MethodParameter c)
public java.lang.Object eval(Evaluator evaluator)
throws java.lang.Throwable
eval in interface Evaluableeval in class BasicExpression
public java.lang.Object eval(java.lang.Throwable e,
Evaluator evaluator)
throws java.lang.Throwable
public java.lang.Class Class(Evaluator evaluator)
throws java.lang.ClassNotFoundException
public java.lang.String toString()
toString in class BasicExpressionpublic antlr.collections.AST getFirstChild()
getFirstChild in class antlr.BaseAST
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||