Home
last modified time | relevance | path

Searched refs:trivia (Results 1 – 25 of 27) sorted by relevance

12

/third_party/node/test/fixtures/wpt/resources/webidl2/lib/
Dwebidl2.js300 let trivia = "";
316 trivia += currentTrivia;
349 trivia, property
353 trivia = "";
375 trivia, property
392 tokens.push({ type, value: result[0], trivia, line, index }); property
394 trivia = "";
593 const text = inputs.map((t) => t.trivia + t.value).join("");
599 return text + nextToken.trivia;
601 return text.slice(nextToken.trivia.length);
[all …]
/third_party/typescript/scripts/eslint/tests/
Dboolean-trivia.test.cjs2 const rule = require("../rules/boolean-trivia.cjs");
11 ruleTester.run("boolean-trivia", rule, {
/third_party/typescript/tests/baselines/reference/
DparserSkippedTokens10.types5 /*existing trivia*/ ;
DparserSkippedTokens14.types4 /*existing trivia*/
DparserSkippedTokens10.symbols5 /*existing trivia*/ ;
DparserSkippedTokens15.types3 /*existing trivia*/
DparserSkippedTokens14.symbols4 /*existing trivia*/
DparserSkippedTokens15.symbols3 /*existing trivia*/
DparserSkippedTokens9.symbols3 ; // existing trivia
DparserSkippedTokens9.types3 ; // existing trivia
DparserSkippedTokens9.errors.txt5 ; // existing trivia
DparserSkippedTokens14.errors.txt9 /*existing trivia*/
DparserSkippedTokens10.errors.txt12 /*existing trivia*/ ;
DparserSkippedTokens15.errors.txt6 /*existing trivia*/
DcommentOnDecoratedClassDeclaration.types7 * Leading trivia
DcommentOnDecoratedClassDeclaration.symbols7 * Leading trivia
DjsxInvalidEsprimaTestSuite.symbols60 var x = /* Leading trivia */ <div>one</div><div>two</div>;;
DjsxInvalidEsprimaTestSuite.types158 var x = /* Leading trivia */ <div>one</div><div>two</div>;;
DjsxInvalidEsprimaTestSuite.errors.txt219 var x = /* Leading trivia */ <div>one</div><div>two</div>;;
/third_party/typescript/src/services/formatting/
Dformatting.ts946 trivia: TextRangeWithKind[],
950 for (const triviaItem of trivia) {
973 …function processTrivia(trivia: TextRangeWithKind[], parent: Node, contextNode: Node, dynamicIndent…
974 for (const triviaItem of trivia) {
1196 for (const trivia of trivias) { constant
1197 if (isComment(trivia.kind)) {
1198 if (startPos < trivia.pos) {
1199 trimTrailingWitespacesForPositions(startPos, trivia.pos - 1, previousRange);
1202 startPos = trivia.end + 1;
DformattingScanner.ts196 const trivia = createTextRangeWithKind( constant
206 trailingTrivia.push(trivia);
/third_party/typescript/tests/cases/conformance/jsx/
DjsxInvalidEsprimaTestSuite.tsx39 var x = /* Leading trivia */ <div>one</div><div>two</div>;;
/third_party/typescript/scripts/build/
Dprepend.mjs44 // eslint-disable-next-line local/boolean-trivia, no-null/no-null
/third_party/typescript/scripts/eslint/rules/
Dboolean-trivia.cjs5 name: "boolean-trivia",
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/
Did3v2.4.0-frames.txt899 $06 is trivia/'pop up' information

12