Package com.sun.tools.rngom.binary
Class BinaryPattern
java.lang.Object
com.sun.tools.rngom.binary.Pattern
com.sun.tools.rngom.binary.BinaryPattern
- All Implemented Interfaces:
ParsedPattern
- Direct Known Subclasses:
AfterPattern,ChoicePattern,GroupPattern,InterleavePattern
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfinal voidfillChildren(Collection col) Adds all the children of this pattern to the given collection.final Pattern[]Same asfillChildren(Collection)but returns an array.final Patternfinal PatternMethods inherited from class com.sun.tools.rngom.binary.Pattern
accept, apply, isNullable
-
Field Details
-
p1
-
p2
-
-
Method Details
-
getOperand1
-
getOperand2
-
fillChildren
Adds all the children of this pattern to the given collection.For example, if this pattern is (A|B|C), it adds A, B, and C to the collection, even though internally it's represented as (A|(B|C)).
-
getChildren
Same asfillChildren(Collection)but returns an array.
-