Skip to content

Commit 65e23b1

Browse files
Added API baseline changes.
1 parent 15b333e commit 65e23b1

8 files changed

+64
-16
lines changed

Diff for: tests/baselines/reference/APISample_compile.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1741,6 +1741,9 @@ declare module "typescript" {
17411741
InMultiLineCommentTrivia = 1,
17421742
InSingleQuoteStringLiteral = 2,
17431743
InDoubleQuoteStringLiteral = 3,
1744+
InTemplateHeadOrNoSubstitutionTemplate = 4,
1745+
InTemplateMiddleOrTail = 5,
1746+
InTemplateSubstitutionPosition = 6,
17441747
}
17451748
enum TokenClass {
17461749
Punctuation = 0,
@@ -1762,7 +1765,7 @@ declare module "typescript" {
17621765
classification: TokenClass;
17631766
}
17641767
interface Classifier {
1765-
getClassificationsForLine(text: string, lexState: EndOfLineState, classifyKeywordsInGenerics?: boolean): ClassificationResult;
1768+
getClassificationsForLine(text: string, lexState: EndOfLineState, syntacticClassifierAbsent?: boolean): ClassificationResult;
17661769
}
17671770
/**
17681771
* The document registry represents a store of SourceFile objects that can be shared between

Diff for: tests/baselines/reference/APISample_compile.types

+12-3
Original file line numberDiff line numberDiff line change
@@ -5539,6 +5539,15 @@ declare module "typescript" {
55395539

55405540
InDoubleQuoteStringLiteral = 3,
55415541
>InDoubleQuoteStringLiteral : EndOfLineState
5542+
5543+
InTemplateHeadOrNoSubstitutionTemplate = 4,
5544+
>InTemplateHeadOrNoSubstitutionTemplate : EndOfLineState
5545+
5546+
InTemplateMiddleOrTail = 5,
5547+
>InTemplateMiddleOrTail : EndOfLineState
5548+
5549+
InTemplateSubstitutionPosition = 6,
5550+
>InTemplateSubstitutionPosition : EndOfLineState
55425551
}
55435552
enum TokenClass {
55445553
>TokenClass : TokenClass
@@ -5594,12 +5603,12 @@ declare module "typescript" {
55945603
interface Classifier {
55955604
>Classifier : Classifier
55965605

5597-
getClassificationsForLine(text: string, lexState: EndOfLineState, classifyKeywordsInGenerics?: boolean): ClassificationResult;
5598-
>getClassificationsForLine : (text: string, lexState: EndOfLineState, classifyKeywordsInGenerics?: boolean) => ClassificationResult
5606+
getClassificationsForLine(text: string, lexState: EndOfLineState, syntacticClassifierAbsent?: boolean): ClassificationResult;
5607+
>getClassificationsForLine : (text: string, lexState: EndOfLineState, syntacticClassifierAbsent?: boolean) => ClassificationResult
55995608
>text : string
56005609
>lexState : EndOfLineState
56015610
>EndOfLineState : EndOfLineState
5602-
>classifyKeywordsInGenerics : boolean
5611+
>syntacticClassifierAbsent : boolean
56035612
>ClassificationResult : ClassificationResult
56045613
}
56055614
/**

Diff for: tests/baselines/reference/APISample_linter.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1772,6 +1772,9 @@ declare module "typescript" {
17721772
InMultiLineCommentTrivia = 1,
17731773
InSingleQuoteStringLiteral = 2,
17741774
InDoubleQuoteStringLiteral = 3,
1775+
InTemplateHeadOrNoSubstitutionTemplate = 4,
1776+
InTemplateMiddleOrTail = 5,
1777+
InTemplateSubstitutionPosition = 6,
17751778
}
17761779
enum TokenClass {
17771780
Punctuation = 0,
@@ -1793,7 +1796,7 @@ declare module "typescript" {
17931796
classification: TokenClass;
17941797
}
17951798
interface Classifier {
1796-
getClassificationsForLine(text: string, lexState: EndOfLineState, classifyKeywordsInGenerics?: boolean): ClassificationResult;
1799+
getClassificationsForLine(text: string, lexState: EndOfLineState, syntacticClassifierAbsent?: boolean): ClassificationResult;
17971800
}
17981801
/**
17991802
* The document registry represents a store of SourceFile objects that can be shared between

Diff for: tests/baselines/reference/APISample_linter.types

+12-3
Original file line numberDiff line numberDiff line change
@@ -5683,6 +5683,15 @@ declare module "typescript" {
56835683

56845684
InDoubleQuoteStringLiteral = 3,
56855685
>InDoubleQuoteStringLiteral : EndOfLineState
5686+
5687+
InTemplateHeadOrNoSubstitutionTemplate = 4,
5688+
>InTemplateHeadOrNoSubstitutionTemplate : EndOfLineState
5689+
5690+
InTemplateMiddleOrTail = 5,
5691+
>InTemplateMiddleOrTail : EndOfLineState
5692+
5693+
InTemplateSubstitutionPosition = 6,
5694+
>InTemplateSubstitutionPosition : EndOfLineState
56865695
}
56875696
enum TokenClass {
56885697
>TokenClass : TokenClass
@@ -5738,12 +5747,12 @@ declare module "typescript" {
57385747
interface Classifier {
57395748
>Classifier : Classifier
57405749

5741-
getClassificationsForLine(text: string, lexState: EndOfLineState, classifyKeywordsInGenerics?: boolean): ClassificationResult;
5742-
>getClassificationsForLine : (text: string, lexState: EndOfLineState, classifyKeywordsInGenerics?: boolean) => ClassificationResult
5750+
getClassificationsForLine(text: string, lexState: EndOfLineState, syntacticClassifierAbsent?: boolean): ClassificationResult;
5751+
>getClassificationsForLine : (text: string, lexState: EndOfLineState, syntacticClassifierAbsent?: boolean) => ClassificationResult
57435752
>text : string
57445753
>lexState : EndOfLineState
57455754
>EndOfLineState : EndOfLineState
5746-
>classifyKeywordsInGenerics : boolean
5755+
>syntacticClassifierAbsent : boolean
57475756
>ClassificationResult : ClassificationResult
57485757
}
57495758
/**

Diff for: tests/baselines/reference/APISample_transform.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1773,6 +1773,9 @@ declare module "typescript" {
17731773
InMultiLineCommentTrivia = 1,
17741774
InSingleQuoteStringLiteral = 2,
17751775
InDoubleQuoteStringLiteral = 3,
1776+
InTemplateHeadOrNoSubstitutionTemplate = 4,
1777+
InTemplateMiddleOrTail = 5,
1778+
InTemplateSubstitutionPosition = 6,
17761779
}
17771780
enum TokenClass {
17781781
Punctuation = 0,
@@ -1794,7 +1797,7 @@ declare module "typescript" {
17941797
classification: TokenClass;
17951798
}
17961799
interface Classifier {
1797-
getClassificationsForLine(text: string, lexState: EndOfLineState, classifyKeywordsInGenerics?: boolean): ClassificationResult;
1800+
getClassificationsForLine(text: string, lexState: EndOfLineState, syntacticClassifierAbsent?: boolean): ClassificationResult;
17981801
}
17991802
/**
18001803
* The document registry represents a store of SourceFile objects that can be shared between

Diff for: tests/baselines/reference/APISample_transform.types

+12-3
Original file line numberDiff line numberDiff line change
@@ -5635,6 +5635,15 @@ declare module "typescript" {
56355635

56365636
InDoubleQuoteStringLiteral = 3,
56375637
>InDoubleQuoteStringLiteral : EndOfLineState
5638+
5639+
InTemplateHeadOrNoSubstitutionTemplate = 4,
5640+
>InTemplateHeadOrNoSubstitutionTemplate : EndOfLineState
5641+
5642+
InTemplateMiddleOrTail = 5,
5643+
>InTemplateMiddleOrTail : EndOfLineState
5644+
5645+
InTemplateSubstitutionPosition = 6,
5646+
>InTemplateSubstitutionPosition : EndOfLineState
56385647
}
56395648
enum TokenClass {
56405649
>TokenClass : TokenClass
@@ -5690,12 +5699,12 @@ declare module "typescript" {
56905699
interface Classifier {
56915700
>Classifier : Classifier
56925701

5693-
getClassificationsForLine(text: string, lexState: EndOfLineState, classifyKeywordsInGenerics?: boolean): ClassificationResult;
5694-
>getClassificationsForLine : (text: string, lexState: EndOfLineState, classifyKeywordsInGenerics?: boolean) => ClassificationResult
5702+
getClassificationsForLine(text: string, lexState: EndOfLineState, syntacticClassifierAbsent?: boolean): ClassificationResult;
5703+
>getClassificationsForLine : (text: string, lexState: EndOfLineState, syntacticClassifierAbsent?: boolean) => ClassificationResult
56955704
>text : string
56965705
>lexState : EndOfLineState
56975706
>EndOfLineState : EndOfLineState
5698-
>classifyKeywordsInGenerics : boolean
5707+
>syntacticClassifierAbsent : boolean
56995708
>ClassificationResult : ClassificationResult
57005709
}
57015710
/**

Diff for: tests/baselines/reference/APISample_watcher.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1810,6 +1810,9 @@ declare module "typescript" {
18101810
InMultiLineCommentTrivia = 1,
18111811
InSingleQuoteStringLiteral = 2,
18121812
InDoubleQuoteStringLiteral = 3,
1813+
InTemplateHeadOrNoSubstitutionTemplate = 4,
1814+
InTemplateMiddleOrTail = 5,
1815+
InTemplateSubstitutionPosition = 6,
18131816
}
18141817
enum TokenClass {
18151818
Punctuation = 0,
@@ -1831,7 +1834,7 @@ declare module "typescript" {
18311834
classification: TokenClass;
18321835
}
18331836
interface Classifier {
1834-
getClassificationsForLine(text: string, lexState: EndOfLineState, classifyKeywordsInGenerics?: boolean): ClassificationResult;
1837+
getClassificationsForLine(text: string, lexState: EndOfLineState, syntacticClassifierAbsent?: boolean): ClassificationResult;
18351838
}
18361839
/**
18371840
* The document registry represents a store of SourceFile objects that can be shared between

Diff for: tests/baselines/reference/APISample_watcher.types

+12-3
Original file line numberDiff line numberDiff line change
@@ -5808,6 +5808,15 @@ declare module "typescript" {
58085808

58095809
InDoubleQuoteStringLiteral = 3,
58105810
>InDoubleQuoteStringLiteral : EndOfLineState
5811+
5812+
InTemplateHeadOrNoSubstitutionTemplate = 4,
5813+
>InTemplateHeadOrNoSubstitutionTemplate : EndOfLineState
5814+
5815+
InTemplateMiddleOrTail = 5,
5816+
>InTemplateMiddleOrTail : EndOfLineState
5817+
5818+
InTemplateSubstitutionPosition = 6,
5819+
>InTemplateSubstitutionPosition : EndOfLineState
58115820
}
58125821
enum TokenClass {
58135822
>TokenClass : TokenClass
@@ -5863,12 +5872,12 @@ declare module "typescript" {
58635872
interface Classifier {
58645873
>Classifier : Classifier
58655874

5866-
getClassificationsForLine(text: string, lexState: EndOfLineState, classifyKeywordsInGenerics?: boolean): ClassificationResult;
5867-
>getClassificationsForLine : (text: string, lexState: EndOfLineState, classifyKeywordsInGenerics?: boolean) => ClassificationResult
5875+
getClassificationsForLine(text: string, lexState: EndOfLineState, syntacticClassifierAbsent?: boolean): ClassificationResult;
5876+
>getClassificationsForLine : (text: string, lexState: EndOfLineState, syntacticClassifierAbsent?: boolean) => ClassificationResult
58685877
>text : string
58695878
>lexState : EndOfLineState
58705879
>EndOfLineState : EndOfLineState
5871-
>classifyKeywordsInGenerics : boolean
5880+
>syntacticClassifierAbsent : boolean
58725881
>ClassificationResult : ClassificationResult
58735882
}
58745883
/**

0 commit comments

Comments
 (0)