Home
last modified time | relevance | path

Searched refs:tokenStart (Results 1 – 15 of 15) sorted by relevance

/third_party/node/tools/inspector_protocol/lib/
DParser_cpp.template256 Token parseToken(const Char* start, const Char* end, const Char** tokenStart, const Char** tokenEnd)
258 skipWhitespaceAndComments(start, end, tokenStart);
259 start = *tokenStart;
410 const Char* tokenStart;
412 Token token = parseToken(start, end, &tokenStart, &tokenEnd);
427 double value = charactersToDouble(tokenStart, tokenEnd - tokenStart, &ok);
438 bool ok = decodeString(tokenStart + 1, tokenEnd - 1, &value);
447 token = parseToken(start, end, &tokenStart, &tokenEnd);
456 token = parseToken(start, end, &tokenStart, &tokenEnd);
459 token = parseToken(start, end, &tokenStart, &tokenEnd);
[all …]
Dencoding_cpp.template1783 const Char** tokenStart,
1785 SkipWhitespaceAndComments(start, end, tokenStart);
1786 start = *tokenStart;
/third_party/flutter/skia/src/sksl/
DSkSLCPPCodeGenerator.cpp686 int tokenStart = -1; in flushEmittedCode() local
688 if (tokenStart >= 0) { in flushEmittedCode()
698 int codeBlock = stoi(String(sksl.c_str() + tokenStart + 2, i - tokenStart - 2)); in flushEmittedCode()
706 tokenStart - flushPoint - 1); in flushEmittedCode()
715 tokenStart = -1; in flushEmittedCode()
723 tokenStart = i++; in flushEmittedCode()
806 int tokenStart = -1; in convertSKSLExpressionToCPP() local
808 if (tokenStart >= 0) { in convertSKSLExpressionToCPP()
811 fOut->write(expr.c_str() + tokenStart, i - tokenStart + 1); in convertSKSLExpressionToCPP()
812 tokenStart = -1; in convertSKSLExpressionToCPP()
[all …]
/third_party/typescript/src/services/formatting/
Dformatting.ts875 … const tokenStart = sourceFile.getLineAndCharacterOfPosition(currentTokenInfo.token.pos); constant
880 …lineAction = processRange(currentTokenInfo.token, tokenStart, parent, childContextNode, dynamicInd…
886 indentToken = lastTriviaWasNewLine && tokenStart.line !== prevEndLine;
900 …dynamicIndentation.getIndentationForToken(tokenStart.line, currentTokenInfo.token.kind, container,…
914 lastIndentedLine = tokenStart.line;
1053 const tokenStart = sourceFile.getLineAndCharacterOfPosition(pos); constant
1054 const startLinePosition = getStartPositionOfLine(tokenStart.line, sourceFile);
1055 …if (indentation !== characterToColumn(startLinePosition, tokenStart.character) || indentationIsDif…
1056 recordReplace(startLinePosition, tokenStart.character, indentationString);
1271 const tokenStart = tokenAtPosition.getStart(sourceFile); constant
[all …]
/third_party/typescript/src/services/
DjsDoc.ts262 const tokenStart = tokenAtPos.getStart(sourceFile); constant
264 if (!existingDocComment && tokenStart < position) {
296 const endLine = tokenStart === position ? newLine + indentationStr : "";
Dclassifier.ts908 …const tokenStart = node.kind === SyntaxKind.JsxText ? node.pos : classifyLeadingTriviaAndGetTokenS… constant
910 const tokenWidth = node.end - tokenStart; constant
915 pushClassification(tokenStart, tokenWidth, type);
/third_party/spirv-headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp631 bool Reader::readObject(Token& tokenStart) { in readObject() argument
636 currentValue().setOffsetStart(tokenStart.start_ - begin_); in readObject()
687 bool Reader::readArray(Token& tokenStart) { in readArray() argument
690 currentValue().setOffsetStart(tokenStart.start_ - begin_); in readArray()
1588 bool OurReader::readObject(Token& tokenStart) { in readObject() argument
1593 currentValue().setOffsetStart(tokenStart.start_ - begin_); in readObject()
1650 bool OurReader::readArray(Token& tokenStart) { in readArray() argument
1653 currentValue().setOffsetStart(tokenStart.start_ - begin_); in readArray()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp631 bool Reader::readObject(Token& tokenStart) { in readObject() argument
636 currentValue().setOffsetStart(tokenStart.start_ - begin_); in readObject()
687 bool Reader::readArray(Token& tokenStart) { in readArray() argument
690 currentValue().setOffsetStart(tokenStart.start_ - begin_); in readArray()
1588 bool OurReader::readObject(Token& tokenStart) { in readObject() argument
1593 currentValue().setOffsetStart(tokenStart.start_ - begin_); in readObject()
1650 bool OurReader::readArray(Token& tokenStart) { in readArray() argument
1653 currentValue().setOffsetStart(tokenStart.start_ - begin_); in readArray()
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp631 bool Reader::readObject(Token& tokenStart) { in readObject() argument
636 currentValue().setOffsetStart(tokenStart.start_ - begin_); in readObject()
687 bool Reader::readArray(Token& tokenStart) { in readArray() argument
690 currentValue().setOffsetStart(tokenStart.start_ - begin_); in readArray()
1588 bool OurReader::readObject(Token& tokenStart) { in readObject() argument
1593 currentValue().setOffsetStart(tokenStart.start_ - begin_); in readObject()
1650 bool OurReader::readArray(Token& tokenStart) { in readArray() argument
1653 currentValue().setOffsetStart(tokenStart.start_ - begin_); in readArray()
/third_party/protobuf/conformance/third_party/jsoncpp/
Djsoncpp.cpp646 bool Reader::readObject(Token& tokenStart) { in readObject() argument
651 currentValue().setOffsetStart(tokenStart.start_ - begin_); in readObject()
702 bool Reader::readArray(Token& tokenStart) { in readArray() argument
705 currentValue().setOffsetStart(tokenStart.start_ - begin_); in readArray()
1622 bool OurReader::readObject(Token& tokenStart) { in readObject() argument
1627 currentValue().setOffsetStart(tokenStart.start_ - begin_); in readObject()
1684 bool OurReader::readArray(Token& tokenStart) { in readArray() argument
1687 currentValue().setOffsetStart(tokenStart.start_ - begin_); in readArray()
/third_party/node/tools/inspector_protocol/encoding/
Dencoding.cc1775 const Char** tokenStart, in ParseToken() argument
1777 SkipWhitespaceAndComments(start, end, tokenStart); in ParseToken()
1778 start = *tokenStart; in ParseToken()
/third_party/typescript/lib/
Dtsserver.js118852 …var tokenStart = node.kind === 11 /* JsxText */ ? node.pos : classifyLeadingTriviaAndGetTokenStart…
118853 var tokenWidth = node.end - tokenStart;
118858 pushClassification(tokenStart, tokenWidth, type);
126872 var tokenStart = tokenAtPos.getStart(sourceFile);
126874 if (!existingDocComment && tokenStart < position) {
126901 var endLine = tokenStart === position ? newLine + indentationStr : "";
133565 … var tokenStart = sourceFile.getLineAndCharacterOfPosition(currentTokenInfo.token.pos);
133570 …lineAction = processRange(currentTokenInfo.token, tokenStart, parent, childContextNode, dynamicInd…
133576 … indentToken = lastTriviaWasNewLine && tokenStart.line !== prevEndLine;
133588 …dynamicIndentation.getIndentationForToken(tokenStart.line, currentTokenInfo.token.kind, container,…
[all …]
DtypescriptServices.js119421 …var tokenStart = node.kind === 11 /* JsxText */ ? node.pos : classifyLeadingTriviaAndGetTokenStart…
119422 var tokenWidth = node.end - tokenStart;
119427 pushClassification(tokenStart, tokenWidth, type);
127441 var tokenStart = tokenAtPos.getStart(sourceFile);
127443 if (!existingDocComment && tokenStart < position) {
127470 var endLine = tokenStart === position ? newLine + indentationStr : "";
134134 … var tokenStart = sourceFile.getLineAndCharacterOfPosition(currentTokenInfo.token.pos);
134139 …lineAction = processRange(currentTokenInfo.token, tokenStart, parent, childContextNode, dynamicInd…
134145 … indentToken = lastTriviaWasNewLine && tokenStart.line !== prevEndLine;
134157 …dynamicIndentation.getIndentationForToken(tokenStart.line, currentTokenInfo.token.kind, container,…
[all …]
Dtsserverlibrary.js119421 …var tokenStart = node.kind === 11 /* JsxText */ ? node.pos : classifyLeadingTriviaAndGetTokenStart…
119422 var tokenWidth = node.end - tokenStart;
119427 pushClassification(tokenStart, tokenWidth, type);
127441 var tokenStart = tokenAtPos.getStart(sourceFile);
127443 if (!existingDocComment && tokenStart < position) {
127470 var endLine = tokenStart === position ? newLine + indentationStr : "";
134134 … var tokenStart = sourceFile.getLineAndCharacterOfPosition(currentTokenInfo.token.pos);
134139 …lineAction = processRange(currentTokenInfo.token, tokenStart, parent, childContextNode, dynamicInd…
134145 … indentToken = lastTriviaWasNewLine && tokenStart.line !== prevEndLine;
134157 …dynamicIndentation.getIndentationForToken(tokenStart.line, currentTokenInfo.token.kind, container,…
[all …]
Dtypescript.js119421 …var tokenStart = node.kind === 11 /* JsxText */ ? node.pos : classifyLeadingTriviaAndGetTokenStart…
119422 var tokenWidth = node.end - tokenStart;
119427 pushClassification(tokenStart, tokenWidth, type);
127441 var tokenStart = tokenAtPos.getStart(sourceFile);
127443 if (!existingDocComment && tokenStart < position) {
127470 var endLine = tokenStart === position ? newLine + indentationStr : "";
134134 … var tokenStart = sourceFile.getLineAndCharacterOfPosition(currentTokenInfo.token.pos);
134139 …lineAction = processRange(currentTokenInfo.token, tokenStart, parent, childContextNode, dynamicInd…
134145 … indentToken = lastTriviaWasNewLine && tokenStart.line !== prevEndLine;
134157 …dynamicIndentation.getIndentationForToken(tokenStart.line, currentTokenInfo.token.kind, container,…
[all …]