A node in the abstract syntax tree of the parsed source code.

Hierarchy

  • AstNode

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
astType: string

The tree-sitter node type of this AST node.

children: null | AstNode[]

The child nodes of this AST node, or null for a leaf node.

A position in source code, identified by line and column numbers.

fieldName?: string

The name of the field this node occupies within its parent node, when the parent addresses it by name.

A position in source code, identified by line and column numbers.

Generated using TypeDoc