Package org.sonar.sslr.channel
Class ChannelDispatcher<O>
java.lang.Object
org.sonar.sslr.channel.Channel<O>
org.sonar.sslr.channel.ChannelDispatcher<O>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ChannelDispatcher.Builderbuilder()Get a Builder instance to build a new ChannelDispatcherbooleanconsume(CodeReader code, O output) Tries to consume the character stream at the current reading cursor position (provided by theCodeReader).
-
Method Details
-
consume
Description copied from class:ChannelTries to consume the character stream at the current reading cursor position (provided by theCodeReader). If the character stream is consumed the method must return true and the OUTPUT object can be fed. -
builder
Get a Builder instance to build a new ChannelDispatcher
-