Package com.sun.tools.txw2.model
Class Grammar
- java.lang.Object
-
- com.sun.tools.txw2.model.Leaf
-
- com.sun.tools.txw2.model.Node
-
- com.sun.tools.txw2.model.WriterNode
-
- com.sun.tools.txw2.model.Define
-
- com.sun.tools.txw2.model.Grammar
-
- All Implemented Interfaces:
java.lang.Iterable<Leaf>
,ParsedPattern
public class Grammar extends Define
- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
START
The name for the start pattern-
Fields inherited from class com.sun.tools.txw2.model.WriterNode
alternativeName
-
-
Constructor Summary
Constructors Constructor Description Grammar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Define
get(java.lang.String name)
java.util.Collection<Define>
getDefinitions()
-
Methods inherited from class com.sun.tools.txw2.model.Node
addChild, hasOneChild, iterator
-
Methods inherited from class com.sun.tools.txw2.model.Leaf
createDataMethod, getNext, getPrev, merge, siblings
-
-
-
-
Field Detail
-
START
public static final java.lang.String START
The name for the start pattern- See Also:
- Constant Field Values
-
-