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