Package openGql.grammar
Class NodeTypeSpecification.Phrase
- java.lang.Object
-
- openGql.grammar.NodeTypeSpecification
-
- openGql.grammar.NodeTypeSpecification.Phrase
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NodeTypeSpecification>
- Enclosing class:
- NodeTypeSpecification
public static final class NodeTypeSpecification.Phrase extends NodeTypeSpecification implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class openGql.grammar.NodeTypeSpecification
NodeTypeSpecification.PartialVisitor<R>, NodeTypeSpecification.Pattern, NodeTypeSpecification.Phrase, NodeTypeSpecification.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description NodeTypePhrasevalue-
Fields inherited from class openGql.grammar.NodeTypeSpecification
PATTERN, PHRASE, TYPE_
-
-
Constructor Summary
Constructors Constructor Description Phrase(NodeTypePhrase value)Constructs an immutableNodeTypeSpecification.Phrase.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(NodeTypeSpecification.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(NodeTypeSpecification other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Field Detail
-
value
public final NodeTypePhrase value
-
-
Constructor Detail
-
Phrase
public Phrase(NodeTypePhrase value)
Constructs an immutableNodeTypeSpecification.Phrase.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(NodeTypeSpecification other)
- Specified by:
compareToin interfacejava.lang.Comparable<NodeTypeSpecification>
-
accept
public <R> R accept(NodeTypeSpecification.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classNodeTypeSpecification
-
-