/** * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2020-Present Datadog, Inc. */ import { AnalysisPosition } from "./AnalysisPosition"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * A node in the abstract syntax tree of the parsed source code. */ export declare class AstNode { /** * The tree-sitter node type of this AST node. */ "astType": string; /** * The child nodes of this AST node, or null for a leaf node. */ "children": Array | null; /** * A position in source code, identified by line and column numbers. */ "end": AnalysisPosition; /** * The name of the field this node occupies within its parent node, when the parent addresses it by name. */ "fieldName"?: string; /** * A position in source code, identified by line and column numbers. */ "start": AnalysisPosition; /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with * the 'additionalProperties' keyword in the OAS document. */ "additionalProperties"?: { [key: string]: any; }; /** * @ignore */ "_unparsed"?: boolean; /** * @ignore */ static readonly attributeTypeMap: AttributeTypeMap; /** * @ignore */ static getAttributeTypeMap(): AttributeTypeMap; constructor(); }