import { GrammarDecl } from "https://deno.land/x/ohm_js@v17.1.0/src/GrammarDecl.js";
Methods
build()
define()
name,
formals,
body,
description,
source,
primitive,
ensureSuperGrammarRuleForOverriding(name, source)
extend()
name,
formals,
fragment,
descIgnored,
source,
install()
name,
formals,
body,
description,
source,
primitive?,
installOverriddenOrExtendedRule()
name,
formals,
body,
source,
override()
name,
formals,
body,
descIgnored,
source,
sourceInterval(startIdx, endIdx)
withDefaultStartRule(ruleName)
withSource(source)
withSuperGrammar(superGrammar)