getLisphpColumn() public method

public getLisphpColumn ( )
Ejemplo n.º 1
0
function Lisphp_printParsingError(Lisphp_ParsingException $e)
{
    echo $e->getMessage(), "\n";
    $lines = explode("\n", $e->code);
    echo $lines[$e->getLisphpLine() - 1], "\n";
    echo str_repeat(' ', $e->getLisphpColumn() - 1), "^\n";
}
Ejemplo n.º 2
0
 public function testColumn()
 {
     $this->markTestIncomplete('Somebody please debug this, I have no clue what is going on.');
     // todo
     $this->assertEquals(38, $this->exception->getLisphpColumn());
     $e = new Lisphp_ParsingException('{', 0);
     $this->assertEquals(1, $e->getLisphpColumn());
 }
Ejemplo n.º 3
0
 public function testColumn()
 {
     $this->assertEquals(38, $this->exception->getLisphpColumn());
     $e = new Lisphp_ParsingException('{', 0);
     $this->assertEquals(1, $e->getLisphpColumn());
 }