Home
last modified time | relevance | path

Searched refs:firstNonWhitespace (Results 1 – 5 of 5) sorted by relevance

/third_party/typescript/src/compiler/transformers/
Djsx.ts455 let firstNonWhitespace = 0;
467 if (firstNonWhitespace !== -1 && lastNonWhitespace !== -1) {
468 …acc = addLineOfJsxText(acc, text.substr(firstNonWhitespace, lastNonWhitespace - firstNonWhitespace
473 firstNonWhitespace = -1;
477 if (firstNonWhitespace === -1) {
478 firstNonWhitespace = i;
483 return firstNonWhitespace !== -1
485 ? addLineOfJsxText(acc, text.substr(firstNonWhitespace))
/third_party/typescript/src/compiler/
Dscanner.ts2334 let firstNonWhitespace = 0;
2364 if (isLineBreak(char) && firstNonWhitespace === 0) {
2365 firstNonWhitespace = -1;
2367 else if (!allowMultilineJsxText && isLineBreak(char) && firstNonWhitespace > 0) {
2373 firstNonWhitespace = pos;
2381 … return firstNonWhitespace === -1 ? SyntaxKind.JsxTextAllWhiteSpaces : SyntaxKind.JsxText;
/third_party/vk-gl-cts/framework/opengl/
DgluShaderLibrary.cpp1750 const std::string::size_type firstNonWhitespace = line.find_first_not_of("\t "); in injectExtensionRequirements() local
1751 …onst bool isPreprocessorDirective = (firstNonWhitespace != std::string::npos && line.at(first… in injectExtensionRequirements()
/third_party/typescript/lib/
DtypingsInstaller.js12183 var firstNonWhitespace = 0;
12210 if (isLineBreak(char) && firstNonWhitespace === 0) {
12211 firstNonWhitespace = -1;
12213 else if (!allowMultilineJsxText && isLineBreak(char) && firstNonWhitespace > 0) {
12219 firstNonWhitespace = pos;
12224 …return firstNonWhitespace === -1 ? 12 /* SyntaxKind.JsxTextAllWhiteSpaces */ : 11 /* SyntaxKind.Js…
102765 var firstNonWhitespace = 0;
102776 if (firstNonWhitespace !== -1 && lastNonWhitespace !== -1) {
102777 …acc = addLineOfJsxText(acc, text.substr(firstNonWhitespace, lastNonWhitespace - firstNonWhitespace
102781 firstNonWhitespace = -1;
[all …]
Dtsc.js9123 var firstNonWhitespace = 0;
9142 if (isLineBreak(char) && firstNonWhitespace === 0) {
9143 firstNonWhitespace = -1;
9145 else if (!allowMultilineJsxText && isLineBreak(char) && firstNonWhitespace > 0) {
9149 firstNonWhitespace = pos;
9154 return firstNonWhitespace === -1 ? 12 : 11;
86288 var firstNonWhitespace = 0;
86293 if (firstNonWhitespace !== -1 && lastNonWhitespace !== -1) {
86294 …acc = addLineOfJsxText(acc, text.substr(firstNonWhitespace, lastNonWhitespace - firstNonWhitespace
86296 firstNonWhitespace = -1;
[all …]