<grammar> pattern, which is a collection of named patterns.
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| pack-priv DPattern |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <V> V | |
| public DDefine | |
| pack-priv DDefine | |
| public DPattern | |
| public boolean | isNullable()
Implements abstract com. Returns true if this pattern is nullable. |
| public Iterator |
| patterns | back to summary |
|---|---|
| private final Map<String, DDefine> patterns | |
| start | back to summary |
|---|---|
| pack-priv DPattern start | |
| DGrammarPattern | back to summary |
|---|---|
| public DGrammarPattern() | |
| accept | back to summary |
|---|---|
| public <V> V accept(DPatternVisitor<V> visitor) Implements abstract com. | |
| get | back to summary |
|---|---|
| public DDefine get(String name) Gets the named pattern by its name.
| |
| getOrAdd | back to summary |
|---|---|
| pack-priv DDefine getOrAdd(String name) | |
| getStart | back to summary |
|---|---|
| public DPattern getStart() Gets the start pattern. | |
| isNullable | back to summary |
|---|---|
| public boolean isNullable() Implements abstract com. Doc from com. Returns true if this pattern is nullable. A nullable pattern is a pattern that can match the empty sequence. | |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Iterates all the | |