|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.umlv.tatoo.runtime.tools.builder.Builder.LexerBufferBuilder<R,B>
R - type of rules.B - type of buffer.public static class Builder.LexerBufferBuilder<R,B extends LexerBuffer>
A lexer builder that configure the listener of the lexer.
| Method Summary | |
|---|---|
Builder.LexerBuilder<R,B> |
debugListener()
Returns a lexer builder configured with a special implementation of a lexer listener that will print the events sent by the lexer. |
Builder.LexerBuilder<R,B> |
listener(LexerListener<? super R,? super B> listener)
Returns a lexer builder configured with the lexer listener taken as parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Builder.LexerBuilder<R,B> listener(LexerListener<? super R,? super B> listener)
listener - a lexer listener
IllegalArgumentException - if the lexer listener is nulldebugListener()public Builder.LexerBuilder<R,B> debugListener()
listener(LexerListener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||