| Modifier and Type | Class and Description |
|---|---|
| public static class | GrammarSpelunker.
Strip comments and then return stream of words and tokens {';', ':', '{', '}'} |
| Modifier and Type | Field and Description |
|---|---|
| protected String | |
| protected String | |
| protected String | |
| protected List | |
| protected String | |
| protected String | |
| protected GrammarSpelunker. | |
| protected String | |
| protected String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public String | |
| public String | |
| public List | |
| public String | |
| public String | |
| protected void | |
| protected void | |
| public static void | |
| protected void | |
| protected void | |
| public void |
| grammarFileName | back to summary |
|---|---|
| protected String grammarFileName | |
| grammarModifier | back to summary |
|---|---|
| protected String grammarModifier | |
| grammarName | back to summary |
|---|---|
| protected String grammarName | |
| importedGrammars | back to summary |
|---|---|
| protected List<String> importedGrammars | |
| inputDirectory | back to summary |
|---|---|
| protected String inputDirectory | |
| language | back to summary |
|---|---|
| protected String language | |
| scanner | back to summary |
|---|---|
| protected GrammarSpelunker. | |
| token | back to summary |
|---|---|
| protected String token | |
| tokenVocab | back to summary |
|---|---|
| protected String tokenVocab | |
| GrammarSpelunker | back to summary |
|---|---|
| public GrammarSpelunker(String inputDirectory, String grammarFileName) | |
| consume | back to summary |
|---|---|
| pack-priv void consume() throws IOException | |
| getGrammarModifier | back to summary |
|---|---|
| public String getGrammarModifier() | |
| getGrammarName | back to summary |
|---|---|
| public String getGrammarName() | |
| getImportedGrammars | back to summary |
|---|---|
| public List | |
| getLanguage | back to summary |
|---|---|
| public String getLanguage() | |
| getTokenVocab | back to summary |
|---|---|
| public String getTokenVocab() | |
| grammarHeader | back to summary |
|---|---|
| protected void grammarHeader() throws IOException | |
| imports | back to summary |
|---|---|
| protected void imports() throws IOException | |
| main | back to summary |
|---|---|
| public static void main(String[] args) throws IOException Tester; Give grammar filename as arg | |
| match | back to summary |
|---|---|
| protected void match(String expecting) throws IOException | |
| options | back to summary |
|---|---|
| protected void options() throws IOException | |
| parse | back to summary |
|---|---|
| public void parse() throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| public static final int | |
| pack-priv Reader |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| pack-priv String | |
| pack-priv String | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| public String | |
| pack-priv String |
| c | back to summary |
|---|---|
| pack-priv int c | |
| EOF | back to summary |
|---|---|
| public static final int EOF | |
| input | back to summary |
|---|---|
| pack-priv Reader input | |
| Scanner | back to summary |
|---|---|
| public Scanner(Reader input) throws IOException | |
| COMMENT | back to summary |
|---|---|
| pack-priv void COMMENT() throws IOException | |
| consume | back to summary |
|---|---|
| pack-priv void consume() throws IOException | |
| ID | back to summary |
|---|---|
| pack-priv String ID() throws IOException NAME : LETTER+ ; // NAME is sequence of >=1 letter | |
| INT | back to summary |
|---|---|
| pack-priv String INT() throws IOException | |
| isDIGIT | back to summary |
|---|---|
| pack-priv boolean isDIGIT() | |
| isID_LETTER | back to summary |
|---|---|
| pack-priv boolean isID_LETTER() | |
| isID_START | back to summary |
|---|---|
| pack-priv boolean isID_START() | |
| nextToken | back to summary |
|---|---|
| public String nextToken() throws IOException | |
| STRING | back to summary |
|---|---|
| pack-priv String STRING() throws IOException | |