rockplate
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Linter
constructor
builder
strict
Override
strict
build
create
Lint
Result
get
Block
Prefix
get
Params
Merged
For
Block
lint
resolve
Line
And
Column
scan
Blocks
scan
Literal
Block
Lint
Linter
Result
Lint
Severity
Position
Range
Type parameters
T
Hierarchy
Linter
Index
Constructors
constructor
Properties
builder
strict
Override
Accessors
strict
Methods
build
create
Lint
Result
get
Block
Prefix
get
Params
Merged
For
Block
lint
resolve
Line
And
Column
scan
Blocks
scan
Literal
Block
Constructors
constructor
new
Linter
(
code
:
string
, schemaResolver
?:
T
|
SchemaResolver
<
T
>
, strictOverride
?:
undefined
|
false
|
true
)
:
Linter
Parameters
code:
string
Optional
schemaResolver:
T
|
SchemaResolver
<
T
>
Optional
strictOverride:
undefined
|
false
|
true
Returns
Linter
Properties
builder
builder
:
Builder
<
T
>
Private
Optional
strict
Override
strict
Override
:
undefined
|
false
|
true
Accessors
strict
get
strict
(
)
:
boolean
Returns
boolean
Methods
build
build
(
)
:
Promise
<
Block
[]
>
Returns
Promise
<
Block
[]
>
Private
create
Lint
Result
create
Lint
Result
(
res
:
{
block
:
Block
;
expression
:
string
;
message
:
string
;
offsetBegin
:
number
;
offsetEnd
:
number
;
severity
:
LintSeverity
}
)
:
Lint
Parameters
res:
{
block
:
Block
;
expression
:
string
;
message
:
string
;
offsetBegin
:
number
;
offsetEnd
:
number
;
severity
:
LintSeverity
}
block
:
Block
expression
:
string
message
:
string
offset
Begin
:
number
offset
End
:
number
severity
:
LintSeverity
Returns
Lint
Protected
get
Block
Prefix
get
Block
Prefix
(
blockType
:
BlockType
)
:
string
Parameters
blockType:
BlockType
Returns
string
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
lint
lint
(
params
?:
T
, resolveLines
?:
boolean
)
:
LinterResult
Parameters
Optional
params:
T
Default value
resolveLines:
boolean
= true
Returns
LinterResult
Private
resolve
Line
And
Column
resolve
Line
And
Column
(
res
:
Lint
)
:
Lint
Parameters
res:
Lint
Returns
Lint
Private
scan
Blocks
scan
Blocks
(
blocks
:
Block
[]
, schema
:
any
, params
:
any
, results
:
Lint
[]
)
:
void
Parameters
blocks:
Block
[]
schema:
any
params:
any
results:
Lint
[]
Returns
void
Private
scan
Literal
Block
scan
Literal
Block
(
block
:
LiteralBlock
, schema
:
any
, params
:
any
)
:
Lint
[]
Parameters
block:
LiteralBlock
schema:
any
params:
any
Returns
Lint
[]
Generated using
TypeDoc