Home
last modified time | relevance | path

Searched refs:tokenKind (Results 1 – 8 of 8) sorted by relevance

/third_party/typescript/src/services/
Dclassifier.ts881 const tokenKind = mergeConflictScanner.scan(); constant
884 const type = classifyTokenType(tokenKind);
951 … function classifyTokenType(tokenKind: SyntaxKind, token?: Node): ClassificationType | undefined {
952 if (isKeyword(tokenKind)) {
958 … if (tokenKind === SyntaxKind.LessThanToken || tokenKind === SyntaxKind.GreaterThanToken) {
966 if (isPunctuation(tokenKind)) {
969 if (tokenKind === SyntaxKind.EqualsToken) {
989 else if (tokenKind === SyntaxKind.NumericLiteral) {
992 else if (tokenKind === SyntaxKind.BigIntLiteral) {
995 else if (tokenKind === SyntaxKind.StringLiteral) {
[all …]
Dutilities.ts1417 const tokenKind = token.kind; constant
1433 else if (token.kind === tokenKind) {
/third_party/typescript/src/services/codefixes/
DfixUnreachableCode.ts21 tokenKind: Debug.formatSyntaxKind(token.kind),
/third_party/typescript/src/services/formatting/
Dformatting.ts46 …getIndentationForToken(tokenLine: number, tokenKind: SyntaxKind, container: Node, suppressDelta: b…
/third_party/typescript/lib/
Dtsserverlibrary.js117106 var tokenKind = token.kind;
117120 else if (token.kind === tokenKind) {
119399 var tokenKind = mergeConflictScanner.scan();
119401 var type = classifyTokenType(tokenKind);
119460 function classifyTokenType(tokenKind, token) { argument
119461 if (ts.isKeyword(tokenKind)) {
119466 if (tokenKind === 29 /* LessThanToken */ || tokenKind === 31 /* GreaterThanToken */) {
119473 if (ts.isPunctuation(tokenKind)) {
119476 if (tokenKind === 62 /* EqualsToken */) {
119494 else if (tokenKind === 8 /* NumericLiteral */) {
[all …]
Dtypescript.js117106 var tokenKind = token.kind;
117120 else if (token.kind === tokenKind) {
119399 var tokenKind = mergeConflictScanner.scan();
119401 var type = classifyTokenType(tokenKind);
119460 function classifyTokenType(tokenKind, token) { argument
119461 if (ts.isKeyword(tokenKind)) {
119466 if (tokenKind === 29 /* LessThanToken */ || tokenKind === 31 /* GreaterThanToken */) {
119473 if (ts.isPunctuation(tokenKind)) {
119476 if (tokenKind === 62 /* EqualsToken */) {
119494 else if (tokenKind === 8 /* NumericLiteral */) {
[all …]
Dtsserver.js116537 var tokenKind = token.kind;
116551 else if (token.kind === tokenKind) {
118830 var tokenKind = mergeConflictScanner.scan();
118832 var type = classifyTokenType(tokenKind);
118891 function classifyTokenType(tokenKind, token) { argument
118892 if (ts.isKeyword(tokenKind)) {
118897 if (tokenKind === 29 /* LessThanToken */ || tokenKind === 31 /* GreaterThanToken */) {
118904 if (ts.isPunctuation(tokenKind)) {
118907 if (tokenKind === 62 /* EqualsToken */) {
118925 else if (tokenKind === 8 /* NumericLiteral */) {
[all …]
DtypescriptServices.js117106 var tokenKind = token.kind;
117120 else if (token.kind === tokenKind) {
119399 var tokenKind = mergeConflictScanner.scan();
119401 var type = classifyTokenType(tokenKind);
119460 function classifyTokenType(tokenKind, token) { argument
119461 if (ts.isKeyword(tokenKind)) {
119466 if (tokenKind === 29 /* LessThanToken */ || tokenKind === 31 /* GreaterThanToken */) {
119473 if (ts.isPunctuation(tokenKind)) {
119476 if (tokenKind === 62 /* EqualsToken */) {
119494 else if (tokenKind === 8 /* NumericLiteral */) {
[all …]