Home
last modified time | relevance | path

Searched refs:lineStart (Results 1 – 25 of 52) sorted by relevance

123

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/WhiteSpace/
DScopeClosingBraceSniff.php88 $lineStart = ($stackPtr - 1);
89 for ($lineStart; $lineStart > 0; $lineStart--) {
90 if (strpos($tokens[$lineStart]['content'], $phpcsFile->eolChar) !== false) {
95 $lineStart++;
98 if ($tokens[$lineStart]['code'] === T_WHITESPACE) {
99 $startColumn = $tokens[($lineStart + 1)]['column'];
100 } else if ($tokens[$lineStart]['code'] === T_INLINE_HTML) {
101 $trimmed = ltrim($tokens[$lineStart]['content']);
103 $startColumn = $tokens[($lineStart + 1)]['column'];
105 $startColumn = (strlen($tokens[$lineStart]['content']) - strlen($trimmed));
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/WhiteSpace/
DScopeClosingBraceSniff.php69 … $lineStart = $phpcsFile->findFirstOnLine(array(T_WHITESPACE, T_INLINE_HTML), $stackPtr, true);
71 $startColumn = $tokens[$lineStart]['column'];
88 … $lineStart = $phpcsFile->findFirstOnLine(array(T_WHITESPACE, T_INLINE_HTML), $scopeEnd, true);
89 $braceIndent = $tokens[$lineStart]['column'];
104 $phpcsFile->fixer->addContentBefore($lineStart, str_repeat(' ', $diff));
106 $phpcsFile->fixer->substrToken(($lineStart - 1), 0, $diff);
/plugin/asciidocjs/node_modules/with/node_modules/acorn/src/
Dstate.js39 this.lineStart = Math.max(0, this.input.lastIndexOf("\n", startPos))
40 this.curLine = this.input.slice(0, this.lineStart).split(lineBreak).length
42 this.pos = this.lineStart = 0
Dtokenize.js70 while (this.pos < this.lineStart) {
71 this.lineStart = this.input.lastIndexOf("\n", this.lineStart - 2) + 1
123 this.lineStart = match.index + match[0].length
162 this.lineStart = this.pos
599 this.lineStart = this.pos
624 if (this.options.locations) { this.lineStart = this.pos; ++this.curLine }
Dlocation.js24 return new Position(this.curLine, this.pos - this.lineStart)
/plugin/asciidocjs/node_modules/acorn/src/
Dstate.js43 this.lineStart = this.input.lastIndexOf("\n", startPos - 1) + 1
44 this.curLine = this.input.slice(0, this.lineStart).split(lineBreak).length
46 this.pos = this.lineStart = 0
Dlocation.js24 return new Position(this.curLine, this.pos - this.lineStart)
Dtokenize.js110 this.lineStart = match.index + match[0].length
149 this.lineStart = this.pos
587 this.lineStart = this.pos
612 if (this.options.locations) { this.lineStart = this.pos; ++this.curLine }
/plugin/combo/vendor/salesforce/handlebars-php/src/Handlebars/
H A DTokenizer.php81 protected $lineStart; variable in Handlebars\\Tokenizer
237 $this->lineStart = 0;
266 for ($j = $this->lineStart; $j < $tokensCount; $j++) {
294 for ($j = $this->lineStart; $j < $tokensCount; $j++) {
311 $this->lineStart = count($this->tokens);
/plugin/commonmark/
H A Daction.php65 $lineStart = $this->headingInfo[$hid]['startline'] - 1;
67 $start = $this->linePosition[$lineStart] + 1;
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Functions/
DOpeningFunctionBraceBsdAllmanSniff.php158 $lineStart = $phpcsFile->findFirstOnLine(T_WHITESPACE, $stackPtr, true);
162 $startColumn = $tokens[$lineStart]['column'];
/plugin/markdownextra/lib/meltdown/js/
Djquery.meltdown.js31 var text, selection, before, placeholder, after, lineStart, lineEnd, charBefore, charAfter;
39 lineStart = text.lastIndexOf('\n', selection.start) + 1;
44 thees.setSelection(lineStart, lineEnd);
/plugin/c3chart/assets/
Djs-yaml.min.js2lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function le(e,t){var n={nam…
Dd3.min.js2lineStart();++i<o;)r=t[i],n.point(r[0],r[1],r[2]);n.lineEnd()}function An(t,n){var e=-1,r=t.length… method
/plugin/achart/assets/
Djs-yaml.min.js2lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function le(e,t){var n={nam…
/plugin/amcharts/assets/
Djs-yaml.min.js2lineStart=0,this.lineIndent=0,this.documents=[]}function l(e,t){return new D(t,new P(e.filename,e.…
/plugin/sketchcanvas/script/
Djs-yaml.mjs124 function getLine(buffer, lineStart, lineEnd, position, maxLineLength) { argument
129 if (position - lineStart > maxHalfLength) {
131 lineStart = position - maxHalfLength + head.length;
140 str: head + buffer.slice(lineStart, lineEnd).replace(/\t/g, '→') + tail,
141 pos: position - lineStart + head.length // relative position
1240 this.lineStart = 0;
1268 column: state.position - state.lineStart
1446 state.lineStart = startLineStart || state.lineStart;
1485 state.lineStart = state.position;
1536 // Condition state.position === state.lineStart is tested
[all …]
/plugin/asciidocjs/node_modules/with/node_modules/acorn/dist/
Dacorn.es.js445 this.lineStart = Math.max(0, this.input.lastIndexOf("\n", startPos))
446 this.curLine = this.input.slice(0, this.lineStart).split(lineBreak).length
448 this.pos = this.lineStart = 0
2224 return new Position(this.curLine, this.pos - this.lineStart)
2438 while (this.pos < this.lineStart) {
2439 this$1.lineStart = this$1.input.lastIndexOf("\n", this$1.lineStart - 2) + 1
2493 this$1.lineStart = match.index + match[0].length
2536 this$1.lineStart = this$1.pos
2981 this$1.lineStart = this$1.pos
3006 if (this.options.locations) { this.lineStart = this.pos; ++this.curLine }
Dacorn.js451 this.lineStart = Math.max(0, this.input.lastIndexOf("\n", startPos))
452 this.curLine = this.input.slice(0, this.lineStart).split(lineBreak).length
454 this.pos = this.lineStart = 0
2230 return new Position(this.curLine, this.pos - this.lineStart)
2444 while (this.pos < this.lineStart) {
2445 this$1.lineStart = this$1.input.lastIndexOf("\n", this$1.lineStart - 2) + 1
2499 this$1.lineStart = match.index + match[0].length
2542 this$1.lineStart = this$1.pos
2987 this$1.lineStart = this$1.pos
3012 if (this.options.locations) { this.lineStart = this.pos; ++this.curLine }
/plugin/dirtylittlehelper/script/
Dmermaid.min.js1lineStart();++i<a;)r=t[i],e.point(r[0],r[1],r[2]);e.lineEnd()}function Fc(t,e){var n=-1,r=t.length…
/plugin/diagramsnet/lib/js/mermaid/
Dmermaid.min.js6lineStart();++i<a;)r=t[i],e.point(r[0],r[1],r[2]);e.lineEnd()}function Fc(t,e){var n=-1,r=t.length…
/plugin/flowcharts/
Dmermaid.min.js1lineStart();++i<a;)r=t[i],e.point(r[0],r[1],r[2]);e.lineEnd()}function Ru(t,e){var n=-1,r=t.length…
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/Template/js/
Dd3.min.js2lineStart:r,lineEnd:o,polygonStart:function(){t.polygonStart(),S.lineStart=l},polygonEnd:function(… property
4lineStart:b,lineEnd:b,polygonStart:function(){ka.reset(),Na.lineStart=vt},polygonEnd:function(){va…
/plugin/asciidocjs/node_modules/acorn/dist/
Dacorn.es.js455 this.lineStart = this.input.lastIndexOf("\n", startPos - 1) + 1
456 this.curLine = this.input.slice(0, this.lineStart).split(lineBreak).length
458 this.pos = this.lineStart = 0
2491 return new Position(this.curLine, this.pos - this.lineStart)
2749 this$1.lineStart = match.index + match[0].length
2792 this$1.lineStart = this$1.pos
3238 this$1.lineStart = this$1.pos
3263 if (this.options.locations) { this.lineStart = this.pos; ++this.curLine }
Dacorn.js461 this.lineStart = this.input.lastIndexOf("\n", startPos - 1) + 1
462 this.curLine = this.input.slice(0, this.lineStart).split(lineBreak).length
464 this.pos = this.lineStart = 0
2497 return new Position(this.curLine, this.pos - this.lineStart)
2755 this$1.lineStart = match.index + match[0].length
2798 this$1.lineStart = this$1.pos
3244 this$1.lineStart = this$1.pos
3269 if (this.options.locations) { this.lineStart = this.pos; ++this.curLine }

123