Package openGql.grammar
Class MatchMode
- java.lang.Object
-
- openGql.grammar.MatchMode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MatchMode>
- Direct Known Subclasses:
MatchMode.DifferentEdges,MatchMode.RepeatableElements
public abstract class MatchMode extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<MatchMode>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMatchMode.DifferentEdgesstatic interfaceMatchMode.PartialVisitor<R>Partial visitor overMatchModewith a defaultMatchMode.PartialVisitor.otherwise(openGql.grammar.MatchMode)branch.static classMatchMode.RepeatableElementsstatic interfaceMatchMode.Visitor<R>Visitor overMatchMode.
-
Field Summary
Fields Modifier and Type Field Description static NameDIFFERENT_EDGESName of theopenGql.grammar.MatchMode.differentEdgesfield.static NameREPEATABLE_ELEMENTSName of theopenGql.grammar.MatchMode.repeatableElementsfield.static NameTYPE_Name of theopenGql.grammar.MatchModetype.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(MatchMode.Visitor<R> visitor)Dispatch tovisitor.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.MatchModetype.
-
REPEATABLE_ELEMENTS
public static final Name REPEATABLE_ELEMENTS
Name of theopenGql.grammar.MatchMode.repeatableElementsfield.
-
DIFFERENT_EDGES
public static final Name DIFFERENT_EDGES
Name of theopenGql.grammar.MatchMode.differentEdgesfield.
-
-
Method Detail
-
accept
public abstract <R> R accept(MatchMode.Visitor<R> visitor)
Dispatch tovisitor.
-
-