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

x/deno/std/prettier/vendor/index.d.ts>FastPath

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface FastPath
import { type FastPath } from "https://deno.land/x/deno@v0.28.0/std/prettier/vendor/index.d.ts";

Type Parameters

optional
T = any

Properties

stack: any[]

Methods

getName(): null | PropertyKey
getValue(): T
getNode(count?: number): null | T
getParentNode(count?: number): null | T
call<U>(callback: (path: this) => U, ...names: PropertyKey[]): U
each(callback: (path: this) => void, ...names: PropertyKey[]): void
map<U>(callback: (path: this, index: number) => U, ...names: PropertyKey[]): U[]