@hashgraph/solo
Preparing search index...
src/data/key/lexer/lexer
Lexer
Class Lexer
Index
Constructors
constructor
Properties
tokens
Accessors
rendered
root
Nodes
tree
Methods
add
Or
Replace
Array
add
Or
Replace
Object
add
Or
Replace
Value
add
Value
node
For
render
Trees
replace
Value
Constructors
constructor
new
Lexer
(
tokens
:
Map
<
string
,
string
>
,
formatter
?:
KeyFormatter
)
:
Lexer
Parameters
tokens
:
Map
<
string
,
string
>
formatter
:
KeyFormatter
= ...
Returns
Lexer
Properties
Readonly
tokens
tokens
:
Map
<
string
,
string
>
Accessors
rendered
get
rendered
()
:
boolean
Returns
boolean
set
rendered
(
rendered
:
boolean
)
:
void
Parameters
rendered
:
boolean
Returns
void
root
Nodes
get
rootNodes
()
:
Node
[]
Returns
Node
[]
tree
get
tree
()
:
Map
<
string
,
Node
>
Returns
Map
<
string
,
Node
>
Methods
add
Or
Replace
Array
addOrReplaceArray
<
T
>
(
key
:
string
,
values
:
T
[]
)
:
void
Type Parameters
T
Parameters
key
:
string
values
:
T
[]
Returns
void
add
Or
Replace
Object
addOrReplaceObject
(
key
:
string
,
value
:
object
)
:
void
Parameters
key
:
string
value
:
object
Returns
void
add
Or
Replace
Value
addOrReplaceValue
(
key
:
string
,
value
:
string
)
:
void
Parameters
key
:
string
value
:
string
Returns
void
add
Value
addValue
(
key
:
string
,
value
:
string
)
:
void
Parameters
key
:
string
value
:
string
Returns
void
node
For
nodeFor
(
key
:
string
)
:
Node
Parameters
key
:
string
Returns
Node
render
Trees
renderTrees
()
:
void
Parses the token map and returns all the root nodes.
Returns
void
The root nodes.
replace
Value
replaceValue
(
node
:
Node
,
value
:
string
)
:
void
Parameters
node
:
Node
value
:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
tokens
Accessors
rendered
root
Nodes
tree
Methods
add
Or
Replace
Array
add
Or
Replace
Object
add
Or
Replace
Value
add
Value
node
For
render
Trees
replace
Value
@hashgraph/solo
Loading...
Parses the token map and returns all the root nodes.