TOC Toolkit API - v0.1.0
Preparing search index...
toc-toolkit/testing
Subject
Interface Subject<A, T>
The package or procedure being checked, with its declared completeness class.
interface
Subject
<
A
extends
string
,
T
extends
string
>
{
name
:
string
;
completeOn
?:
T
;
member
(
operand
:
Operand
,
word
:
readonly
string
[]
,
budget
:
Budget
,
)
:
Observed
<
A
>
;
question
(
question
:
string
,
operands
:
readonly
Operand
[]
,
budget
:
Budget
,
)
:
Observed
<
A
>
;
translate
(
translation
:
string
,
operands
:
readonly
Operand
[]
,
budget
:
Budget
,
)
:
TranslationObservation
;
syntax
(
notation
:
string
,
text
:
string
,
context
:
SyntaxContext
,
)
:
SyntaxExpectation
;
}
Type Parameters
A
extends
string
T
extends
string
Index
Properties
name
complete
On?
Methods
member
question
translate
syntax
Properties
Readonly
name
name
:
string
Optional
Readonly
complete
On
completeOn
?:
T
Methods
member
member
(
operand
:
Operand
,
word
:
readonly
string
[]
,
budget
:
Budget
)
:
Observed
<
A
>
Parameters
operand
:
Operand
word
:
readonly
string
[]
budget
:
Budget
Returns
Observed
<
A
>
question
question
(
question
:
string
,
operands
:
readonly
Operand
[]
,
budget
:
Budget
,
)
:
Observed
<
A
>
Parameters
question
:
string
operands
:
readonly
Operand
[]
budget
:
Budget
Returns
Observed
<
A
>
translate
translate
(
translation
:
string
,
operands
:
readonly
Operand
[]
,
budget
:
Budget
,
)
:
TranslationObservation
Parameters
translation
:
string
operands
:
readonly
Operand
[]
budget
:
Budget
Returns
TranslationObservation
syntax
syntax
(
notation
:
string
,
text
:
string
,
context
:
SyntaxContext
,
)
:
SyntaxExpectation
Parameters
notation
:
string
text
:
string
context
:
SyntaxContext
Returns
SyntaxExpectation
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
name
complete
On
Methods
member
question
translate
syntax
TOC Toolkit API - v0.1.0
Loading...
The package or procedure being checked, with its declared completeness class.