Constructor | Description |
---|---|
DGrammarPattern() |
Modifier and Type | Method | 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
forEach, spliterator
public DPattern getStart()
public DDefine get(String name)
public boolean isNullable()
DPattern
isNullable
in class DPattern
public <V> V accept(DPatternVisitor<V> visitor)
Copyright © 2018 Oracle Corporation. All rights reserved.