Package openGql.grammar
Class GeneralLiteral
- java.lang.Object
-
- openGql.grammar.GeneralLiteral
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GeneralLiteral>
- Direct Known Subclasses:
GeneralLiteral.Boolean_,GeneralLiteral.ByteString,GeneralLiteral.CharacterString,GeneralLiteral.Duration,GeneralLiteral.List,GeneralLiteral.NullLiteral,GeneralLiteral.Record,GeneralLiteral.Temporal
public abstract class GeneralLiteral extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<GeneralLiteral>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeneralLiteral.Boolean_static classGeneralLiteral.ByteStringstatic classGeneralLiteral.CharacterStringstatic classGeneralLiteral.Durationstatic classGeneralLiteral.Liststatic classGeneralLiteral.NullLiteralstatic interfaceGeneralLiteral.PartialVisitor<R>Partial visitor overGeneralLiteralwith a defaultGeneralLiteral.PartialVisitor.otherwise(openGql.grammar.GeneralLiteral)branch.static classGeneralLiteral.Recordstatic classGeneralLiteral.Temporalstatic interfaceGeneralLiteral.Visitor<R>Visitor overGeneralLiteral.
-
Field Summary
Fields Modifier and Type Field Description static NameBOOLEANName of theopenGql.grammar.GeneralLiteral.booleanfield.static NameBYTE_STRINGName of theopenGql.grammar.GeneralLiteral.byteStringfield.static NameCHARACTER_STRINGName of theopenGql.grammar.GeneralLiteral.characterStringfield.static NameDURATIONName of theopenGql.grammar.GeneralLiteral.durationfield.static NameLISTName of theopenGql.grammar.GeneralLiteral.listfield.static NameNULL_LITERALName of theopenGql.grammar.GeneralLiteral.nullLiteralfield.static NameRECORDName of theopenGql.grammar.GeneralLiteral.recordfield.static NameTEMPORALName of theopenGql.grammar.GeneralLiteral.temporalfield.static NameTYPE_Name of theopenGql.grammar.GeneralLiteraltype.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(GeneralLiteral.Visitor<R> visitor)Dispatch tovisitor.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.GeneralLiteraltype.
-
BOOLEAN
public static final Name BOOLEAN
Name of theopenGql.grammar.GeneralLiteral.booleanfield.
-
CHARACTER_STRING
public static final Name CHARACTER_STRING
Name of theopenGql.grammar.GeneralLiteral.characterStringfield.
-
BYTE_STRING
public static final Name BYTE_STRING
Name of theopenGql.grammar.GeneralLiteral.byteStringfield.
-
TEMPORAL
public static final Name TEMPORAL
Name of theopenGql.grammar.GeneralLiteral.temporalfield.
-
DURATION
public static final Name DURATION
Name of theopenGql.grammar.GeneralLiteral.durationfield.
-
NULL_LITERAL
public static final Name NULL_LITERAL
Name of theopenGql.grammar.GeneralLiteral.nullLiteralfield.
-
LIST
public static final Name LIST
Name of theopenGql.grammar.GeneralLiteral.listfield.
-
RECORD
public static final Name RECORD
Name of theopenGql.grammar.GeneralLiteral.recordfield.
-
-
Method Detail
-
accept
public abstract <R> R accept(GeneralLiteral.Visitor<R> visitor)
Dispatch tovisitor.
-
-