コード例 #1
0
ファイル: Parser.php プロジェクト: mck89/peast
 /**
  * Returns parsed tokens from the source code
  * 
  * @return Token[]
  */
 public function tokenize()
 {
     $this->scanner->enableTokenRegistration();
     $this->parse();
     return $this->scanner->getTokens();
 }