public function parse($string) { $this->root = self::node(self::T_ROOT); $this->stack = array(); $this->pushStack($this->root); $this->string = $string; parent::parse($string); return $this->root; }
public function parse($string) { parent::parse($string); $this->popToken(); return $this->res; }