Package openGql.grammar
Class PathFactor
- java.lang.Object
-
- openGql.grammar.PathFactor
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PathFactor>
- Direct Known Subclasses:
PathFactor.Primary,PathFactor.QuantifiedPrimary,PathFactor.QuestionedPrimary
public abstract class PathFactor extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<PathFactor>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePathFactor.PartialVisitor<R>Partial visitor overPathFactorwith a defaultPathFactor.PartialVisitor.otherwise(openGql.grammar.PathFactor)branch.static classPathFactor.Primarystatic classPathFactor.QuantifiedPrimarystatic classPathFactor.QuestionedPrimarystatic interfacePathFactor.Visitor<R>Visitor overPathFactor.
-
Field Summary
Fields Modifier and Type Field Description static NamePRIMARYName of theopenGql.grammar.PathFactor.primaryfield.static NameQUANTIFIED_PRIMARYName of theopenGql.grammar.PathFactor.quantifiedPrimaryfield.static NameQUESTIONED_PRIMARYName of theopenGql.grammar.PathFactor.questionedPrimaryfield.static NameTYPE_Name of theopenGql.grammar.PathFactortype.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(PathFactor.Visitor<R> visitor)Dispatch tovisitor.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.PathFactortype.
-
PRIMARY
public static final Name PRIMARY
Name of theopenGql.grammar.PathFactor.primaryfield.
-
QUANTIFIED_PRIMARY
public static final Name QUANTIFIED_PRIMARY
Name of theopenGql.grammar.PathFactor.quantifiedPrimaryfield.
-
QUESTIONED_PRIMARY
public static final Name QUESTIONED_PRIMARY
Name of theopenGql.grammar.PathFactor.questionedPrimaryfield.
-
-
Method Detail
-
accept
public abstract <R> R accept(PathFactor.Visitor<R> visitor)
Dispatch tovisitor.
-
-