|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorc.ast.oil.Def
public class Def
A unit of syntax that encapsulates an expression definition. Groups of mutually recursive definitions are scoped in the simplified abstract syntax tree by a Def.
| Field Summary | |
|---|---|
int |
arity
|
Expr |
body
|
| Constructor Summary | |
|---|---|
Def(int arity,
Expr body)
|
|
| Method Summary | |
|---|---|
void |
addVars(java.util.Set<java.lang.Integer> indices,
int depth)
|
Def |
compile()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int arity
public Expr body
| Constructor Detail |
|---|
public Def(int arity,
Expr body)
| Method Detail |
|---|
public Def compile()
public void addVars(java.util.Set<java.lang.Integer> indices,
int depth)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||