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

x/windmill/node_modules/yaml/browser/dist/doc/directives.js>Directives

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Latest
class Directives
import { Directives } from "https://deno.land/x/windmill@v1.418.0/node_modules/yaml/browser/dist/doc/directives.js";

Constructors

new
Directives(yaml, tags)

Methods

add(line, onError)

During parsing, get a Directives instance for the current document and update the stream state according to the current version's spec.

tagName(source, onError)

Resolves a tag, matching handles to those defined in %TAG directives.

Given a fully resolved tag, returns its printable string form, taking into account current tag prefixes and defaults.