Modifier and Type | Method and Description |
---|---|
Lexer2 |
build() |
Lexer2.LexerBuilder |
withChannel(org.sonar.channel.Channel<LexerOutput> channel) |
Lexer2.LexerBuilder |
withCharset(Charset charset)
Define the charset to be used in order to read the source code.
|
Lexer2.LexerBuilder |
withCodeReaderConfiguration(org.sonar.channel.CodeReaderConfiguration conf) |
Lexer2.LexerBuilder |
withFailIfNoChannelToConsumeOneCharacter(boolean failIfNoChannelToConsumeOneCharacter) |
Lexer2.LexerBuilder |
withPreprocessor(Preprocessor2 preprocessor) |
public Lexer2 build()
public Lexer2.LexerBuilder withCharset(Charset charset)
charset
- public Lexer2.LexerBuilder withPreprocessor(Preprocessor2 preprocessor)
public Lexer2.LexerBuilder withCodeReaderConfiguration(org.sonar.channel.CodeReaderConfiguration conf)
public Lexer2.LexerBuilder withChannel(org.sonar.channel.Channel<LexerOutput> channel)
public Lexer2.LexerBuilder withFailIfNoChannelToConsumeOneCharacter(boolean failIfNoChannelToConsumeOneCharacter)
Copyright © 2009–2017 SonarSource. All rights reserved.