You may want to use ExpressionVisitorXXXX class if you want to
return boolean, void, or Expression.
It is the callee's responsibility to traverse child expression.
Expression and its derived classes do not provide any traversal.
See ExpressionCloner for example.
onRef method is called for all subclass of ReferenceExp. So you can safely use this interface to visit AGMs from RELAX grammar.
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object |
| onAnyString | back to summary |
|---|---|
| public Object onAnyString() | |
| onAttribute | back to summary |
|---|---|
| public Object onAttribute(AttributeExp exp) | |
| onChoice | back to summary |
|---|---|
| public Object onChoice(ChoiceExp exp) | |
| onConcur | back to summary |
|---|---|
| public Object onConcur(ConcurExp p) | |
| onData | back to summary |
|---|---|
| public Object onData(DataExp exp) | |
| onElement | back to summary |
|---|---|
| public Object onElement(ElementExp exp) | |
| onEpsilon | back to summary |
|---|---|
| public Object onEpsilon() | |
| onInterleave | back to summary |
|---|---|
| public Object onInterleave(InterleaveExp p) | |
| onList | back to summary |
|---|---|
| public Object onList(ListExp exp) | |
| onMixed | back to summary |
|---|---|
| public Object onMixed(MixedExp exp) | |
| onNullSet | back to summary |
|---|---|
| public Object onNullSet() | |
| onOneOrMore | back to summary |
|---|---|
| public Object onOneOrMore(OneOrMoreExp exp) | |
| onOther | back to summary |
|---|---|
| public Object onOther(OtherExp exp) | |
| onRef | back to summary |
|---|---|
| public Object onRef(ReferenceExp exp) | |
| onSequence | back to summary |
|---|---|
| public Object onSequence(SequenceExp exp) | |
| onValue | back to summary |
|---|---|
| public Object onValue(ValueExp exp) | |