@servicenow/sdk - v4.4.1
Preparing search index...
@servicenow/sdk/api
<internal>
Parser
Interface Parser<T>
interface
Parser
<
T
=
any
>
{
astFormat
:
string
;
hasIgnorePragma
?:
(
text
:
string
)
=>
boolean
;
hasPragma
?:
(
text
:
string
)
=>
boolean
;
locEnd
:
(
node
:
T
)
=>
number
;
locStart
:
(
node
:
T
)
=>
number
;
parse
:
(
text
:
string
,
options
:
ParserOptions
<
T
>
)
=>
T
|
Promise
<
T
>
;
preprocess
?:
(
text
:
string
,
options
:
ParserOptions
<
T
>
)
=>
string
;
}
Type Parameters
T
=
any
Index
Properties
ast
Format
has
Ignore
Pragma?
has
Pragma?
loc
End
loc
Start
parse
preprocess?
Properties
ast
Format
astFormat
:
string
Optional
has
Ignore
Pragma
hasIgnorePragma
?:
(
text
:
string
)
=>
boolean
Optional
has
Pragma
hasPragma
?:
(
text
:
string
)
=>
boolean
loc
End
locEnd
:
(
node
:
T
)
=>
number
loc
Start
locStart
:
(
node
:
T
)
=>
number
parse
parse
:
(
text
:
string
,
options
:
ParserOptions
<
T
>
)
=>
T
|
Promise
<
T
>
Optional
preprocess
preprocess
?:
(
text
:
string
,
options
:
ParserOptions
<
T
>
)
=>
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
ast
Format
has
Ignore
Pragma
has
Pragma
loc
End
loc
Start
parse
preprocess
@servicenow/sdk - v4.4.1
Loading...