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
TreeItemonto the tree.- addAction
|Str,Obj? addAction(Str type, Obj? data := null)Creates and adds a
TreeItemonto the tree.- pop
Pops the last
TreeItemoff the tree.- popAction
|Str,Obj? popAction(Str? type := null)Pops the last
TreeItemoff the tree.- push
Rule push(Str type, Obj? data := null)Creates and pushes a
TreeItemonto the tree.- pushAction
|Str,Obj? pushAction(Str type, Obj? data := null)Creates and pushes a
TreeItemonto the tree.