public class Define extends WriterNode
Modifier and Type | Field and Description |
---|---|
String |
name |
Grammar |
scope |
alternativeName
Modifier and Type | Method and 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() |
addChild, hasOneChild, iterator
createDataMethod, getNext, getPrev, merge, siblings
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
Copyright © 2019 Oracle Corporation. All rights reserved.