public class DGrammarPattern extends DPattern implements java.lang.Iterable<DDefine>
| Constructor and Description |
|---|
DGrammarPattern() |
| Modifier and Type | Method and Description |
|---|---|
<V> V |
accept(DPatternVisitor<V> visitor) |
DDefine |
get(java.lang.String name)
Gets the named pattern by its name.
|
DPattern |
getStart()
Gets the start pattern.
|
boolean |
isNullable()
Returns true if this pattern is nullable.
|
java.util.Iterator<DDefine> |
iterator()
Iterates all the
DDefines in this grammar. |
createParseable, getAnnotation, getLocation, getNext, isAttribute, isElement, setNextpublic DPattern getStart()
public DDefine get(java.lang.String name)
public java.util.Iterator<DDefine> iterator()
DDefines in this grammar.iterator in interface java.lang.Iterable<DDefine>public boolean isNullable()
DPatternisNullable in class DPatternpublic <V> V accept(DPatternVisitor<V> visitor)
Copyright © 2010 - 2023 Adobe. All Rights Reserved