Package openGql.grammar
Class LabelExpression
- java.lang.Object
-
- openGql.grammar.LabelExpression
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LabelExpression>
- Direct Known Subclasses:
LabelExpression.Conjunction,LabelExpression.Disjunction,LabelExpression.Name,LabelExpression.Negation,LabelExpression.Parenthesized,LabelExpression.Wildcard
public abstract class LabelExpression extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<LabelExpression>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLabelExpression.Conjunctionstatic classLabelExpression.Disjunctionstatic classLabelExpression.Namestatic classLabelExpression.Negationstatic classLabelExpression.Parenthesizedstatic interfaceLabelExpression.PartialVisitor<R>Partial visitor overLabelExpressionwith a defaultLabelExpression.PartialVisitor.otherwise(openGql.grammar.LabelExpression)branch.static interfaceLabelExpression.Visitor<R>Visitor overLabelExpression.static classLabelExpression.Wildcard
-
Field Summary
Fields Modifier and Type Field Description static NameCONJUNCTIONName of theopenGql.grammar.LabelExpression.conjunctionfield.static NameDISJUNCTIONName of theopenGql.grammar.LabelExpression.disjunctionfield.static NameNAMEName of theopenGql.grammar.LabelExpression.namefield.static NameNEGATIONName of theopenGql.grammar.LabelExpression.negationfield.static NamePARENTHESIZEDName of theopenGql.grammar.LabelExpression.parenthesizedfield.static NameTYPE_Name of theopenGql.grammar.LabelExpressiontype.static NameWILDCARDName of theopenGql.grammar.LabelExpression.wildcardfield.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(LabelExpression.Visitor<R> visitor)Dispatch tovisitor.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.LabelExpressiontype.
-
NEGATION
public static final Name NEGATION
Name of theopenGql.grammar.LabelExpression.negationfield.
-
CONJUNCTION
public static final Name CONJUNCTION
Name of theopenGql.grammar.LabelExpression.conjunctionfield.
-
DISJUNCTION
public static final Name DISJUNCTION
Name of theopenGql.grammar.LabelExpression.disjunctionfield.
-
NAME
public static final Name NAME
Name of theopenGql.grammar.LabelExpression.namefield.
-
WILDCARD
public static final Name WILDCARD
Name of theopenGql.grammar.LabelExpression.wildcardfield.
-
PARENTHESIZED
public static final Name PARENTHESIZED
Name of theopenGql.grammar.LabelExpression.parenthesizedfield.
-
-
Method Detail
-
accept
public abstract <R> R accept(LabelExpression.Visitor<R> visitor)
Dispatch tovisitor.
-
-