Lines Matching defs:tokens
6 * Handlebars tokens.
27 * Process array of tokens and convert them into parse tree
29 * @param array $tokens Set of
33 public function parse(Array $tokens = [])
35 return $this->buildTree(new ArrayIterator($tokens));
41 * @param \ArrayIterator $tokens Stream of tokens
48 private function buildTree(ArrayIterator $tokens)
53 $token = $tokens->current();
54 $tokens->next();
88 } while ($tokens->valid());