|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--oops.parser.GoalAdapter
|
+--tree.expression
Goal class for the expression rule. collect lines: [{ [ sum ] ';' }] in a Vector.
| Field Summary | |
protected java.util.Vector |
lines
stores a tree for each sum. |
| Fields inherited from class oops.parser.GoalAdapter |
result |
| Constructor Summary | |
expression()
|
|
| Method Summary | |
java.lang.Object |
reduce()
concludes rule recognition. |
void |
shift(oops.parser.Goal sender,
java.lang.Object node)
presents result of reduction. |
| Methods inherited from class oops.parser.GoalAdapter |
shift,
shift |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
protected java.util.Vector lines
| Constructor Detail |
public expression()
| Method Detail |
public void shift(oops.parser.Goal sender,
java.lang.Object node)
sender - just received reduce().node - was created by sender.public java.lang.Object reduce()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||