Package hydra.typeScript.syntax
Class PropertyKind
- java.lang.Object
-
- hydra.typeScript.syntax.PropertyKind
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PropertyKind>
- Direct Known Subclasses:
PropertyKind.Get,PropertyKind.Init,PropertyKind.Set
public abstract class PropertyKind extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<PropertyKind>
The kind of an object property- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPropertyKind.GetA getterstatic classPropertyKind.InitA normal property initializationstatic interfacePropertyKind.PartialVisitor<R>Partial visitor overPropertyKindwith a defaultPropertyKind.PartialVisitor.otherwise(hydra.typeScript.syntax.PropertyKind)branch.static classPropertyKind.SetA setterstatic interfacePropertyKind.Visitor<R>Visitor overPropertyKind.
-
Field Summary
Fields Modifier and Type Field Description static NameGETName of thehydra.typeScript.syntax.PropertyKind.getfield.static NameINITName of thehydra.typeScript.syntax.PropertyKind.initfield.static NameSETName of thehydra.typeScript.syntax.PropertyKind.setfield.static NameTYPE_Name of thehydra.typeScript.syntax.PropertyKindtype.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(PropertyKind.Visitor<R> visitor)Dispatch tovisitor.abstract inthydraOrdinal()
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.typeScript.syntax.PropertyKindtype.
-
INIT
public static final Name INIT
Name of thehydra.typeScript.syntax.PropertyKind.initfield.
-
GET
public static final Name GET
Name of thehydra.typeScript.syntax.PropertyKind.getfield.
-
SET
public static final Name SET
Name of thehydra.typeScript.syntax.PropertyKind.setfield.
-
-
Method Detail
-
accept
public abstract <R> R accept(PropertyKind.Visitor<R> visitor)
Dispatch tovisitor.
-
hydraOrdinal
public abstract int hydraOrdinal()
-
-