| Package | Description |
|---|---|
| com.sonar.sslr.api | |
| com.sonar.sslr.impl | |
| com.sonar.sslr.impl.matcher | |
| com.sonarsource.cobol.api | |
| org.sonar.sslr.grammar |
API to define Parsing Expression Grammar.
|
| org.sonar.sslr.internal.grammar |
Internals of Grammar API.
|
| org.sonar.sslr.parser |
| Modifier and Type | Method and Description |
|---|---|
abstract Grammar |
PreprocessingDirective.getGrammar()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static PreprocessingDirective |
PreprocessingDirective.create(AstNode ast,
Grammar grammar)
Deprecated.
|
static Trivia |
Trivia.createPreprocessingDirective(AstNode ast,
Grammar grammar) |
| Modifier and Type | Class and Description |
|---|---|
class |
Parser<G extends Grammar>
Duplicates corresponding class from SSLR to provide Cobol-specific changes:
added
Parser.getLexerOutput()
|
static class |
Parser.Builder<G extends Grammar> |
| Modifier and Type | Method and Description |
|---|---|
static <G extends Grammar> |
Parser.builder(G grammar) |
static <G extends Grammar> |
Parser.builder(Parser<G> parser) |
| Modifier and Type | Method and Description |
|---|---|
static void |
GrammarFunctions.enableMemoizationOfMatchesForAllRules(Grammar grammar)
Deprecated.
in 1.19, use
LexerfulGrammarBuilder.buildWithMemoizationOfMatchesForAllRules() instead. |
| Modifier and Type | Class and Description |
|---|---|
class |
AcuCobolExtension |
class |
CicsGrammar |
class |
Cobol400Extension |
class |
CobolGrammar |
class |
DB2Grammar |
class |
EnterpriseExtension |
class |
GcosExtension |
class |
HpExtension |
class |
IleCobolExtension |
class |
MicrofocusExtension |
| Modifier and Type | Method and Description |
|---|---|
Grammar |
LexerfulGrammarBuilder.build()
Constructs grammar.
|
Grammar |
LexerfulGrammarBuilder.buildWithMemoizationOfMatchesForAllRules()
Constructs grammar with memoization of matches for all rules.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MutableGrammar |
| Modifier and Type | Class and Description |
|---|---|
class |
LexerlessGrammar
Use
LexerlessGrammarBuilder to create instances of this class. |
Copyright © 2009–2018 SonarSource. All rights reserved.