|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbcg.ast.Node
bcg.ast.Expression
public abstract class Expression
Base class for expressions. The major difference between Expression (and its subclasses) and other kinds of Node is that an Expression has a type.
| Constructor Summary | |
|---|---|
protected |
Expression(java.lang.String file,
int position,
Type type)
|
| Method Summary | |
|---|---|
Type |
type()
The type of this expression |
| Methods inherited from class bcg.ast.Node |
|---|
file, illegal, parent, position, typeCheck, typeCheck, typeError, typeError, visit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Expression(java.lang.String file,
int position,
Type type)
| Method Detail |
|---|
public Type type()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||