TypeDefinition class final
- Inheritance
-
- Object
- AstNode
- Declaration
- TypeDefinition
Constructors
-
TypeDefinition(Token keyword, Token name, Token? leftParenthesis, SyntacticEntityList<
IdentifiedTypeIdentifier> ? parameters, Token? rightParenthesis, Token equals, SyntacticEntityList<TypeVariantNode> variants) -
const
Properties
- end → int
-
The position after the last character of the syntactic entity.
no setteroverride
- equals → Token
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- keyword → Token
-
final
- leftParenthesis → Token?
-
final
- length → int
-
The number of chracters composing the syntactic entity.
no setterinherited
- name → Token
-
final
- offset → int
-
The start position of the syntactic entity within the source code.
no setteroverride
-
parameters
→ SyntacticEntityList<
IdentifiedTypeIdentifier> ? -
final
- rightParenthesis → Token?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
variants
→ SyntacticEntityList<
TypeVariantNode> -
final
Methods
-
accept<
R> (AstNodeVisitor< R> visitor) → R? -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
visitChildren<
R> (AstNodeVisitor< R> visitor) → void -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited