|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorc.ast.oil.Expr
public abstract class Expr
Base class for the portable (.oil, for Orc Intermediate Language) abstract syntax tree.
| Constructor Summary | |
|---|---|
Expr()
|
|
| Method Summary | ||
|---|---|---|
abstract
|
accept(Visitor<E> visitor)
|
|
void |
addIndices(java.util.Set<java.lang.Integer> indices,
int depth)
If this expression has any indices which are >= depth, add (index - depth) to the index set accumulator. |
|
Node |
compile()
|
|
abstract Node |
compile(Node output)
Compiles an oil syntax tree into an execution graph. |
|
java.util.Set<Var> |
freeVars()
Find the set of free variables in this expression. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Expr()
| Method Detail |
|---|
public abstract Node compile(Node output)
output - This is the node to which output (publications) will be directed.
public Node compile()
public java.util.Set<Var> freeVars()
public void addIndices(java.util.Set<java.lang.Integer> indices,
int depth)
indices - The index set accumulator.depth - The minimum index for a free variable.public abstract <E> E accept(Visitor<E> visitor)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||