Prism API - v2.0.0-alpha.1
Home
GitHub
Preparing search index...
util/grammar-patch
grammarPatch
Function grammarPatch
grammarPatch
(
grammar
:
Grammar
,
patch
?:
Grammar
)
:
Grammar
Apply a patch to a grammar to modify it. The patch and the grammar may be the same object.
Parameters
grammar
:
Grammar
Optional
patch
:
Grammar
= grammar
Returns
Grammar
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Home
GitHub
Prism API - v2.0.0-alpha.1
Loading...
Apply a patch to a grammar to modify it. The patch and the grammar may be the same object.