rockplate
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Builder
constructor
built
Blocks
code
schema
schema
Resolver
strict
Override
template
blocks
strict
type
advance
Offset
build
find
First
Block
find
Next
Block
find
Outer
Blocks
find
Outer
Blocks
Recursively
get
Block
get
Block
At
get
Block
AtIndex
get
Block
Prefix
get
Comment
Block
get
Dynamic
Block
Definition
get
Identifiers
get
IfBlock
get
Literal
Block
get
Params
Merged
For
Block
get
Repeat
Block
get
Schema
From
String
get
Strict
Block
Definition
get
Valid
Block
Definition
get
Variables
is
Valid
Identifier
repair
Offsets
Block
Definition
Schema
Resolver
Type parameters
T
Hierarchy
Builder
Index
Constructors
constructor
Properties
built
Blocks
code
schema
schema
Resolver
strict
Override
template
Accessors
blocks
strict
type
Methods
advance
Offset
build
find
First
Block
find
Next
Block
find
Outer
Blocks
find
Outer
Blocks
Recursively
get
Block
get
Block
At
get
Block
AtIndex
get
Block
Prefix
get
Comment
Block
get
Dynamic
Block
Definition
get
Identifiers
get
IfBlock
get
Literal
Block
get
Params
Merged
For
Block
get
Repeat
Block
get
Schema
From
String
get
Strict
Block
Definition
get
Valid
Block
Definition
get
Variables
is
Valid
Identifier
repair
Offsets
Constructors
constructor
new
Builder
(
code
:
string
, schemaResolver
?:
T
|
SchemaResolver
<
T
>
, strictOverride
?:
undefined
|
false
|
true
)
:
Builder
Parameters
code:
string
Optional
schemaResolver:
T
|
SchemaResolver
<
T
>
Optional
strictOverride:
undefined
|
false
|
true
Returns
Builder
Properties
Private
Optional
built
Blocks
built
Blocks
:
Block
[]
code
code
:
string
Optional
schema
schema
:
T
Private
Optional
schema
Resolver
schema
Resolver
:
T
|
SchemaResolver
<
T
>
Private
Optional
strict
Override
strict
Override
:
undefined
|
false
|
true
template
template
:
string
Accessors
blocks
get
blocks
(
)
:
Block
[]
Returns
Block
[]
strict
get
strict
(
)
:
boolean
Returns
boolean
type
get
type
(
)
:
"strict"
|
"dynamic"
Returns
"strict"
|
"dynamic"
Methods
Private
advance
Offset
advance
Offset
(
block
:
LiteralBlock
|
CommentBlock
, offset
:
number
)
:
number
Parameters
block:
LiteralBlock
|
CommentBlock
offset:
number
Returns
number
build
build
(
)
:
Promise
<
Block
[]
>
Returns
Promise
<
Block
[]
>
Private
find
First
Block
find
First
Block
(
tpl
:
string
, schema
:
any
)
:
Block
|
undefined
Parameters
tpl:
string
schema:
any
Returns
Block
|
undefined
Private
find
Next
Block
find
Next
Block
(
tpl
:
string
, schema
:
any
, block
:
Block
)
:
undefined
|
Block
Parameters
tpl:
string
schema:
any
block:
Block
Returns
undefined
|
Block
Private
find
Outer
Blocks
find
Outer
Blocks
(
tpl
:
string
, schema
:
any
)
:
Block
[]
Parameters
tpl:
string
schema:
any
Returns
Block
[]
Private
find
Outer
Blocks
Recursively
find
Outer
Blocks
Recursively
(
tpl
:
string
, schema
:
any
)
:
Block
[]
Parameters
tpl:
string
schema:
any
Returns
Block
[]
Private
get
Block
get
Block
(
tpl
:
string
, schema
:
any
, idx
:
number
, blockType
:
BlockType
, expression
:
string
, end
:
string
, key
?:
undefined
|
string
, subkey
?:
undefined
|
string
, operator
?:
undefined
|
string
)
:
undefined
|
Block
Parameters
tpl:
string
schema:
any
idx:
number
blockType:
BlockType
expression:
string
end:
string
Optional
key:
undefined
|
string
Optional
subkey:
undefined
|
string
Optional
operator:
undefined
|
string
Returns
undefined
|
Block
get
Block
At
get
Block
At
(
index
:
number
)
:
Block
|
undefined
Parameters
index:
number
Returns
Block
|
undefined
Private
get
Block
AtIndex
get
Block
AtIndex
(
blocks
:
Block
[]
, index
:
number
)
:
Block
|
undefined
Parameters
blocks:
Block
[]
index:
number
Returns
Block
|
undefined
Protected
get
Block
Prefix
get
Block
Prefix
(
blockType
:
BlockType
)
:
string
Parameters
blockType:
BlockType
Returns
string
Private
get
Comment
Block
get
Comment
Block
(
tpl
:
string
, idx
:
number
)
:
undefined
|
Block
Parameters
tpl:
string
idx:
number
Returns
undefined
|
Block
get
Dynamic
Block
Definition
get
Dynamic
Block
Definition
(
idx
:
number
, blockType
:
BlockType
, tpl
:
string
)
:
BlockDefinition
|
undefined
Parameters
idx:
number
blockType:
BlockType
tpl:
string
Returns
BlockDefinition
|
undefined
get
Identifiers
get
Identifiers
(
schema
:
any
)
:
{
key
:
string
;
subkey
:
string
}
[]
Parameters
schema:
any
Returns
{
key
:
string
;
subkey
:
string
}
[]
Private
get
IfBlock
get
IfBlock
(
tpl
:
string
, schema
:
any
, operator
:
string
, key
:
string
, subkey
:
string
, idx
:
number
)
:
undefined
|
Block
Parameters
tpl:
string
schema:
any
operator:
string
key:
string
subkey:
string
idx:
number
Returns
undefined
|
Block
Private
get
Literal
Block
get
Literal
Block
(
tpl
:
string
, schema
:
any
, prevBlock
?:
Block
, nextBlock
?:
Block
)
:
Block
Parameters
tpl:
string
schema:
any
Optional
prevBlock:
Block
Optional
nextBlock:
Block
Returns
Block
Private
get
Params
Merged
For
Block
get
Params
Merged
For
Block
(
block
:
Block
, params
:
any
, childParams
?:
any
)
:
any
Parameters
block:
Block
params:
any
Optional
childParams:
any
Returns
any
Private
get
Repeat
Block
get
Repeat
Block
(
tpl
:
string
, schema
:
any
, key
:
string
, idx
:
number
)
:
undefined
|
Block
Parameters
tpl:
string
schema:
any
key:
string
idx:
number
Returns
undefined
|
Block
Private
get
Schema
From
String
get
Schema
From
String
(
str
:
string
)
:
undefined
|
false
|
{
endIndex
:
number
;
offset
:
number
;
schema
:
any
;
startIndex
:
number
}
Parameters
str:
string
Returns
undefined
|
false
|
{
endIndex
:
number
;
offset
:
number
;
schema
:
any
;
startIndex
:
number
}
Private
get
Strict
Block
Definition
get
Strict
Block
Definition
(
idx
:
number
, blockType
:
BlockType
, tpl
:
string
, schema
:
any
)
:
BlockDefinition
|
undefined
Parameters
idx:
number
blockType:
BlockType
tpl:
string
schema:
any
Returns
BlockDefinition
|
undefined
get
Valid
Block
Definition
get
Valid
Block
Definition
(
idx
:
number
, blockType
:
BlockType
, tpl
:
string
, schema
:
any
)
:
BlockDefinition
|
undefined
Parameters
idx:
number
blockType:
BlockType
tpl:
string
schema:
any
Returns
BlockDefinition
|
undefined
get
Variables
get
Variables
(
schema
:
any
)
:
{
key
:
string
;
subkey
:
string
;
type
:
"identifier"
|
"boolean"
|
"array"
}
[]
Parameters
schema:
any
Returns
{
key
:
string
;
subkey
:
string
;
type
:
"identifier"
|
"boolean"
|
"array"
}
[]
is
Valid
Identifier
is
Valid
Identifier
(
identifiers
:
{
key
:
string
;
subkey
:
string
}
[]
, identifier
:
string
)
:
boolean
Parameters
identifiers:
{
key
:
string
;
subkey
:
string
}
[]
identifier:
string
Returns
boolean
Private
repair
Offsets
repair
Offsets
(
blocks
:
Block
[]
, outerOffset
:
number
)
:
number
Parameters
blocks:
Block
[]
outerOffset:
number
Returns
number
Generated using
TypeDoc