MCPcopy
hub / github.com/csev/py4e / Pos

Function Pos

tools/pythonauto/static/codemirror/codemirror.js:2532–2535  ·  view source on GitHub ↗
(line, ch)

Source from the content-addressed store, hash-verified

2530 // POSITION OBJECT
2531
2532 function Pos(line, ch) {
2533 if (!(this instanceof Pos)) return new Pos(line, ch);
2534 this.line = line; this.ch = ch;
2535 }
2536 CodeMirror.Pos = Pos;
2537
2538 function posEq(a, b) {return a.line == b.line && a.ch == b.ch;}

Callers 15

copyPosFunction · 0.85
clipPosFunction · 0.85
clipToLenFunction · 0.85
skipAtomicFunction · 0.85
coordsFunction · 0.85
PosWithInfoFunction · 0.85
getXFunction · 0.85
readInputFunction · 0.85
prepareCopyCutFunction · 0.85
posFromMouseFunction · 0.85
leftButtonSelectFunction · 0.85
extendToFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected