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
DDefine s in this grammar. |
createParseable, getAnnotation, getLocation, getNext, isAttribute, isElement, setNext
public DPattern getStart()
public DDefine get(java.lang.String name)
public java.util.Iterator<DDefine> iterator()
DDefine
s in this grammar.iterator
in interface java.lang.Iterable<DDefine>
public boolean isNullable()
DPattern
isNullable
in class DPattern
public <V> V accept(DPatternVisitor<V> visitor)
Copyright © 2010 - 2020 Adobe. All Rights Reserved