Skip to content

ObjectASTNode

原文链接

https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.json.ObjectASTNode.html

ts
interface ObjectASTNode {
    children: ASTNode[];
    length: number;
    offset: number;
    parent?: ASTNode;
    properties: PropertyASTNode[];
    type: "object";
    value?: string | number | boolean;
}

children

length

  • 类型:number

offset

  • 类型:number

parent

properties

type

  • 类型:'object'

value

  • 类型:string | number | boolean