Interface NodeData

JSON data representation of an AST node.

Hierarchy

  • NodeData

Properties

Properties

nodes?: NodeData[]

Any child nodes the node might have.

tokens?: {
    type: string;
    [prop: string]: string | string[] | HaysonVal;
}[]

Any tokens the node might have.

Type declaration

  • [prop: string]: string | string[] | HaysonVal
  • type: string
type: string

The type of node. Each node has a unique identifier.

Generated using TypeDoc