com.sonar.sslr.impl
Class Lexer.Builder

java.lang.Object
  extended by com.sonar.sslr.impl.Lexer.Builder
Enclosing class:
Lexer

public static final class Lexer.Builder
extends Object


Method Summary
 Lexer build()
           
 Lexer.Builder withChannel(org.sonar.channel.Channel<Lexer> channel)
           
 Lexer.Builder withCharset(Charset charset)
           
 Lexer.Builder withFailIfNoChannelToConsumeOneCharacter(boolean failIfNoChannelToConsumeOneCharacter)
           
 Lexer.Builder withPreprocessor(Preprocessor preprocessor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

build

public Lexer build()

withCharset

public Lexer.Builder withCharset(Charset charset)

withPreprocessor

public Lexer.Builder withPreprocessor(Preprocessor preprocessor)

withChannel

public Lexer.Builder withChannel(org.sonar.channel.Channel<Lexer> channel)

withFailIfNoChannelToConsumeOneCharacter

public Lexer.Builder withFailIfNoChannelToConsumeOneCharacter(boolean failIfNoChannelToConsumeOneCharacter)


Copyright © 2009-2014 SonarSource. All Rights Reserved.