src/abstract-syntax-tree.js
function processAddSubtract(tokenizer, scope) {
  let node = processMultiplyDivide(tokenizer, scope);

  while (tokenizer.token.match(types.ADD_SUBTRACT)) {
    node = createOperatorNode(tokenizer.token.value, [node, processMultiplyDivide(tokenizer.skipToken(), scope)]);
  }

  return node;
}
function processAddSubtract(tokenizer, scope) {
  let node = processMultiplyDivide(tokenizer, scope);

  while (tokenizer.token.match(types.ADD_SUBTRACT)) {
    node = createOperatorNode(tokenizer.token.value, [node, processMultiplyDivide(tokenizer.skipToken(), scope)]);
  }

  return node;
}
function processAddSubtract ( tokenizer , scope ) { let node = processMultiplyDivide ( tokenizer , scope ) ; while ( tokenizer . token . match ( types . ADD_SUBTRACT ) ) { node = createOperatorNode ( tokenizer . token . value , [ node , processMultiplyDivide ( tokenizer . skipToken ( ) , scope ) ] ) ; } return node ; }
Process math Add or Subtract operators
@return {Function} compiled node
@private
Process math Add or Subtract operators