|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectharpoon.Tools.PatMat.Spec.Stm
harpoon.Tools.PatMat.Spec.StmCall
public static class Spec.StmCall
Extension of Spec.Stm that represents a call to a
procedure.
CALL| Field Summary | |
|---|---|
String |
arglist
Arguments being passed to procedure. |
Spec.Exp |
func
Function location expression. |
String |
handler
Exception handler label. |
String |
retex
Exception value destination expression. |
String |
retval
Return value destination expression. |
| Constructor Summary | |
|---|---|
Spec.StmCall(String retval,
String retex,
Spec.Exp func,
String arglist,
String handler)
Constructs a new Spec.StmCall. |
|
| Method Summary | |
|---|---|
void |
accept(Spec.StmVisitor v)
Applies v's visit method to
this. |
Spec.Stm |
build(Spec.ExpList kids)
Creates a new Spec.Stm similar to this one,
using the provided Spec.ExpList of children. |
Spec.ExpList |
kids()
Creates an Spec.ExpList of children of this
Spec.Stm. |
String |
toString()
|
| Methods inherited from class harpoon.Tools.PatMat.Spec.Stm |
|---|
canBeRootOfData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final String retval
TEMPpublic final String retex
TEMPpublic final Spec.Exp func
Exppublic final String arglist
harpoon.IR.Tree.TempListpublic final String handler
NAME| Constructor Detail |
|---|
public Spec.StmCall(String retval,
String retex,
Spec.Exp func,
String arglist,
String handler)
Spec.StmCall.
retval - Return value destination expression.retex - Exception value destination expression.func - Function location expression.arglist - Arguments.handler - Exception handler location.| Method Detail |
|---|
public void accept(Spec.StmVisitor v)
Spec.Stmv's visit method to
this. This is effectively a gludge to
emulate multiple dispatch. Must be reimplemented
by all subclasses of Spec.Stm.
v.visit(this).
accept in class Spec.Stmpublic Spec.Stm build(Spec.ExpList kids)
Spec.StmSpec.Stm similar to this one,
using the provided Spec.ExpList of children.
build in class Spec.Stmpublic Spec.ExpList kids()
Spec.StmSpec.ExpList of children of this
Spec.Stm.
kids in class Spec.Stmpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||