Uses of Class
org.sonar.sslr.channel.Channel
-
Packages that use Channel Package Description com.sonar.sslr.impl com.sonar.sslr.impl.channel org.sonar.sslr.channel Provides a basic framework to sequentially read any kind of character stream in order to feed a generic OUTPUT. -
-
Uses of Channel in com.sonar.sslr.impl
Methods in com.sonar.sslr.impl with parameters of type Channel Modifier and Type Method Description Lexer.Builder
Lexer.Builder. withChannel(Channel<Lexer> channel)
-
Uses of Channel in com.sonar.sslr.impl.channel
Subclasses of Channel in com.sonar.sslr.impl.channel Modifier and Type Class Description class
BlackHoleChannel
Allows to skip characters, which match given regular expression.class
BomCharacterChannel
Ignores all BOM characters.class
CommentRegexpChannel
Creates comment trivia from characters, which match given regular expression.class
IdentifierAndKeywordChannel
class
PunctuatorChannel
class
RegexpChannel
Creates token of specified type from characters, which match given regular expression.class
UnknownCharacterChannel
Creates token with typeGenericTokenType.UNKNOWN_CHAR
for any character. -
Uses of Channel in org.sonar.sslr.channel
Subclasses of Channel in org.sonar.sslr.channel Modifier and Type Class Description class
ChannelDispatcher<O>
class
RegexChannel<O>
The RegexChannel can be used to be called each time the next characters in the character stream match a regular expressionMethods in org.sonar.sslr.channel with parameters of type Channel Modifier and Type Method Description ChannelDispatcher.Builder
ChannelDispatcher.Builder. addChannel(Channel channel)
ChannelDispatcher.Builder
ChannelDispatcher.Builder. addChannels(Channel... c)
Constructors in org.sonar.sslr.channel with parameters of type Channel Constructor Description ChannelCodeReaderFilter(Channel<O>... channels)
Creates a CodeReaderFilter that will use the provided Channels to filter the character stream it gets from its reader.ChannelCodeReaderFilter(O output, Channel<O>... channels)
Creates a CodeReaderFilter that will use the provided Channels to filter the character stream it gets from its reader.
-