| Modifier and Type | Field and Description |
|---|---|
| protected final Map | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final ReferenceExp | |
| public final ReferenceExp | |
| protected abstract ReferenceExp | |
| public final ReferenceExp[] | |
| public final Iterator | |
| public void | redefine(String name, ReferenceExp newExp)
replaces the current ReferenceExp by newly specified reference exp. |
| public final ReferenceExp | |
| public final int |
| impl | back to summary |
|---|---|
| protected final Map<String, ReferenceExp> impl | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ReferenceContainer | back to summary |
|---|---|
| public ReferenceContainer() | |
| _get | back to summary |
|---|---|
| public final ReferenceExp _get(String name) gets a referenced expression Derived class should provide type-safe accesser methods.
| |
| _getOrCreate | back to summary |
|---|---|
| public final ReferenceExp _getOrCreate(String name) gets or creates ReferenceExp object.
Derived class should provide type-safe accesser methods.
Usually, this method is only necessary for some kind of grammar loader.
If you are programming an application over MSV,
| |
| createReference | back to summary |
|---|---|
| protected abstract ReferenceExp createReference(String name) creates a new reference object with given name | |
| getAll | back to summary |
|---|---|
| public final ReferenceExp[] getAll() obtains all items in this container. | |
| iterator | back to summary |
|---|---|
| public final Iterator iterates all ReferenceExp in this container | |
| redefine | back to summary |
|---|---|
| public void redefine(String name, ReferenceExp newExp) replaces the current ReferenceExp by newly specified reference exp. | |
| remove | back to summary |
|---|---|
| public final ReferenceExp remove(String name) removes an object from this container.
| |
| size | back to summary |
|---|---|
| public final int size() gets the number of ReferenceExps in this container. | |