ElementKind class

ElementKind

enum { CLASS CLASS_TYPE_ALIAS COMPILATION_UNIT CONSTRUCTOR CONSTRUCTOR_INVOCATION ENUM ENUM_CONSTANT EXTENSION 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.

Implemented types

Constructors

ElementKind(String name)
factory
ElementKind.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the enumerated value. This should match the name of the static getter which provides access to this enumerated value.
final
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() String
toString() String
A string representation of this object.
override

Operators

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

Constants

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
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
VALUES → const List<ElementKind>
A list containing all of the enum values that are defined.