|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Tools.PatMat.Spec.Exp
public abstract static class Spec.Exp
Abstract immutable representation of an Expression in an Instruction Pattern.
Exp
Constructor Summary | |
---|---|
Spec.Exp()
|
Method Summary | |
---|---|
abstract void |
accept(Spec.ExpVisitor v)
Applies v 's visit method to
this . |
abstract Spec.Exp |
build(Spec.ExpList kids)
Creates a new Spec.Exp similar to this one,
using the provided Spec.ExpList of children. |
abstract Spec.ExpList |
kids()
Creates an Spec.ExpList of children of this
Spec.Exp . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Spec.Exp()
Method Detail |
---|
public abstract void accept(Spec.ExpVisitor v)
v
's visit
method to
this
. This is effectively a gludge to
emulate multiple dispatch. Must be reimplemented
by all subclasses of Spec.Exp
.
v.visit(this)
.
public abstract Spec.Exp build(Spec.ExpList kids)
Spec.Exp
similar to this one,
using the provided Spec.ExpList
of children.
public abstract Spec.ExpList kids()
Spec.ExpList
of children of this
Spec.Exp
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |