LocatedNode class final
An OpenAPI node with its physical document and schema context.
Constructors
- LocatedNode(DocumentNode node, Uri? uri, OpenApiFamily family, {String? dialect})
-
Locates node in its source document.
const
Properties
- dialect → String?
-
Inherited schema dialect URI, if available.
final
- family → OpenApiFamily
-
Family of the physical document.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- location → ReferenceLocation
-
Physical identity of this node.
no setter
- node → DocumentNode
-
Node role, value, and JSON Pointer.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → Uri?
-
Physical document URI, if available.
final
Methods
-
at(
String pointer) → ReferenceLocation -
Identifies a
pointerin the same physical document. -
children(
NodeKind kind) → Iterable< LocatedNode> - Visits direct children with the specified role.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
referenceChain(
ReferenceGraph graph) → Iterable< LocatedNode> - Visits static reference targets once per chain.
-
target(
ReferenceTarget target) → LocatedNode - Interprets a resolved target in its source context.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited