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
Copyright © 2012 Oracle. All Rights Reserved.