Search
Preparing search index...
The search index is not available
walli
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"util/quote"
External module "util/quote"
Index
Variables
escapable
single
Escapable
Functions
_quote
double
single
Object literals
common
Meta
double
Meta
single
Meta
Variables
Const
escapable
escapable
:
RegExp
= /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g
Const
single
Escapable
single
Escapable
:
RegExp
= /[\\\'\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g
Functions
_quote
_quote
(
string
:
any
, char
?:
string
, reg
?:
RegExp
, meta
:
any
)
:
string
Parameters
string:
any
Default value
char:
string
= """
Default value
reg:
RegExp
= escapable
meta:
any
Returns
string
double
double
(
string
:
any
)
:
string
Uses double quote to wrap string.
Parameters
string:
any
Returns
string
single
single
(
string
:
any
)
:
string
Uses single quote to wrap string.
Parameters
string:
any
Returns
string
Object literals
Const
common
Meta
common
Meta
:
object
:
string
= "\b"
:
string
= "\t"
:
string
= "\n"
:
string
= "\f"
:
string
= "\r"
\
\
:
string
= "\\"
Const
double
Meta
double
Meta
:
object
"
"
:
string
= "\""
Const
single
Meta
single
Meta
:
object
'
'
:
string
= "\'"
Globals
"util/quote"
escapable
single
Escapable
_quote
double
single
common
Meta
double
Meta
single
Meta
Generated using
TypeDoc
Uses double quote to wrap string.