|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sonar.sslr.impl.Lexer2
public class Lexer2
This class allows to ensure forward compatibility with SSLR 1.9.
| Nested Class Summary | |
|---|---|
static class |
Lexer2.LexerBuilder
|
| Constructor Summary | |
|---|---|
Lexer2(Charset defaultCharset)
Deprecated. |
|
| Method Summary | |
|---|---|
static Lexer2.LexerBuilder |
builder()
|
protected LexerOutput |
createLexerOutput()
|
void |
endLexing(LexerOutput output)
Deprecated. use the parser event listeners instead |
protected org.sonar.channel.ChannelDispatcher<LexerOutput> |
getChannelDispatcher()
|
Charset |
getCharset()
|
protected org.sonar.channel.CodeReaderConfiguration |
getConfiguration()
|
protected Preprocessor2[] |
getPreprocessors()
|
LexerOutput |
lex(File file)
|
void |
lex(Reader reader,
LexerOutput lexerOutput)
|
LexerOutput |
lex(String sourceCode)
|
protected void |
setConfiguration(org.sonar.channel.CodeReaderConfiguration configuration)
Deprecated. |
void |
setPreprocessors(Preprocessor2... preprocessors)
Deprecated. |
void |
startLexing()
Deprecated. use the parser event listeners instead |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated public Lexer2(Charset defaultCharset)
builder();| Method Detail |
|---|
@Deprecated public void setPreprocessors(Preprocessor2... preprocessors)
builder();protected final Preprocessor2[] getPreprocessors()
protected org.sonar.channel.CodeReaderConfiguration getConfiguration()
@Deprecated protected void setConfiguration(org.sonar.channel.CodeReaderConfiguration configuration)
builder();public Charset getCharset()
public LexerOutput lex(String sourceCode)
public final LexerOutput lex(File file)
public void lex(Reader reader,
LexerOutput lexerOutput)
protected LexerOutput createLexerOutput()
protected org.sonar.channel.ChannelDispatcher<LexerOutput> getChannelDispatcher()
@Deprecated public void startLexing()
@Deprecated public void endLexing(LexerOutput output)
public static Lexer2.LexerBuilder builder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||