ElementKind enum

ElementKind

enum { CLASS CLASS_TYPE_ALIAS COMPILATION_UNIT CONSTRUCTOR CONSTRUCTOR_INVOCATION ENUM ENUM_CONSTANT EXTENSION EXTENSION_TYPE FIELD FILE FUNCTION FUNCTION_INVOCATION FUNCTION_TYPE_ALIAS GETTER LABEL LIBRARY LOCAL_VARIABLE METHOD MIXIN PARAMETER PREFIX SETTER TOP_LEVEL_VARIABLE TYPE_ALIAS TYPE_PARAMETER UNIT_TEST_GROUP UNIT_TEST_TEST UNKNOWN }

Clients may not extend, implement or mix-in this class.

Inheritance
Available extensions

Values

CLASS → const ElementKind
CLASS_TYPE_ALIAS → const ElementKind
COMPILATION_UNIT → const ElementKind
CONSTRUCTOR → const ElementKind
CONSTRUCTOR_INVOCATION → const ElementKind
ENUM → const ElementKind
ENUM_CONSTANT → const ElementKind
EXTENSION → const ElementKind
EXTENSION_TYPE → const ElementKind
FIELD → const ElementKind
FILE → const ElementKind
FUNCTION → const ElementKind
FUNCTION_INVOCATION → const ElementKind
FUNCTION_TYPE_ALIAS → const ElementKind
GETTER → const ElementKind
LABEL → const ElementKind
LIBRARY → const ElementKind
LOCAL_VARIABLE → const ElementKind
METHOD → const ElementKind
MIXIN → const ElementKind
PARAMETER → const ElementKind
PREFIX → const ElementKind
SETTER → const ElementKind
TOP_LEVEL_VARIABLE → const ElementKind
TYPE_ALIAS → const ElementKind
TYPE_PARAMETER → const ElementKind
UNIT_TEST_GROUP → const ElementKind
UNIT_TEST_TEST → const ElementKind
UNKNOWN → const ElementKind

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({ClientUriConverter? clientUriConverter}) String
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ElementKind>
A constant List of the values in this enum, in order of their declaration.