Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/node_modules/yaml/dist/parse/lexer.d.ts>Lexer#lex

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
method Lexer.prototype.lex
import { Lexer } from "https://deno.land/x/windmill@v1.354.0/node_modules/yaml/dist/parse/lexer.d.ts";

Generate YAML tokens from the source string. If incomplete, a part of the last line may be left as a buffer for the next call.

Parameters

source: string
optional
incomplete: boolean

Returns

Generator<string, void, unknown>

A generator of lexical tokens