getLisphpColumn() public method

public getLisphpColumn ( )
Example #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";
}
 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());
 }
Example #3
0
 public function testColumn()
 {
     $this->assertEquals(38, $this->exception->getLisphpColumn());
     $e = new Lisphp_ParsingException('{', 0);
     $this->assertEquals(1, $e->getLisphpColumn());
 }