/** * get token info * @see Fl_Token::getTokenInfo() */ public function getTokenInfo($type, $value) { $result = parent::getTokenInfo($type, $value); $result['preSpace'] = $this->preSpace; $this->preSpace = false; return $result; }
/** * get token info * @see Fl_Token::getTokenInfo() */ public function getTokenInfo($type = '', $value = '', $isComment = false) { $result = parent::getTokenInfo($type, $value); $result['spaceBefore'] = $this->spaceBefore; $this->spaceBefore = false; return $result; }
/** * get token info, add regexp allowed item * @see Fl_Token::getTokenInfo() */ public function getTokenInfo($type = '', $value = '', $isComment = false) { $result = parent::getTokenInfo($type, $value, $isComment); $this->regexpAllowed = Fl_Js_Static::isRegexpAllowed($type, $value); return $result; }