Skip to main content
Module

x/ohm_js/index.d.ts>grammars

A library and language for building parsers, interpreters, compilers, etc.
Go to Latest
function grammars
import { grammars } from "https://deno.land/x/ohm_js@v17.0.3/index.d.ts";

Create a new Namespace containing Grammar instances for all of the grammars defined in source. If namespace is specified, it will be the prototype of the new Namespace.

Parameters

source: string
optional
namespace: Namespace