public class Lexer2
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Lexer2.LexerBuilder |
Constructor and Description |
---|
Lexer2()
Deprecated.
|
Lexer2(java.nio.charset.Charset defaultCharset)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Lexer2.LexerBuilder |
builder() |
protected LexerOutput |
createLexerOutput() |
void |
endLexing(LexerOutput output)
Deprecated.
use the parser event listeners instead
|
protected |
getChannelDispatcher() |
java.nio.charset.Charset |
getCharset() |
protected CodeReaderConfiguration |
getConfiguration() |
protected Preprocessor2[] |
getPreprocessors() |
LexerOutput |
lex(java.io.File file) |
void |
lex(java.io.Reader reader,
LexerOutput lexerOutput) |
LexerOutput |
lex(java.lang.String sourceCode) |
protected void |
setConfiguration(CodeReaderConfiguration configuration)
Deprecated.
|
void |
setPreprocessors(Preprocessor2... preprocessors)
Deprecated.
|
void |
startLexing()
Deprecated.
use the parser event listeners instead
|
@Deprecated public Lexer2()
builder();
@Deprecated public Lexer2(java.nio.charset.Charset defaultCharset)
builder();
@Deprecated public void setPreprocessors(Preprocessor2... preprocessors)
builder();
protected final Preprocessor2[] getPreprocessors()
protected CodeReaderConfiguration getConfiguration()
@Deprecated protected void setConfiguration(CodeReaderConfiguration configuration)
builder();
public java.nio.charset.Charset getCharset()
public LexerOutput lex(java.lang.String sourceCode)
public final LexerOutput lex(java.io.File file)
public final void lex(java.io.Reader reader, LexerOutput lexerOutput)
protected LexerOutput createLexerOutput()
protectedgetChannelDispatcher()
@Deprecated public void startLexing()
@Deprecated public void endLexing(LexerOutput output)
public static Lexer2.LexerBuilder builder()
Copyright © 2012 SonarSource. All Rights Reserved.