element library

Classes

AnnotatedElement
Represents an element that has been annotated with a specific annotation.
ClassElement
Represents a class element in the Dart language.
ClassElementImpl
Implementation for ClassElement.
ClassMemberElement
Represents a class member element in the Dart language.
Constant
Base class for representing compile-time constant values.
ConstBool
Represents a boolean constant value.
ConstDouble
Represents a double constant value.
ConstEnumValue
Represents an enum value constant.
ConstFunctionReference
Represents a function reference constant.
ConstFunctionReferenceImpl
Implementation of a function reference constant.
ConstInt
Represents an integer constant value.
ConstList
Represents a list constant value.
ConstLiteral<T>
Base class for representing literal constant values.
ConstMap
Represents a map constant value.
ConstNull
Represents a null constant value.
ConstNum
Represents a numeric constant value.
ConstObject
Represents a constant object value.
ConstObjectImpl
Implementation of a constant object.
ConstructorElement
Represents a constructor declaration in a Dart class.
ConstructorElementImpl
Implementation of a constructor element in a Dart class.
ConstructorElementRef
A reference to a constructor in a class.
ConstSet
Represents a set constant value.
ConstString
Represents a string constant value.
ConstSymbol
Represents a Symbol constant value.
ConstType
Represents a type constant (Type literal).
DirectiveElement
Base class for representing directives within Dart libraries.
DirectiveElementImpl
Implementation of a directive element within a Dart library.
Element
The base class for all elements in the Dart language.
ElementAnnotation
Represents an annotation on a Dart element.
ElementAnnotationImpl
Implementation of an element annotation.
ElementImpl
Base implementation for Element.
EnumElement
Represents an enum element in the Dart language.
EnumElementImpl
Implementation for EnumElement.
ExecutableElement
Base interface for elements that can be executed as part of a program.
ExecutableElementImpl
Implementation of an executable element.
ExportElement
Represents an export directive in a Dart library.
ExtensionTypeImpl
Implementation for ExtensionType.
FieldElement
Represents a field element in the Dart language.
FieldElementImpl
Implementation for FieldElement.
FunctionElement
Represents a function declaration in a Dart program.
FunctionElementImpl
Implementation of a function element in a Dart program.
FunctionTypedElement
Base interface for elements that define a function type.
ImportElement
Represents an import directive in a Dart library.
InstanceElement
Represents an element that is an instance of a class.
InterfaceElement
Represents an element that is an interface.
InterfaceElementImpl
Implementation for InterfaceElement.
InvalidConst
Represents an invalid or unresolvable constant value.
LibraryDirectiveElement
Represents a library directive in a Dart library.
LibraryElement
Represents a library element in the Dart language.
LibraryElementImpl
Implementation for LibraryElement.
MethodElement
Represents a method declaration in a class, mixin, or extension.
MethodElementImpl
Implementation of a method element in a Dart class.
MixinElement
Represents a mixin element in the Dart language.
MixinElementImpl
Implementation for MixinElement.
ParameterElement
Represents a parameter element in the Dart language.
ParameterElementImpl
Implementation for ParameterElement.
PartElement
Represents a part directive in a Dart library.
PartOfElement
Represents a part-of directive in a Dart library.
PropertyAccessorElement
Represents a getter or setter method for a property.
PropertyAccessorElementImpl
Implementation of a property accessor element in a Dart class.
TopLevelVariableElement
Represents a top-level variable element in the Dart language.
TopLevelVariableElementImpl
Implementation for TopLevelVariableElement.
TypeAliasElement
Represents a typedef declaration in the Dart language.
TypeAliasElementImpl
Implementation for TypeAliasElement.
TypeParameterizedElement
Represents an element that can have type parameters.
VariableElement
Represents a variable element in the Dart language.
VariableElementImpl
Implementation for VariableElement.

Mixins

TypeParameterizedElementMixin
A mixin that implements the TypeParameterizedElement interface.

Typedefs

ConstantValueCompute = Constant? Function()