Searched refs:lineno (Results 26 - 38 of 38) sorted by relevance

12

/gem5/ext/ply/example/unicalc/
H A Dcalc.py43 t.lexer.lineno += t.value.count("\n")
/gem5/ext/ply/ply/
H A Dyacc.py173 # .lineno = Starting line number
185 # The lineno() method returns the line number of a given
210 def lineno(self,n): member in class:YaccProduction
211 return getattr(self.slice[n],"lineno",0)
213 def set_lineno(self,n,lineno):
214 self.slice[n].lineno = n
217 startline = getattr(self.slice[n],"lineno",0)
402 sym.lineno = t1.lineno
405 sym.endlineno = getattr(t1,"endlineno",t1.lineno)
[all...]
H A Dlex.py71 return "LexToken(%s,%r,%d,%d)" % (self.type,self.value,self.lineno,self.lexpos)
110 # lineno - Current line number
138 self.lineno = 1 # Current line number
325 tok.lineno = self.lineno
369 tok.lineno = self.lineno
379 tok.lineno = self.lineno
1037 sys.stdout.write("(%s,%r,%d,%d)\n" % (tok.type, tok.value, tok.lineno,to
[all...]
/gem5/ext/ply/example/optcalc/
H A Dcalc.py44 t.lexer.lineno += t.value.count("\n")
/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_wait.cpp370 sc_set_location( const char* file, int lineno, sc_simcontext* simc ) argument
375 handle->lineno = lineno;
H A Dsc_process.cpp545 lineno(0),
H A Dsc_process.h408 int lineno; member in class:sc_core::sc_process_b
/gem5/src/python/m5/util/
H A Dcode_formatter.py267 lineno = 1
271 lineno = len(lines)
274 (lineno, colno))
/gem5/ext/ply/example/newclasscalc/
H A Dcalc.py94 t.lexer.lineno += t.value.count("\n")
/gem5/ext/ply/example/classcalc/
H A Dcalc.py91 t.lexer.lineno += t.value.count("\n")
/gem5/ext/ply/example/BASIC/
H A Dbasparse.py51 lineno = int(p[1])
52 p[0] = (lineno,p[2])
/gem5/src/mem/slicc/
H A Dparser.py87 t.lexer.lineno += t.value.count('\n')
95 t.lexer.lineno += len(t.value)
/gem5/ext/pybind11/include/pybind11/
H A Dcast.h440 int lineno = PyFrame_GetLineNumber(frame); local
443 "(" + std::to_string(lineno) + "): " +

Completed in 33 milliseconds

12