|
Object-oriented Parser System v3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectObserve.Adapter
public abstract static class Observe.Adapter
implements an observer that does nothing.
init must be implemented by a subclass.
| Constructor Summary | |
|---|---|
Observe.Adapter()
|
|
| Method Summary | |
|---|---|
void |
reduce(int position)
called when a rule is completed: does nothing. |
void |
shift(int position,
Observe.Observer sender)
called when a Parser.Nonterminal is accepted: does nothing. |
void |
shift(int position,
Parser.Literal sender)
called when a Parser.Literal is accepted: does nothing. |
void |
shift(int position,
Parser.Token sender)
called when a Parser.Token is accepted: does nothing. |
String |
toString()
|
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface Observe.Observer |
|---|
init |
| Constructor Detail |
|---|
public Observe.Adapter()
| Method Detail |
|---|
public void shift(int position,
Parser.Literal sender)
Parser.Literal is accepted: does nothing.
shift in interface Observe.Observer
public void shift(int position,
Parser.Token sender)
Parser.Token is accepted: does nothing.
shift in interface Observe.Observer
public void shift(int position,
Observe.Observer sender)
Parser.Nonterminal is accepted: does nothing.
shift in interface Observe.Observersender - the observer that watched the nonterminal.public void reduce(int position)
reduce in interface Observe.Observerpublic String toString()
toString in class Object
|
(c) 2008 Axel T. Schreiner |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||