Interface IJtdcDialect<M, C>
Methods
elements
- elements(node: IJtdElementsNode<M>, ctx: C, next: (ctx: C) => IFragmentCgNode): IFragmentCgNode
-
Parameters
-
-
ctx: C
-
next: (ctx: C) => IFragmentCgNode
-
- (ctx: C): IFragmentCgNode
-
Parameters
Returns IFragmentCgNode
Returns IFragmentCgNode
enum
-
Parameters
Returns IFragmentCgNode
import
- import(): IFragmentCgNode
mapping
- mapping(mappingKey: string, mappingNode: IJtdObjectNode<M>, unionNode: IJtdUnionNode<M>, ctx: C, next: (ctx: C) => IFragmentCgNode): IFragmentCgNode
-
Parameters
-
mappingKey: string
-
-
-
ctx: C
-
next: (ctx: C) => IFragmentCgNode
-
- (ctx: C): IFragmentCgNode
-
Parameters
Returns IFragmentCgNode
Returns IFragmentCgNode
nullable
- nullable(node: IJtdNullableNode<M>, ctx: C, next: (ctx: C) => IFragmentCgNode): IFragmentCgNode
-
Parameters
-
-
ctx: C
-
next: (ctx: C) => IFragmentCgNode
-
- (ctx: C): IFragmentCgNode
-
Parameters
Returns IFragmentCgNode
Returns IFragmentCgNode
object
- object(node: IJtdObjectNode<M>, ctx: C, next: (ctx: C) => IFragmentCgNode): IFragmentCgNode
-
Parameters
-
-
ctx: C
-
next: (ctx: C) => IFragmentCgNode
-
- (ctx: C): IFragmentCgNode
-
Parameters
Returns IFragmentCgNode
Returns IFragmentCgNode
optionalProperty
- optionalProperty(propKey: string, propNode: JtdNode<M>, objectNode: IJtdObjectNode<M>, ctx: C, next: (ctx: C) => IFragmentCgNode): IFragmentCgNode
-
Parameters
-
propKey: string
-
-
-
ctx: C
-
next: (ctx: C) => IFragmentCgNode
-
- (ctx: C): IFragmentCgNode
-
Parameters
Returns IFragmentCgNode
Returns IFragmentCgNode
property
- property(propKey: string, propNode: JtdNode<M>, objectNode: IJtdObjectNode<M>, ctx: C, next: (ctx: C) => IFragmentCgNode): IFragmentCgNode
-
Parameters
-
propKey: string
-
-
-
ctx: C
-
next: (ctx: C) => IFragmentCgNode
-
- (ctx: C): IFragmentCgNode
-
Parameters
Returns IFragmentCgNode
Returns IFragmentCgNode
ref
-
Parameters
Returns IFragmentCgNode
type
-
Parameters
Returns IFragmentCgNode
typeGuard
- typeGuard(ref: string, node: JtdNode<M>): IFragmentCgNode
-
Parameters
Returns IFragmentCgNode
union
- union(node: IJtdUnionNode<M>, ctx: C, next: (ctx: C) => IFragmentCgNode): IFragmentCgNode
-
Parameters
-
-
ctx: C
-
next: (ctx: C) => IFragmentCgNode
-
- (ctx: C): IFragmentCgNode
-
Parameters
Returns IFragmentCgNode
Returns IFragmentCgNode
validator
- validator(ref: string, node: JtdNode<M>, next: (ctx: C) => IFragmentCgNode): IFragmentCgNode
-
Parameters
-
ref: string
-
-
next: (ctx: C) => IFragmentCgNode
-
- (ctx: C): IFragmentCgNode
-
Parameters
Returns IFragmentCgNode
Returns IFragmentCgNode
values
- values(node: IJtdValuesNode<M>, ctx: C, next: (ctx: C) => IFragmentCgNode): IFragmentCgNode
-
Parameters
-
-
ctx: C
-
next: (ctx: C) => IFragmentCgNode
-
- (ctx: C): IFragmentCgNode
-
Parameters
Returns IFragmentCgNode
Returns IFragmentCgNode
The validator dialect that describes how validators and type narrowing functions are generated.