Iterable<Leaf>
, ParsedPattern
Grammar
public class Define extends WriterNode
Modifier and Type | Field | Description |
---|---|---|
String |
name |
|
Grammar |
scope |
alternativeName
Modifier and Type | Method | Description |
---|---|---|
boolean |
isInline() |
Returns true if this define only contains
one child (and thus considered inlinable.)
A pattern definition is also inlineable if
it's the start of the grammar (because "start" isn't a meaningful name)
|
String |
toString() |
forEach, spliterator
createDataMethod, getNext, getPrev, merge, siblings
addChild, hasOneChild, iterator
Copyright © 2018 Oracle Corporation. All rights reserved.