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

std/encoding/_yaml/mark.ts>Mark

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class Mark
import { Mark } from "https://deno.land/std@0.146.0/encoding/_yaml/mark.ts";

Constructors

new
Mark(
name: string,
buffer: string,
position: number,
line: number,
column: number,
)

Methods

getSnippet(indent?, maxLength?): string | null
toString(compact?: boolean): string