Package com.sonar.sslr.impl
Class Lexer.Builder
- java.lang.Object
-
- com.sonar.sslr.impl.Lexer.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Lexer
build()
Lexer.Builder
withChannel(Channel<Lexer> channel)
Lexer.Builder
withCharset(Charset charset)
Lexer.Builder
withFailIfNoChannelToConsumeOneCharacter(boolean failIfNoChannelToConsumeOneCharacter)
Lexer.Builder
withPreprocessor(Preprocessor preprocessor)
Deprecated.in 1.20 - use your own preprocessor instead
-
-
-
Method Detail
-
build
public Lexer build()
-
withCharset
public Lexer.Builder withCharset(Charset charset)
-
withPreprocessor
@Deprecated public Lexer.Builder withPreprocessor(Preprocessor preprocessor)
Deprecated.in 1.20 - use your own preprocessor instead
-
withChannel
public Lexer.Builder withChannel(Channel<Lexer> channel)
-
withFailIfNoChannelToConsumeOneCharacter
public Lexer.Builder withFailIfNoChannelToConsumeOneCharacter(boolean failIfNoChannelToConsumeOneCharacter)
-
-