Package | Description |
---|---|
com.sonar.sslr.api | |
com.sonar.sslr.impl |
Modifier and Type | Method and Description |
---|---|
static Trivia |
Trivia.createComment(Token commentToken) |
static Trivia |
Trivia.createPreprocessingDirective(AstNode ast,
Grammar grammar) |
static Trivia |
Trivia.createPreprocessingDirective(PreprocessingDirective preprocessingDirective) |
static Trivia |
Trivia.createPreprocessingToken(Token preprocessingToken) |
static Trivia |
Trivia.createSkippedText(List<Token> tokens) |
static Trivia |
Trivia.createSkippedText(Token... tokens) |
Modifier and Type | Method and Description |
---|---|
List<Trivia> |
Token.getTrivia() |
List<Trivia> |
PreprocessorAction.getTriviaToInject()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Token.Builder |
Token.Builder.addTrivia(Trivia trivia) |
void |
LexerOutput.addTrivia(Trivia trivia) |
Modifier and Type | Method and Description |
---|---|
void |
Token.addAllTrivia(List<Trivia> currentTrivia)
FIXME no such method in SSLR 1.9
|
Token.Builder |
Token.Builder.setTrivia(List<Trivia> trivia) |
Constructor and Description |
---|
PreprocessorAction(int numberOfConsumedTokens,
List<Trivia> triviaToInject,
List<Token> tokensToInject)
Deprecated.
Construct a preprocessor action.
|
Modifier and Type | Method and Description |
---|---|
void |
Lexer.addTrivia(Trivia... trivia) |
Modifier and Type | Method and Description |
---|---|
void |
Lexer.addTrivia(List<Trivia> trivia) |
Copyright © 2009–2017 SonarSource. All rights reserved.