| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | ValidatingGrammarGenerator.LitS
A wrapper around Schema that does "==" equality. |
| Access | Constructor and Description |
|---|---|
| public |
| ValidatingGrammarGenerator | back to summary |
|---|---|
| public ValidatingGrammarGenerator() | |
| generate | back to summary |
|---|---|
| public Symbol generate(Schema schema) Returns the non-terminal that is the start symbol for the grammar for the given schema sc. | |
| generate | back to summary |
|---|---|
| public Symbol generate(Schema sc, Map<ValidatingGrammarGenerator. Returns the non-terminal that is the start symbol for the grammar for the given schema sc. If there is already an entry for the given schema in the given map seen then that entry is returned. Otherwise a new symbol is generated and an entry is inserted into the map. | |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public int |
| actual | back to summary |
|---|---|
| public final Schema actual | |
| LitS | back to summary |
|---|---|
| public LitS(Schema actual) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Two LitS are equal if and only if their underlying schema is the same (not merely equal).
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |