code: function saveResolvedLocalsInData() {
      var localNames = previousOrParentNode.tNode.localNames;
      if (localNames) {
          for (var i = 0; i < localNames.length; i += 2) {
              var index = localNames[i + 1];
              var value = index === -1 ? previousOrParentNode.native : directives[index];
              viewData.push(value);
          }
      }
  }
docs: Takes a list of local names and indices and pushes the resolved local variable values
  to LViewData in the same order as they are loaded in the template with load().