|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface describes the capabilities for a visitor class on the token types. This interface is used to implement the visitor pattern.
Method Summary | |
java.lang.Object |
visitActive(ActiveCharacterToken token,
java.lang.Object arg)
This visit method is invoked on an active token. |
java.lang.Object |
visitCr(CrToken token,
java.lang.Object arg)
This visit method is invoked on a cr token. |
java.lang.Object |
visitEscape(ControlSequenceToken token,
java.lang.Object arg)
This visit method is invoked on an escape token. |
java.lang.Object |
visitLeftBrace(LeftBraceToken token,
java.lang.Object arg)
This visit method is invoked on a left brace token. |
java.lang.Object |
visitLetter(LetterToken token,
java.lang.Object arg)
This visit method is invoked on a letter token. |
java.lang.Object |
visitMacroParam(MacroParamToken token,
java.lang.Object arg)
This visit method is invoked on a macro parameter token. |
java.lang.Object |
visitMathShift(MathShiftToken token,
java.lang.Object arg)
This visit method is invoked on a math shift token. |
java.lang.Object |
visitOther(OtherToken token,
java.lang.Object arg)
This visit method is invoked on an other token. |
java.lang.Object |
visitRightBrace(RightBraceToken token,
java.lang.Object arg)
This visit method is invoked on a right brace token. |
java.lang.Object |
visitSpace(SpaceToken token,
java.lang.Object arg)
This visit method is invoked on a space token. |
java.lang.Object |
visitSubMark(SubMarkToken token,
java.lang.Object arg)
This visit method is invoked on a sub mark token. |
java.lang.Object |
visitSupMark(SupMarkToken token,
java.lang.Object arg)
This visit method is invoked on a sup mark token. |
java.lang.Object |
visitTabMark(TabMarkToken token,
java.lang.Object arg)
This visit method is invoked on a tab mark token. |
Method Detail |
public java.lang.Object visitActive(ActiveCharacterToken token, java.lang.Object arg) throws java.lang.Exception
token
- the active token to visitarg
- the first argument to pass
java.lang.Exception
- in case of an errorpublic java.lang.Object visitCr(CrToken token, java.lang.Object arg) throws java.lang.Exception
token
- the cr token to visitarg
- the first argument to pass
java.lang.Exception
- in case of an errorpublic java.lang.Object visitEscape(ControlSequenceToken token, java.lang.Object arg) throws java.lang.Exception
token
- the control sequence token to visitarg
- the first argument to pass
java.lang.Exception
- in case of an errorpublic java.lang.Object visitLeftBrace(LeftBraceToken token, java.lang.Object arg) throws java.lang.Exception
token
- the left brace token to visitarg
- the first argument to pass
java.lang.Exception
- in case of an errorpublic java.lang.Object visitLetter(LetterToken token, java.lang.Object arg) throws java.lang.Exception
token
- the letter token to visitarg
- the first argument to pass
java.lang.Exception
- in case of an errorpublic java.lang.Object visitMacroParam(MacroParamToken token, java.lang.Object arg) throws java.lang.Exception
token
- the macro param token to visitarg
- the first argument to pass
java.lang.Exception
- in case of an errorpublic java.lang.Object visitMathShift(MathShiftToken token, java.lang.Object arg) throws java.lang.Exception
token
- the math shift token to visitarg
- the first argument to pass
java.lang.Exception
- in case of an errorpublic java.lang.Object visitOther(OtherToken token, java.lang.Object arg) throws java.lang.Exception
token
- the other token to visitarg
- the first argument to pass
java.lang.Exception
- in case of an errorpublic java.lang.Object visitRightBrace(RightBraceToken token, java.lang.Object arg) throws java.lang.Exception
token
- the right brace token to visitarg
- the first argument to pass
java.lang.Exception
- in case of an errorpublic java.lang.Object visitSpace(SpaceToken token, java.lang.Object arg) throws java.lang.Exception
token
- the space token to visitarg
- the first argument to pass
java.lang.Exception
- in case of an errorpublic java.lang.Object visitSubMark(SubMarkToken token, java.lang.Object arg) throws java.lang.Exception
token
- the sub mark token to visitarg
- the first argument to pass
java.lang.Exception
- in case of an errorpublic java.lang.Object visitSupMark(SupMarkToken token, java.lang.Object arg) throws java.lang.Exception
token
- the sup mark token to visitarg
- the first argument to pass
java.lang.Exception
- in case of an errorpublic java.lang.Object visitTabMark(TabMarkToken token, java.lang.Object arg) throws java.lang.Exception
token
- the tab mark token to visitarg
- the first argument to pass
java.lang.Exception
- in case of an error
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |