Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/node_modules/yaml/browser/dist/index.js

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Latest
import * as windmill from "https://deno.land/x/windmill@v1.441.1/node_modules/yaml/browser/dist/index.js";

Classes

Compose a stream of CST nodes into a stream of YAML Documents.

Splits an input string into lexical tokens, i.e. smaller strings that are easily identifiable by tokens.tokenType().

Tracks newlines during parsing in order to provide an efficient API for determining the one-indexed { line, col } position for any offset within the input.

A YAML concrete syntax tree (CST) parser

Variables

The byte order mark

Start of doc-mode

Unexpected end of flow-mode

Next token is a scalar value

Stringify a CST document, token, or collection item

Functions

Create a new scalar token with value

Get a printable representation of a lexer token

Set the value of token to the given string value, overwriting any previous contents and type that it may have.

Identify the type of a lexer token. May return null for unknown tokens.

Apply a visitor to a CST document or item.

Parse the input as a stream of YAML documents.

Parse an input string into a single YAML.Document

Apply a visitor to an AST node or document.

Apply an async visitor to an AST node or document.