Ejemplo n.º 1
0
 /**
  * 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;
 }
Ejemplo n.º 2
0
 /**
  * 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;
 }
Ejemplo n.º 3
0
 /**
  * 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;
 }