Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TreeNodeCompatible

This is intended to duck type to TreeNode in @atomist/tree-path We do not implement its optional parent property. We require its optional value and offset properties.

Hierarchy

Index

Properties

Optional $children

$children: TreeNodeCompatible[]

Children of the node if it's a non-terminal

$name

$name: string

Name of the node, available in path expressions

$offset

$offset: number

Offset from 0 in the file

$value

$value: string

String represented by this tree node

Generated using TypeDoc