TOC Toolkit API - v0.1.0
Preparing search index...
toc-toolkit/grammars
asContextFree
Function asContextFree
asContextFree
(
grammar
:
Grammar
,
)
:
Result
<
Grammar
<
ContextFreeProduction
>
,
readonly
GrammarIssue
[]
>
Narrows any checked grammar with single-variable left sides, regardless of declared kind.
Parameters
grammar
:
Grammar
Returns
Result
<
Grammar
<
ContextFreeProduction
>
,
readonly
GrammarIssue
[]
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
TOC Toolkit API - v0.1.0
Loading...
Narrows any checked grammar with single-variable left sides, regardless of declared kind.