Skip to content

ArrayASTNode

原文链接

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

ts
interface ArrayASTNode {
    children: ASTNode[];
    items: ASTNode[];
    length: number;
    offset: number;
    parent?: ASTNode;
    type: "array";
    value?: string | number | boolean;
}

children

items

length

  • 类型:number

offset

  • 类型:number

parent

type

  • 类型:"array"

value

  • 类型:string | number | boolean;