Package openGql.grammar
Class GraphExpression
- java.lang.Object
-
- openGql.grammar.GraphExpression
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GraphExpression>
- Direct Known Subclasses:
GraphExpression.Current,GraphExpression.Name,GraphExpression.Object_,GraphExpression.Reference
public abstract class GraphExpression extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<GraphExpression>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGraphExpression.Currentstatic classGraphExpression.Namestatic classGraphExpression.Object_static interfaceGraphExpression.PartialVisitor<R>Partial visitor overGraphExpressionwith a defaultGraphExpression.PartialVisitor.otherwise(openGql.grammar.GraphExpression)branch.static classGraphExpression.Referencestatic interfaceGraphExpression.Visitor<R>Visitor overGraphExpression.
-
Field Summary
Fields Modifier and Type Field Description static NameCURRENTName of theopenGql.grammar.GraphExpression.currentfield.static NameNAMEName of theopenGql.grammar.GraphExpression.namefield.static NameOBJECTName of theopenGql.grammar.GraphExpression.objectfield.static NameREFERENCEName of theopenGql.grammar.GraphExpression.referencefield.static NameTYPE_Name of theopenGql.grammar.GraphExpressiontype.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(GraphExpression.Visitor<R> visitor)Dispatch tovisitor.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.GraphExpressiontype.
-
OBJECT
public static final Name OBJECT
Name of theopenGql.grammar.GraphExpression.objectfield.
-
REFERENCE
public static final Name REFERENCE
Name of theopenGql.grammar.GraphExpression.referencefield.
-
NAME
public static final Name NAME
Name of theopenGql.grammar.GraphExpression.namefield.
-
CURRENT
public static final Name CURRENT
Name of theopenGql.grammar.GraphExpression.currentfield.
-
-
Method Detail
-
accept
public abstract <R> R accept(GraphExpression.Visitor<R> visitor)
Dispatch tovisitor.
-
-