Lines Matching defs:pos
23 static function line_nr($pos, $file_path, $start_line = 0) {
35 //find last pos on current line
39 $pos += $find;
51 $pos += $i;
57 if ($start_pos >= $pos) {
60 return self::$line_nr_c[$file_path][$pos];
65 for($i=$start_pos;$i <= $pos; $i++)
71 return self::$line_nr_c[$file_path][$pos];
157 function table($match, $state, $pos) {
166 $line = helper_plugin_dtable::line_nr($pos, $this->file_path, $this->start_line);
174 $line = helper_plugin_dtable::line_nr($pos, $this->file_path, $this->start_line);
200 $line = helper_plugin_dtable::line_nr($pos, $this->file_path, $this->start_line);
232 public function linebreak($match, $state, $pos) {