Preparing search index...
The search index is not available
Documentation - v0.0.1
Documentation
typir
DefaultValidationConstraints
Class DefaultValidationConstraints
Implements
ValidationConstraints
Index
Constructors
constructor
Properties
inference
printer
services
Methods
annotate
Type
ensure
Node
Has
Not
Type
ensure
Node
Is
Assignable
ensure
Node
Is
Equals
ensure
Node
Related
With
Type
Constructors
constructor
new
DefaultValidationConstraints
(
services
:
TypirServices
,
)
:
DefaultValidationConstraints
Parameters
services
:
TypirServices
Returns
DefaultValidationConstraints
Properties
Protected
Readonly
inference
inference
:
TypeInferenceCollector
Protected
Readonly
printer
printer
:
ProblemPrinter
Protected
Readonly
services
services
:
TypirServices
Methods
Protected
annotate
Type
annotateType
(
type
:
Type
)
:
AnnotatedTypeAfterValidation
Parameters
type
:
Type
Returns
AnnotatedTypeAfterValidation
ensure
Node
Has
Not
Type
ensureNodeHasNotType
(
sourceNode
:
unknown
,
notExpected
:
unknown
,
message
:
ValidationMessageProvider
,
)
:
ValidationProblem
[]
Parameters
sourceNode
:
unknown
notExpected
:
unknown
message
:
ValidationMessageProvider
Returns
ValidationProblem
[]
ensure
Node
Is
Assignable
ensureNodeIsAssignable
(
sourceNode
:
unknown
,
expected
:
unknown
,
message
:
ValidationMessageProvider
,
)
:
ValidationProblem
[]
Parameters
sourceNode
:
unknown
expected
:
unknown
message
:
ValidationMessageProvider
Returns
ValidationProblem
[]
ensure
Node
Is
Equals
ensureNodeIsEquals
(
sourceNode
:
unknown
,
expected
:
unknown
,
message
:
ValidationMessageProvider
,
)
:
ValidationProblem
[]
Parameters
sourceNode
:
unknown
expected
:
unknown
message
:
ValidationMessageProvider
Returns
ValidationProblem
[]
ensure
Node
Related
With
Type
ensureNodeRelatedWithType
(
languageNode
:
unknown
,
expected
:
unknown
,
strategy
:
TypeCheckStrategy
,
negated
:
boolean
,
message
:
ValidationMessageProvider
,
)
:
ValidationProblem
[]
Parameters
languageNode
:
unknown
expected
:
unknown
strategy
:
TypeCheckStrategy
negated
:
boolean
message
:
ValidationMessageProvider
Returns
ValidationProblem
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
inference
printer
services
Methods
annotate
Type
ensure
Node
Has
Not
Type
ensure
Node
Is
Assignable
ensure
Node
Is
Equals
ensure
Node
Related
With
Type
Documentation - v0.0.1
Loading...