@r47onfire/nebula - v0.0.0
GitHub
Backolon
Preparing search index...
nebula
parseToCST
Function parseToCST
parseToCST
<
R
extends
string
>
(
text
:
string
,
filename
:
Readonly
<
URL
>
,
startIndex
:
number
,
startRule
:
R
,
grammar
:
Grammar
<
R
>
,
recoverNodeType
:
R
,
errorType
?:
R
,
memo
?:
Memo
<
R
>
,
)
:
CSTNode
<
R
>
Parse text into a CST. The CST may contain error nodes if there were syntax errors.
Type Parameters
R
extends
string
Parameters
text
:
string
filename
:
Readonly
<
URL
>
startIndex
:
number
startRule
:
R
grammar
:
Grammar
<
R
>
recoverNodeType
:
R
errorType
:
R
= ...
memo
:
Memo
<
R
>
= {}
Returns
CSTNode
<
R
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
GitHub
Backolon
@r47onfire/nebula - v0.0.0
Loading...
Parse text into a CST. The CST may contain error nodes if there were syntax errors.