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.
|
Modifier and Type | Method and Description |
---|---|
Lexer.Builder |
Lexer.Builder.withChannel(Channel<Lexer> channel) |
Modifier and Type | Class and 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 type
GenericTokenType.UNKNOWN_CHAR for any character. |
Modifier and Type | Class and 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 expression
|
Modifier and Type | Method and Description |
---|---|
ChannelDispatcher.Builder |
ChannelDispatcher.Builder.addChannel(Channel channel) |
ChannelDispatcher.Builder |
ChannelDispatcher.Builder.addChannels(Channel... c) |
Constructor and 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.
|
Copyright © 2009–2017 SonarSource. All rights reserved.