Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api.plugins.antlr.metadata
[Java] Class GrammarMetadata

    java.lang.Object
      org.gradle.api.plugins.antlr.metadata.GrammarMetadata

    public class GrammarMetadata

Models a grammar defined within an Antlr grammar file.

Authors:
  Steve Ebersole

Constructor Summary
`GrammarMetadata(GrammarFileMetadata grammarFileMetadata, GrammarDelegate grammarDelegate)`

Method Summary
`java.lang.String` | `determineGeneratedParserPath()` Determine the relative path of the generated parser java file.
`boolean` | `extendsStandardGrammar()`
`java.lang.String` | `getClassName()`
`java.lang.String` | `getExportVocab()`
`GrammarFileMetadata` | `getGrammarFile()`
`java.lang.String` | `getImportVocab()`
`java.lang.String` | `getPackageName()`
`java.lang.String` | `getQualifiedClassName()`
`GrammarDelegate` | `getSuperGrammarDelegate()`

Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()

Constructor Detail

### GrammarMetadata

    public GrammarMetadata(GrammarFileMetadata grammarFileMetadata, GrammarDelegate grammarDelegate)

Method Detail

### determineGeneratedParserPath

    public java.lang.String determineGeneratedParserPath()

  Determine the relative path of the generated parser java file.
  Returns:
    The relative generated parser file path.

### extendsStandardGrammar

    public boolean extendsStandardGrammar()

### getClassName

    public java.lang.String getClassName()

### getExportVocab

    public java.lang.String getExportVocab()

### getGrammarFile

    public GrammarFileMetadata getGrammarFile()

### getImportVocab

    public java.lang.String getImportVocab()

### getPackageName

    public java.lang.String getPackageName()

### getQualifiedClassName

    public java.lang.String getQualifiedClassName()

### getSuperGrammarDelegate

    public GrammarDelegate getSuperGrammarDelegate()

Groovy Documentation