Package openGql.grammar
Class OptionalOperand
- java.lang.Object
-
- openGql.grammar.OptionalOperand
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<OptionalOperand>
- Direct Known Subclasses:
OptionalOperand.BraceBlock,OptionalOperand.ParenBlock,OptionalOperand.Simple
public abstract class OptionalOperand extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<OptionalOperand>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOptionalOperand.BraceBlockstatic classOptionalOperand.ParenBlockstatic interfaceOptionalOperand.PartialVisitor<R>Partial visitor overOptionalOperandwith a defaultOptionalOperand.PartialVisitor.otherwise(openGql.grammar.OptionalOperand)branch.static classOptionalOperand.Simplestatic interfaceOptionalOperand.Visitor<R>Visitor overOptionalOperand.
-
Field Summary
Fields Modifier and Type Field Description static NameBRACE_BLOCKName of theopenGql.grammar.OptionalOperand.braceBlockfield.static NamePAREN_BLOCKName of theopenGql.grammar.OptionalOperand.parenBlockfield.static NameSIMPLEName of theopenGql.grammar.OptionalOperand.simplefield.static NameTYPE_Name of theopenGql.grammar.OptionalOperandtype.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(OptionalOperand.Visitor<R> visitor)Dispatch tovisitor.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.OptionalOperandtype.
-
SIMPLE
public static final Name SIMPLE
Name of theopenGql.grammar.OptionalOperand.simplefield.
-
BRACE_BLOCK
public static final Name BRACE_BLOCK
Name of theopenGql.grammar.OptionalOperand.braceBlockfield.
-
PAREN_BLOCK
public static final Name PAREN_BLOCK
Name of theopenGql.grammar.OptionalOperand.parenBlockfield.
-
-
Method Detail
-
accept
public abstract <R> R accept(OptionalOperand.Visitor<R> visitor)
Dispatch tovisitor.
-
-