Appearance
helix / CommandNodeBase
Abstract Class: CommandNodeBase
Defined in: core/ir/node.ts:77
Base for every command's AST node. Each command has its OWN node subclass (e.g. WeatherNode) with a distinct type, so a handler can be registered per command and the heavy commands (give, execute, ...) can carry a richer, hand-modelled shape instead of flat parts. The mechanical commands just accumulate parts via their builder.
Extends
Constructors
Constructor
new CommandNodeBase():
CommandNodeBase
Returns
CommandNodeBase
Inherited from
Properties
parts
parts:
CommandPart[] =[]
Defined in: core/ir/node.ts:79
type
abstracttype:string
Defined in: core/ir/node.ts:78