Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class LoaderState
extends State
import { LoaderState } from "https://deno.land/std@0.128.0/encoding/_yaml/loader/loader_state.ts";

Constructors

new
LoaderState(input: string, unnamed 1: LoaderStateOptions)

Properties

optional
anchor: string | null
optional
anchorMap: ArrayObject
optional
checkLineBreaks: boolean
documents: Any[]
optional
filename: string
implicitTypes: Type[]
json: boolean
optional
kind: string | null
legacy: boolean
length: number
line: number
lineIndent: number
lineStart: number
optional
listener: ((...args: Any[]) => void) | null
optional
onWarning: (...args: Any[]) => void
position: number
result: ResultType | null
optional
tag: string | null
optional
tagMap: ArrayObject
typeMap: TypeMap
optional
version: string | null