Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ActionOK

import type { ActionOK } from "https://raw.githubusercontent.com/wavebeem/bread-n-butter/v0.6.0/src/bread-n-butter.ts";

Represents a successful result from a parser's action callback. This is made automatically by calling context.ok. Make sure to use context.merge when writing a custom parser that executes multiple parser actions.

interface ActionOK <A> {
expected: string[];
furthest: SourceLocation;
location: SourceLocation;
type: "ActionOK";
value: A;
}

§Type Parameters

§Properties

§
expected: string[]
[src]
§
type: "ActionOK"
[src]
§
value: A
[src]