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:
Iterable<Leaf>
,ParsedPattern
public class Grammar extends Define
- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description static 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(String name)
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
START
public static final String START
The name for the start pattern- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefinitions
public Collection<Define> getDefinitions()
-
-