Search
Preparing search index...
The search index is not available
davinci-mathscript 1.3.2
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
JSXParser
Class JSXParser
Hierarchy
Parser
JSXParser
Index
Constructors
constructor
Properties
config
context
delegate
error
Handler
has
Line
Terminator
last
Marker
lookahead
operator
Precedence
scanner
start
Marker
tokens
Methods
binary
Precedence
check
Pattern
Param
collect
Comments
consume
Semicolon
convert
Token
createJSXChild
Node
createJSXNode
create
Node
expect
expect
Comma
Separator
expectJSX
expect
Keyword
finalize
finishJSX
get
Token
Raw
inherit
Cover
Grammar
is
Identifier
Name
is
Lexical
Declaration
is
Property
Key
is
Start
OfExpression
isolate
Cover
Grammar
lexJSX
match
match
Assign
match
Async
Function
match
Contextual
Keyword
match
Import
Call
matchJSX
match
Keyword
nextJSXText
nextJSXToken
next
Regex
Token
next
Token
parse
Arguments
parse
Array
Initializer
parse
Array
Pattern
parse
Assignment
Expression
parse
Async
Argument
parse
Async
Arguments
parse
Await
Expression
parse
Binary
Expression
parse
Binding
List
parse
Binding
Rest
Element
parse
Block
parse
Break
Statement
parse
Catch
Clause
parse
Class
Body
parse
Class
Declaration
parse
Class
Element
parse
Class
Element
List
parse
Class
Expression
parse
ComplexJSXElement
parse
Conditional
Expression
parse
Continue
Statement
parse
Debugger
Statement
parse
Directive
parse
Directive
Prologues
parse
DoWhile
Statement
parse
Empty
Statement
parse
Exponentiation
Expression
parse
Export
Declaration
parse
Export
Specifier
parse
Expression
parse
Expression
Statement
parse
Finally
Clause
parse
For
Statement
parse
Formal
Parameter
parse
Formal
Parameters
parse
Function
Declaration
parse
Function
Expression
parse
Function
Source
Elements
parse
Generator
Method
parse
Getter
Method
parse
Group
Expression
parse
Identifier
Name
parse
IfClause
parse
IfStatement
parse
Import
Call
parse
Import
Declaration
parse
Import
Default
Specifier
parse
Import
Namespace
Specifier
parse
Import
Specifier
parseJSXAttribute
Name
parseJSXAttribute
Value
parseJSXAttributes
parseJSXBoundary
Element
parseJSXChildren
parseJSXElement
parseJSXElement
Name
parseJSXEmpty
Expression
parseJSXExpression
Attribute
parseJSXExpression
Container
parseJSXIdentifier
parseJSXName
Value
Attribute
parseJSXOpening
Element
parseJSXRoot
parseJSXSpread
Attribute
parseJSXString
Literal
Attribute
parse
Labelled
Statement
parse
Left
Hand
Side
Expression
parse
Left
Hand
Side
Expression
Allow
Call
parse
Lexical
Binding
parse
Lexical
Declaration
parse
Module
parse
Module
Specifier
parse
Named
Imports
parse
New
Expression
parse
Object
Initializer
parse
Object
Pattern
parse
Object
Property
parse
Object
Property
Key
parse
Pattern
parse
Pattern
With
Default
parse
Primary
Expression
parse
Property
Method
parse
Property
Method
Async
Function
parse
Property
Method
Function
parse
Property
Pattern
parse
Rest
Element
parse
Rest
Property
parse
Return
Statement
parse
Script
parse
Setter
Method
parse
Spread
Element
parse
Spread
Property
parse
Statement
parse
Statement
List
Item
parse
Super
parse
Switch
Case
parse
Switch
Statement
parse
Template
Element
parse
Template
Head
parse
Template
Literal
parse
Throw
Statement
parse
Try
Statement
parse
Unary
Expression
parse
Update
Expression
parse
Variable
Declaration
parse
Variable
Declaration
List
parse
Variable
Identifier
parse
Variable
Statement
parse
While
Statement
parse
With
Statement
parse
Yield
Expression
peekJSXToken
qualified
Property
Name
reenterJSX
reinterpret
AsCover
Formals
List
reinterpret
Expression
AsPattern
scanXHTMLEntity
startJSX
start
Node
throw
Error
throw
Unexpected
Token
tolerate
Error
tolerate
Unexpected
Token
unexpected
Token
Error
validate
Param
Constructors
constructor
new JSXParser
(
code
:
string
, options
:
any
, delegate
:
any
)
:
JSXParser
Parameters
code:
string
options:
any
delegate:
any
Returns
JSXParser
Properties
Readonly
config
config
:
Config
context
context
:
Context
Readonly
delegate
delegate
:
(
(
node
:
any
, metadata
:
MetaData
)
=>
void
)
|
null
Readonly
error
Handler
error
Handler
:
ErrorHandler
has
Line
Terminator
has
Line
Terminator
:
boolean
last
Marker
last
Marker
:
Marker
lookahead
lookahead
:
RawToken
Readonly
operator
Precedence
operator
Precedence
:
{}
Type declaration
[
ch:
string
]:
number
Readonly
scanner
scanner
:
Scanner
start
Marker
start
Marker
:
Marker
tokens
tokens
:
any
[]
Methods
binary
Precedence
binary
Precedence
(
token
:
any
)
:
number
Parameters
token:
any
Returns
number
check
Pattern
Param
check
Pattern
Param
(
options
:
any
, param
:
any
)
:
void
Parameters
options:
any
param:
any
Returns
void
collect
Comments
collect
Comments
(
)
:
void
Returns
void
consume
Semicolon
consume
Semicolon
(
)
:
void
Returns
void
convert
Token
convert
Token
(
token
:
RawToken
)
:
TokenEntry
Parameters
token:
RawToken
Returns
TokenEntry
createJSXChild
Node
createJSXChild
Node
(
)
:
Marker
Returns
Marker
createJSXNode
createJSXNode
(
)
:
Marker
Returns
Marker
create
Node
create
Node
(
)
:
Marker
Returns
Marker
expect
expect
(
value
:
any
)
:
void
Parameters
value:
any
Returns
void
expect
Comma
Separator
expect
Comma
Separator
(
)
:
void
Returns
void
expectJSX
expectJSX
(
value
:
any
)
:
void
Parameters
value:
any
Returns
void
expect
Keyword
expect
Keyword
(
keyword
:
any
)
:
void
Parameters
keyword:
any
Returns
void
finalize
finalize
(
marker
:
Marker
, node
:
any
)
:
any
Parameters
marker:
Marker
node:
any
Returns
any
finishJSX
finishJSX
(
)
:
void
Returns
void
get
Token
Raw
get
Token
Raw
(
token
:
any
)
:
string
Parameters
token:
any
Returns
string
inherit
Cover
Grammar
inherit
Cover
Grammar
(
parseFunction
:
any
)
:
any
Parameters
parseFunction:
any
Returns
any
is
Identifier
Name
is
Identifier
Name
(
token
:
any
)
:
boolean
Parameters
token:
any
Returns
boolean
is
Lexical
Declaration
is
Lexical
Declaration
(
)
:
boolean
Returns
boolean
is
Property
Key
is
Property
Key
(
key
:
any
, value
:
any
)
:
boolean
Parameters
key:
any
value:
any
Returns
boolean
is
Start
OfExpression
is
Start
OfExpression
(
)
:
boolean
Returns
boolean
isolate
Cover
Grammar
isolate
Cover
Grammar
(
parseFunction
:
any
)
:
any
Parameters
parseFunction:
any
Returns
any
lexJSX
lexJSX
(
)
:
RawJSXToken
Returns
RawJSXToken
match
match
(
value
:
string
)
:
boolean
Parameters
value:
string
Returns
boolean
match
Assign
match
Assign
(
)
:
boolean
Returns
boolean
match
Async
Function
match
Async
Function
(
)
:
boolean
Returns
boolean
match
Contextual
Keyword
match
Contextual
Keyword
(
keyword
:
any
)
:
boolean
Parameters
keyword:
any
Returns
boolean
match
Import
Call
match
Import
Call
(
)
:
boolean
Returns
boolean
matchJSX
matchJSX
(
value
:
any
)
:
boolean
Parameters
value:
any
Returns
boolean
match
Keyword
match
Keyword
(
keyword
:
any
)
:
boolean
Parameters
keyword:
any
Returns
boolean
nextJSXText
nextJSXText
(
)
:
RawJSXToken
Returns
RawJSXToken
nextJSXToken
nextJSXToken
(
)
:
RawJSXToken
Returns
RawJSXToken
next
Regex
Token
next
Regex
Token
(
)
:
RawToken
Returns
RawToken
next
Token
next
Token
(
)
:
RawToken
Returns
RawToken
parse
Arguments
parse
Arguments
(
)
:
Node.ArgumentListElement
[]
Returns
Node.ArgumentListElement
[]
parse
Array
Initializer
parse
Array
Initializer
(
)
:
ArrayExpression
Returns
ArrayExpression
parse
Array
Pattern
parse
Array
Pattern
(
params
:
any
, kind
?:
"const"
|
"let"
|
"var"
)
:
ArrayPattern
Parameters
params:
any
Optional
kind:
"const"
|
"let"
|
"var"
Returns
ArrayPattern
parse
Assignment
Expression
parse
Assignment
Expression
(
)
:
Node.Expression
Returns
Node.Expression
parse
Async
Argument
parse
Async
Argument
(
)
:
ArrayExpression
|
ArrowFunctionExpression
|
AssignmentExpression
|
AsyncArrowFunctionExpression
|
AsyncFunctionExpression
|
AwaitExpression
|
BinaryExpression
|
CallExpression
|
ClassExpression
|
ComputedMemberExpression
|
ConditionalExpression
|
Identifier
|
FunctionExpression
|
Literal
|
NewExpression
|
ObjectExpression
|
RegexLiteral
|
SequenceExpression
|
StaticMemberExpression
|
TaggedTemplateExpression
|
ThisExpression
|
UnaryExpression
|
UpdateExpression
|
YieldExpression
Returns
ArrayExpression
|
ArrowFunctionExpression
|
AssignmentExpression
|
AsyncArrowFunctionExpression
|
AsyncFunctionExpression
|
AwaitExpression
|
BinaryExpression
|
CallExpression
|
ClassExpression
|
ComputedMemberExpression
|
ConditionalExpression
|
Identifier
|
FunctionExpression
|
Literal
|
NewExpression
|
ObjectExpression
|
RegexLiteral
|
SequenceExpression
|
StaticMemberExpression
|
TaggedTemplateExpression
|
ThisExpression
|
UnaryExpression
|
UpdateExpression
|
YieldExpression
parse
Async
Arguments
parse
Async
Arguments
(
)
:
Node.ArgumentListElement
[]
Returns
Node.ArgumentListElement
[]
parse
Await
Expression
parse
Await
Expression
(
)
:
AwaitExpression
Returns
AwaitExpression
parse
Binary
Expression
parse
Binary
Expression
(
)
:
Node.Expression
Returns
Node.Expression
parse
Binding
List
parse
Binding
List
(
kind
:
"const"
|
"let"
, options
:
any
)
:
VariableDeclarator
[]
Parameters
kind:
"const"
|
"let"
options:
any
Returns
VariableDeclarator
[]
parse
Binding
Rest
Element
parse
Binding
Rest
Element
(
params
:
any
, kind
?:
"const"
|
"let"
|
"var"
)
:
RestElement
Parameters
params:
any
Optional
kind:
"const"
|
"let"
|
"var"
Returns
RestElement
parse
Block
parse
Block
(
)
:
BlockStatement
Returns
BlockStatement
parse
Break
Statement
parse
Break
Statement
(
)
:
BreakStatement
Returns
BreakStatement
parse
Catch
Clause
parse
Catch
Clause
(
)
:
CatchClause
Returns
CatchClause
parse
Class
Body
parse
Class
Body
(
)
:
ClassBody
Returns
ClassBody
parse
Class
Declaration
parse
Class
Declaration
(
identifierIsOptional
?:
boolean
)
:
ClassDeclaration
Parameters
Optional
identifierIsOptional:
boolean
Returns
ClassDeclaration
parse
Class
Element
parse
Class
Element
(
hasConstructor
:
any
)
:
Property
Parameters
hasConstructor:
any
Returns
Property
parse
Class
Element
List
parse
Class
Element
List
(
)
:
Property
[]
Returns
Property
[]
parse
Class
Expression
parse
Class
Expression
(
)
:
ClassExpression
Returns
ClassExpression
parse
ComplexJSXElement
parse
ComplexJSXElement
(
el
:
MetaJSXElement
)
:
MetaJSXElement
Parameters
el:
MetaJSXElement
Returns
MetaJSXElement
parse
Conditional
Expression
parse
Conditional
Expression
(
)
:
Node.Expression
Returns
Node.Expression
parse
Continue
Statement
parse
Continue
Statement
(
)
:
ContinueStatement
Returns
ContinueStatement
parse
Debugger
Statement
parse
Debugger
Statement
(
)
:
DebuggerStatement
Returns
DebuggerStatement
parse
Directive
parse
Directive
(
)
:
Directive
|
ExpressionStatement
Returns
Directive
|
ExpressionStatement
parse
Directive
Prologues
parse
Directive
Prologues
(
)
:
Node.Statement
[]
Returns
Node.Statement
[]
parse
DoWhile
Statement
parse
DoWhile
Statement
(
)
:
DoWhileStatement
Returns
DoWhileStatement
parse
Empty
Statement
parse
Empty
Statement
(
)
:
EmptyStatement
Returns
EmptyStatement
parse
Exponentiation
Expression
parse
Exponentiation
Expression
(
)
:
Node.Expression
Returns
Node.Expression
parse
Export
Declaration
parse
Export
Declaration
(
)
:
Node.ExportDeclaration
Returns
Node.ExportDeclaration
parse
Export
Specifier
parse
Export
Specifier
(
)
:
ExportSpecifier
Returns
ExportSpecifier
parse
Expression
parse
Expression
(
)
:
Node.Expression
|
SequenceExpression
Returns
Node.Expression
|
SequenceExpression
parse
Expression
Statement
parse
Expression
Statement
(
)
:
ExpressionStatement
Returns
ExpressionStatement
parse
Finally
Clause
parse
Finally
Clause
(
)
:
BlockStatement
Returns
BlockStatement
parse
For
Statement
parse
For
Statement
(
)
:
ForStatement
|
ForInStatement
|
ForOfStatement
Returns
ForStatement
|
ForInStatement
|
ForOfStatement
parse
Formal
Parameter
parse
Formal
Parameter
(
options
:
any
)
:
void
Parameters
options:
any
Returns
void
parse
Formal
Parameters
parse
Formal
Parameters
(
firstRestricted
?:
any
)
:
{
firstRestricted
:
any
;
message
:
any
;
params
:
any
;
simple
:
any
;
stricted
:
any
}
Parameters
Optional
firstRestricted:
any
Returns
{
firstRestricted
:
any
;
message
:
any
;
params
:
any
;
simple
:
any
;
stricted
:
any
}
first
Restricted
:
any
message
:
any
params
:
any
simple
:
any
stricted
:
any
parse
Function
Declaration
parse
Function
Declaration
(
identifierIsOptional
?:
boolean
)
:
AsyncFunctionDeclaration
|
FunctionDeclaration
Parameters
Optional
identifierIsOptional:
boolean
Returns
AsyncFunctionDeclaration
|
FunctionDeclaration
parse
Function
Expression
parse
Function
Expression
(
)
:
AsyncFunctionExpression
|
FunctionExpression
Returns
AsyncFunctionExpression
|
FunctionExpression
parse
Function
Source
Elements
parse
Function
Source
Elements
(
)
:
BlockStatement
Returns
BlockStatement
parse
Generator
Method
parse
Generator
Method
(
)
:
FunctionExpression
Returns
FunctionExpression
parse
Getter
Method
parse
Getter
Method
(
)
:
FunctionExpression
Returns
FunctionExpression
parse
Group
Expression
parse
Group
Expression
(
)
:
ArrowParameterPlaceHolderNode
|
Node.Expression
Returns
ArrowParameterPlaceHolderNode
|
Node.Expression
parse
Identifier
Name
parse
Identifier
Name
(
)
:
Identifier
Returns
Identifier
parse
IfClause
parse
IfClause
(
)
:
Node.Statement
Returns
Node.Statement
parse
IfStatement
parse
IfStatement
(
)
:
IfStatement
Returns
IfStatement
parse
Import
Call
parse
Import
Call
(
)
:
Import
Returns
Import
parse
Import
Declaration
parse
Import
Declaration
(
)
:
ImportDeclaration
Returns
ImportDeclaration
parse
Import
Default
Specifier
parse
Import
Default
Specifier
(
)
:
ImportDefaultSpecifier
Returns
ImportDefaultSpecifier
parse
Import
Namespace
Specifier
parse
Import
Namespace
Specifier
(
)
:
ImportNamespaceSpecifier
Returns
ImportNamespaceSpecifier
parse
Import
Specifier
parse
Import
Specifier
(
)
:
ImportSpecifier
Returns
ImportSpecifier
parseJSXAttribute
Name
parseJSXAttribute
Name
(
)
:
JSXNode.JSXAttributeName
Returns
JSXNode.JSXAttributeName
parseJSXAttribute
Value
parseJSXAttribute
Value
(
)
:
JSXNode.JSXAttributeValue
Returns
JSXNode.JSXAttributeValue
parseJSXAttributes
parseJSXAttributes
(
)
:
JSXNode.JSXElementAttribute
[]
Returns
JSXNode.JSXElementAttribute
[]
parseJSXBoundary
Element
parseJSXBoundary
Element
(
)
:
JSXOpeningElement
|
JSXClosingElement
Returns
JSXOpeningElement
|
JSXClosingElement
parseJSXChildren
parseJSXChildren
(
)
:
JSXNode.JSXChild
[]
Returns
JSXNode.JSXChild
[]
parseJSXElement
parseJSXElement
(
)
:
JSXElement
Returns
JSXElement
parseJSXElement
Name
parseJSXElement
Name
(
)
:
JSXNode.JSXElementName
Returns
JSXNode.JSXElementName
parseJSXEmpty
Expression
parseJSXEmpty
Expression
(
)
:
JSXEmptyExpression
Returns
JSXEmptyExpression
parseJSXExpression
Attribute
parseJSXExpression
Attribute
(
)
:
JSXExpressionContainer
Returns
JSXExpressionContainer
parseJSXExpression
Container
parseJSXExpression
Container
(
)
:
JSXExpressionContainer
Returns
JSXExpressionContainer
parseJSXIdentifier
parseJSXIdentifier
(
)
:
JSXIdentifier
Returns
JSXIdentifier
parseJSXName
Value
Attribute
parseJSXName
Value
Attribute
(
)
:
JSXAttribute
Returns
JSXAttribute
parseJSXOpening
Element
parseJSXOpening
Element
(
)
:
JSXOpeningElement
Returns
JSXOpeningElement
parseJSXRoot
parseJSXRoot
(
)
:
JSXElement
Returns
JSXElement
parseJSXSpread
Attribute
parseJSXSpread
Attribute
(
)
:
JSXSpreadAttribute
Returns
JSXSpreadAttribute
parseJSXString
Literal
Attribute
parseJSXString
Literal
Attribute
(
)
:
Literal
Returns
Literal
parse
Labelled
Statement
parse
Labelled
Statement
(
)
:
LabeledStatement
|
ExpressionStatement
Returns
LabeledStatement
|
ExpressionStatement
parse
Left
Hand
Side
Expression
parse
Left
Hand
Side
Expression
(
)
:
Node.Expression
Returns
Node.Expression
parse
Left
Hand
Side
Expression
Allow
Call
parse
Left
Hand
Side
Expression
Allow
Call
(
)
:
Node.Expression
Returns
Node.Expression
parse
Lexical
Binding
parse
Lexical
Binding
(
kind
:
"const"
|
"let"
, options
:
any
)
:
VariableDeclarator
Parameters
kind:
"const"
|
"let"
options:
any
Returns
VariableDeclarator
parse
Lexical
Declaration
parse
Lexical
Declaration
(
options
:
any
)
:
VariableDeclaration
Parameters
options:
any
Returns
VariableDeclaration
parse
Module
parse
Module
(
)
:
Module
Returns
Module
parse
Module
Specifier
parse
Module
Specifier
(
)
:
Literal
Returns
Literal
parse
Named
Imports
parse
Named
Imports
(
)
:
ImportSpecifier
[]
Returns
ImportSpecifier
[]
parse
New
Expression
parse
New
Expression
(
)
:
MetaProperty
|
NewExpression
Returns
MetaProperty
|
NewExpression
parse
Object
Initializer
parse
Object
Initializer
(
)
:
ObjectExpression
Returns
ObjectExpression
parse
Object
Pattern
parse
Object
Pattern
(
params
:
any
, kind
?:
"const"
|
"let"
|
"var"
)
:
ObjectPattern
Parameters
params:
any
Optional
kind:
"const"
|
"let"
|
"var"
Returns
ObjectPattern
parse
Object
Property
parse
Object
Property
(
hasProto
:
any
)
:
Property
Parameters
hasProto:
any
Returns
Property
parse
Object
Property
Key
parse
Object
Property
Key
(
)
:
Node.PropertyKey
Returns
Node.PropertyKey
parse
Pattern
parse
Pattern
(
params
:
any
, kind
?:
"const"
|
"let"
|
"var"
)
:
Node.BindingIdentifier
|
Node.BindingPattern
Parameters
params:
any
Optional
kind:
"const"
|
"let"
|
"var"
Returns
Node.BindingIdentifier
|
Node.BindingPattern
parse
Pattern
With
Default
parse
Pattern
With
Default
(
params
:
any
, kind
?:
"const"
|
"let"
|
"var"
)
:
AssignmentPattern
|
Node.BindingIdentifier
|
Node.BindingPattern
Parameters
params:
any
Optional
kind:
"const"
|
"let"
|
"var"
Returns
AssignmentPattern
|
Node.BindingIdentifier
|
Node.BindingPattern
parse
Primary
Expression
parse
Primary
Expression
(
)
:
Node.Expression
|
JSXElement
Returns
Node.Expression
|
JSXElement
parse
Property
Method
parse
Property
Method
(
params
:
any
)
:
BlockStatement
Parameters
params:
any
Returns
BlockStatement
parse
Property
Method
Async
Function
parse
Property
Method
Async
Function
(
)
:
FunctionExpression
Returns
FunctionExpression
parse
Property
Method
Function
parse
Property
Method
Function
(
)
:
FunctionExpression
Returns
FunctionExpression
parse
Property
Pattern
parse
Property
Pattern
(
params
:
any
, kind
?:
"const"
|
"let"
|
"var"
)
:
Property
Parameters
params:
any
Optional
kind:
"const"
|
"let"
|
"var"
Returns
Property
parse
Rest
Element
parse
Rest
Element
(
params
:
any
)
:
RestElement
Parameters
params:
any
Returns
RestElement
parse
Rest
Property
parse
Rest
Property
(
params
:
any
, _kind
?:
"const"
|
"let"
|
"var"
)
:
RestProperty
Parameters
params:
any
Optional
_kind:
"const"
|
"let"
|
"var"
Returns
RestProperty
parse
Return
Statement
parse
Return
Statement
(
)
:
ReturnStatement
Returns
ReturnStatement
parse
Script
parse
Script
(
)
:
Script
Returns
Script
parse
Setter
Method
parse
Setter
Method
(
)
:
FunctionExpression
Returns
FunctionExpression
parse
Spread
Element
parse
Spread
Element
(
)
:
SpreadElement
Returns
SpreadElement
parse
Spread
Property
parse
Spread
Property
(
)
:
SpreadProperty
Returns
SpreadProperty
parse
Statement
parse
Statement
(
)
:
Node.Statement
Returns
Node.Statement
parse
Statement
List
Item
parse
Statement
List
Item
(
)
:
Node.StatementListItem
Returns
Node.StatementListItem
parse
Super
parse
Super
(
)
:
Super
Returns
Super
parse
Switch
Case
parse
Switch
Case
(
)
:
SwitchCase
Returns
SwitchCase
parse
Switch
Statement
parse
Switch
Statement
(
)
:
SwitchStatement
Returns
SwitchStatement
parse
Template
Element
parse
Template
Element
(
)
:
TemplateElement
Returns
TemplateElement
parse
Template
Head
parse
Template
Head
(
)
:
TemplateElement
Returns
TemplateElement
parse
Template
Literal
parse
Template
Literal
(
)
:
TemplateLiteral
Returns
TemplateLiteral
parse
Throw
Statement
parse
Throw
Statement
(
)
:
ThrowStatement
Returns
ThrowStatement
parse
Try
Statement
parse
Try
Statement
(
)
:
TryStatement
Returns
TryStatement
parse
Unary
Expression
parse
Unary
Expression
(
)
:
Node.Expression
Returns
Node.Expression
parse
Update
Expression
parse
Update
Expression
(
)
:
Node.Expression
Returns
Node.Expression
parse
Variable
Declaration
parse
Variable
Declaration
(
options
:
DeclarationOptions
)
:
VariableDeclarator
Parameters
options:
DeclarationOptions
Returns
VariableDeclarator
parse
Variable
Declaration
List
parse
Variable
Declaration
List
(
options
:
any
)
:
VariableDeclarator
[]
Parameters
options:
any
Returns
VariableDeclarator
[]
parse
Variable
Identifier
parse
Variable
Identifier
(
kind
?:
"const"
|
"let"
|
"var"
)
:
Identifier
Parameters
Optional
kind:
"const"
|
"let"
|
"var"
Returns
Identifier
parse
Variable
Statement
parse
Variable
Statement
(
)
:
VariableDeclaration
Returns
VariableDeclaration
parse
While
Statement
parse
While
Statement
(
)
:
WhileStatement
Returns
WhileStatement
parse
With
Statement
parse
With
Statement
(
)
:
WithStatement
Returns
WithStatement
parse
Yield
Expression
parse
Yield
Expression
(
)
:
YieldExpression
Returns
YieldExpression
peekJSXToken
peekJSXToken
(
)
:
RawJSXToken
Returns
RawJSXToken
qualified
Property
Name
qualified
Property
Name
(
token
:
any
)
:
boolean
Parameters
token:
any
Returns
boolean
reenterJSX
reenterJSX
(
)
:
void
Returns
void
reinterpret
AsCover
Formals
List
reinterpret
AsCover
Formals
List
(
expr
:
any
)
:
{
firstRestricted
:
any
;
message
:
any
;
params
:
any
[]
;
simple
:
any
;
stricted
:
any
}
Parameters
expr:
any
Returns
{
firstRestricted
:
any
;
message
:
any
;
params
:
any
[]
;
simple
:
any
;
stricted
:
any
}
first
Restricted
:
any
message
:
any
params
:
any
[]
simple
:
any
stricted
:
any
reinterpret
Expression
AsPattern
reinterpret
Expression
AsPattern
(
expr
:
any
)
:
void
Parameters
expr:
any
Returns
void
scanXHTMLEntity
scanXHTMLEntity
(
quote
:
string
)
:
string
Parameters
quote:
string
Returns
string
startJSX
startJSX
(
)
:
void
Returns
void
start
Node
start
Node
(
token
:
any
)
:
Marker
Parameters
token:
any
Returns
Marker
throw
Error
throw
Error
(
messageFormat
:
string
,
...
_values
:
any
[]
)
:
void
Parameters
messageFormat:
string
Rest
...
_values:
any
[]
Returns
void
throw
Unexpected
Token
throw
Unexpected
Token
(
token
?:
any
, message
?:
any
)
:
never
Parameters
Optional
token:
any
Optional
message:
any
Returns
never
tolerate
Error
tolerate
Error
(
messageFormat
:
any
,
...
_values
:
any
[]
)
:
void
Parameters
messageFormat:
any
Rest
...
_values:
any
[]
Returns
void
tolerate
Unexpected
Token
tolerate
Unexpected
Token
(
token
?:
any
, message
?:
any
)
:
void
Parameters
Optional
token:
any
Optional
message:
any
Returns
void
unexpected
Token
Error
unexpected
Token
Error
(
token
?:
IToken
, message
?:
string
)
:
Error
Parameters
Optional
token:
IToken
Optional
message:
string
Returns
Error
validate
Param
validate
Param
(
options
:
any
, param
:
any
, name
:
any
)
:
void
Parameters
options:
any
param:
any
name:
any
Returns
void
Globals
JSXParser
constructor
config
context
delegate
error
Handler
has
Line
Terminator
last
Marker
lookahead
operator
Precedence
scanner
start
Marker
tokens
binary
Precedence
check
Pattern
Param
collect
Comments
consume
Semicolon
convert
Token
createJSXChild
Node
createJSXNode
create
Node
expect
expect
Comma
Separator
expectJSX
expect
Keyword
finalize
finishJSX
get
Token
Raw
inherit
Cover
Grammar
is
Identifier
Name
is
Lexical
Declaration
is
Property
Key
is
Start
OfExpression
isolate
Cover
Grammar
lexJSX
match
match
Assign
match
Async
Function
match
Contextual
Keyword
match
Import
Call
matchJSX
match
Keyword
nextJSXText
nextJSXToken
next
Regex
Token
next
Token
parse
Arguments
parse
Array
Initializer
parse
Array
Pattern
parse
Assignment
Expression
parse
Async
Argument
parse
Async
Arguments
parse
Await
Expression
parse
Binary
Expression
parse
Binding
List
parse
Binding
Rest
Element
parse
Block
parse
Break
Statement
parse
Catch
Clause
parse
Class
Body
parse
Class
Declaration
parse
Class
Element
parse
Class
Element
List
parse
Class
Expression
parse
ComplexJSXElement
parse
Conditional
Expression
parse
Continue
Statement
parse
Debugger
Statement
parse
Directive
parse
Directive
Prologues
parse
DoWhile
Statement
parse
Empty
Statement
parse
Exponentiation
Expression
parse
Export
Declaration
parse
Export
Specifier
parse
Expression
parse
Expression
Statement
parse
Finally
Clause
parse
For
Statement
parse
Formal
Parameter
parse
Formal
Parameters
parse
Function
Declaration
parse
Function
Expression
parse
Function
Source
Elements
parse
Generator
Method
parse
Getter
Method
parse
Group
Expression
parse
Identifier
Name
parse
IfClause
parse
IfStatement
parse
Import
Call
parse
Import
Declaration
parse
Import
Default
Specifier
parse
Import
Namespace
Specifier
parse
Import
Specifier
parseJSXAttribute
Name
parseJSXAttribute
Value
parseJSXAttributes
parseJSXBoundary
Element
parseJSXChildren
parseJSXElement
parseJSXElement
Name
parseJSXEmpty
Expression
parseJSXExpression
Attribute
parseJSXExpression
Container
parseJSXIdentifier
parseJSXName
Value
Attribute
parseJSXOpening
Element
parseJSXRoot
parseJSXSpread
Attribute
parseJSXString
Literal
Attribute
parse
Labelled
Statement
parse
Left
Hand
Side
Expression
parse
Left
Hand
Side
Expression
Allow
Call
parse
Lexical
Binding
parse
Lexical
Declaration
parse
Module
parse
Module
Specifier
parse
Named
Imports
parse
New
Expression
parse
Object
Initializer
parse
Object
Pattern
parse
Object
Property
parse
Object
Property
Key
parse
Pattern
parse
Pattern
With
Default
parse
Primary
Expression
parse
Property
Method
parse
Property
Method
Async
Function
parse
Property
Method
Function
parse
Property
Pattern
parse
Rest
Element
parse
Rest
Property
parse
Return
Statement
parse
Script
parse
Setter
Method
parse
Spread
Element
parse
Spread
Property
parse
Statement
parse
Statement
List
Item
parse
Super
parse
Switch
Case
parse
Switch
Statement
parse
Template
Element
parse
Template
Head
parse
Template
Literal
parse
Throw
Statement
parse
Try
Statement
parse
Unary
Expression
parse
Update
Expression
parse
Variable
Declaration
parse
Variable
Declaration
List
parse
Variable
Identifier
parse
Variable
Statement
parse
While
Statement
parse
With
Statement
parse
Yield
Expression
peekJSXToken
qualified
Property
Name
reenterJSX
reinterpret
AsCover
Formals
List
reinterpret
Expression
AsPattern
scanXHTMLEntity
startJSX
start
Node
throw
Error
throw
Unexpected
Token
tolerate
Error
tolerate
Unexpected
Token
unexpected
Token
Error
validate
Param