NodeTag<T> class
final
Represents a TagShorthand shorthand that has (not) been resolved to a GlobalTag prefix after it has been parsed.
- Inheritance
-
- Object
- Tag
- ResolvedTag
- NodeTag
Constructors
-
NodeTag(SpecificTag<
T> resolvedTag, [TagShorthand? suffix])
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- prefix → String
-
Actual prefix of the tag. This should not be confused with the
tagHandle which describes a compact way of representing the prefix. For
a GlobalTag or a TagShorthand resolved to a GlobalTag, this is the
full prefix aliased by the tagHandle. For an unresolved TagShorthand,
this defaults to its tagHandle.
no setteroverride
-
resolvedTag
→ SpecificTag<
T> -
A TagShorthand shorthand resolved to a GlobalTag or the tag itself.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suffix → TagShorthand
-
Represents the TagShorthand suffix resolved to GlobalTag prefix in a
YAMLsource string. Defaults tonullif the Tag is a VerbatimTag or a TypeResolverTagfinal - tagHandle → TagHandle
-
Prefix of the tag
no setteroverride
- verbatim → String
-
Full representation of a tag. Any SpecificTag can be represented this
way even if it is unresolved.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override