classafPegger::TreeRules

sys::Obj
  afPegger::TreeRules : afPegger::Rules

@Js

Rules and actions for creating tree structures.

add

Source

Rule add(Str type, Obj? data := null)

Creates and adds a TreeItem onto the tree.

addAction

Source

|Str,Obj? addAction(Str type, Obj? data := null)

Creates and adds a TreeItem onto the tree.

pop

Source

Rule pop(Str? type := null)

Pops the last TreeItem off the tree.

popAction

Source

|Str,Obj? popAction(Str? type := null)

Pops the last TreeItem off the tree.

push

Source

Rule push(Str type, Obj? data := null)

Creates and pushes a TreeItem onto the tree.

pushAction

Source

|Str,Obj? pushAction(Str type, Obj? data := null)

Creates and pushes a TreeItem onto the tree.