nl_tokens: Convert path to array of page objects *
pl_tokens: function ( path ) { var hierachy = scope . tree . pathToIdArray ( path ) ; var pages = [ ] ; var subtree = scope . tree . all ; for ( var h in hierachy ) { var id = hierachy [ h ] ; if ( scope . tree . hasChildren ( subtree ) && subtree . children [ id ] ) { subtree = subtree . children [ id ] ; pages . push ( subtree ) ; } else if ( subtree && subtree [ id ] ) { // extract root node, which is no child, directly subtree = subtree [ <mask> ] pages . push ( subtree ) ; } } return pages ; }