nl_tokens: Constructs the fully qualified path of the item at the top of the given stack
pl_tokens: function buildItemPath ( itemStack ) { var nameComponents = [ ] ; for ( var i = 0 ; i < itemStack . length ; i ++ ) { var itemName = itemStack [ i ] . itemName ; if ( ! itemName ) { // Skip null or empty names (e.g. the first element is typically the root of the document, which has no name) continue ; } else if ( nameComponents . <mask> < 1 || itemName . indexOf ( '[' ) === 0 ) { nameComponents . push ( itemName ) ; } else { nameComponents . push ( '.' + itemName ) ; } } return nameComponents . join ( '' ) ; }