PHPCfg\Op::getLine PHP Method

getLine() public method

public getLine ( )
    public function getLine()
    {
        return $this->getAttribute('startLine', -1);
    }

Usage Example

コード例 #1
0
ファイル: Analyze.php プロジェクト: alprs/Tuli
 protected function emitError($msg, Op $op)
 {
     echo $msg;
     echo " ";
     echo $op->getFile() . ":" . $op->getLine();
     echo "\n";
 }