Constructor and Description |
---|
DGrammarPattern() |
Modifier and Type | Method and Description |
---|---|
<V> V |
accept(DPatternVisitor<V> visitor) |
DDefine |
get(String name)
Gets the named pattern by its name.
|
DPattern |
getStart()
Gets the start pattern.
|
boolean |
isNullable()
Returns true if this pattern is nullable.
|
Iterator<DDefine> |
iterator()
Iterates all the
DDefine s in this grammar. |
createParseable, getAnnotation, getLocation, isAttribute, isElement
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public DPattern getStart()
public boolean isNullable()
DPattern
isNullable
in class DPattern
public <V> V accept(DPatternVisitor<V> visitor)
Copyright © 2019 JBoss by Red Hat. All rights reserved.