classafPegger::TreeRules
sys::Obj afPegger::TreeRules : afPegger::Rules
@
Js
Rules and actions for creating tree structures.
- add
Rule add(Str type, Obj? data := null)
Creates and adds a
TreeItem
onto the tree.- addAction
|Str,Obj? addAction(Str type, Obj? data := null)
Creates and adds a
TreeItem
onto the tree.- pop
Pops the last
TreeItem
off the tree.- popAction
|Str,Obj? popAction(Str? type := null)
Pops the last
TreeItem
off the tree.- push
Rule push(Str type, Obj? data := null)
Creates and pushes a
TreeItem
onto the tree.- pushAction
|Str,Obj? pushAction(Str type, Obj? data := null)
Creates and pushes a
TreeItem
onto the tree.