Skip to content

Commit 8591a97

Browse files
Update AST baselines
1 parent dbe0364 commit 8591a97

File tree

64 files changed

+1232
-880
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1232
-880
lines changed

tests/service/data/SyntaxTree/Expression/AnonRecd - Quotation 01.fs.bsl

Lines changed: 57 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -7,60 +7,69 @@ ImplFile
77
[Expr
88
(AnonRecd
99
(false, None,
10-
[(SynLongIdent ([A], [], [None]), Some (3,5--3,6),
11-
Quote
12-
(Ident op_Quotation, false,
13-
App
14-
(NonAtomic, false,
15-
App
16-
(NonAtomic, true,
17-
LongIdent
18-
(false,
19-
SynLongIdent
20-
([op_Addition], [],
21-
[Some (OriginalNotation "+")]), None,
22-
(3,12--3,13)), Const (Int32 1, (3,10--3,11)),
23-
(3,10--3,13)), Const (Int32 1, (3,14--3,15)),
24-
(3,10--3,15)), false, (3,7--3,18)))], (3,0--3,20),
25-
{ OpeningBraceRange = (3,0--3,2) }), (3,0--3,20));
10+
[Field
11+
(SynExprAnonRecordField
12+
(SynLongIdent ([A], [], [None]), Some (3,5--3,6),
13+
Quote
14+
(Ident op_Quotation, false,
15+
App
16+
(NonAtomic, false,
17+
App
18+
(NonAtomic, true,
19+
LongIdent
20+
(false,
21+
SynLongIdent
22+
([op_Addition], [],
23+
[Some (OriginalNotation "+")]), None,
24+
(3,12--3,13)), Const (Int32 1, (3,10--3,11)),
25+
(3,10--3,13)), Const (Int32 1, (3,14--3,15)),
26+
(3,10--3,15)), false, (3,7--3,18)), (3,3--3,18)),
27+
None)], (3,0--3,20), { OpeningBraceRange = (3,0--3,2) }),
28+
(3,0--3,20));
2629
Expr
2730
(AnonRecd
2831
(false, None,
29-
[(SynLongIdent ([A], [], [None]), Some (5,4--5,5),
30-
Quote
31-
(Ident op_Quotation, false,
32-
App
33-
(NonAtomic, false,
34-
App
35-
(NonAtomic, true,
36-
LongIdent
37-
(false,
38-
SynLongIdent
39-
([op_Addition], [],
40-
[Some (OriginalNotation "+")]), None,
41-
(5,11--5,12)), Const (Int32 1, (5,9--5,10)),
42-
(5,9--5,12)), Const (Int32 1, (5,13--5,14)),
43-
(5,9--5,14)), false, (5,6--5,17)))], (5,0--5,20),
44-
{ OpeningBraceRange = (5,0--5,2) }), (5,0--5,20));
32+
[Field
33+
(SynExprAnonRecordField
34+
(SynLongIdent ([A], [], [None]), Some (5,4--5,5),
35+
Quote
36+
(Ident op_Quotation, false,
37+
App
38+
(NonAtomic, false,
39+
App
40+
(NonAtomic, true,
41+
LongIdent
42+
(false,
43+
SynLongIdent
44+
([op_Addition], [],
45+
[Some (OriginalNotation "+")]), None,
46+
(5,11--5,12)), Const (Int32 1, (5,9--5,10)),
47+
(5,9--5,12)), Const (Int32 1, (5,13--5,14)),
48+
(5,9--5,14)), false, (5,6--5,17)), (5,2--5,17)),
49+
None)], (5,0--5,20), { OpeningBraceRange = (5,0--5,2) }),
50+
(5,0--5,20));
4551
Expr
4652
(AnonRecd
4753
(false, None,
48-
[(SynLongIdent ([A], [], [None]), Some (7,5--7,6),
49-
Quote
50-
(Ident op_Quotation, false,
51-
App
52-
(NonAtomic, false,
53-
App
54-
(NonAtomic, true,
55-
LongIdent
56-
(false,
57-
SynLongIdent
58-
([op_Addition], [],
59-
[Some (OriginalNotation "+")]), None,
60-
(7,12--7,13)), Const (Int32 1, (7,10--7,11)),
61-
(7,10--7,13)), Const (Int32 1, (7,14--7,15)),
62-
(7,10--7,15)), false, (7,7--7,18)))], (7,0--7,21),
63-
{ OpeningBraceRange = (7,0--7,2) }), (7,0--7,21))],
54+
[Field
55+
(SynExprAnonRecordField
56+
(SynLongIdent ([A], [], [None]), Some (7,5--7,6),
57+
Quote
58+
(Ident op_Quotation, false,
59+
App
60+
(NonAtomic, false,
61+
App
62+
(NonAtomic, true,
63+
LongIdent
64+
(false,
65+
SynLongIdent
66+
([op_Addition], [],
67+
[Some (OriginalNotation "+")]), None,
68+
(7,12--7,13)), Const (Int32 1, (7,10--7,11)),
69+
(7,10--7,13)), Const (Int32 1, (7,14--7,15)),
70+
(7,10--7,15)), false, (7,7--7,18)), (7,3--7,18)),
71+
None)], (7,0--7,21), { OpeningBraceRange = (7,0--7,2) }),
72+
(7,0--7,21))],
6473
PreXmlDoc ((1,0), FSharp.Compiler.Xml.XmlDocCollector), [], None,
6574
(1,0--7,21), { LeadingKeyword = Module (1,0--1,6) })], (true, true),
6675
{ ConditionalDirectives = []

tests/service/data/SyntaxTree/Expression/AnonRecd - Quotation 02.fs.bsl

Lines changed: 57 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -7,60 +7,69 @@ ImplFile
77
[Expr
88
(AnonRecd
99
(false, None,
10-
[(SynLongIdent ([A], [], [None]), Some (3,5--3,6),
11-
Quote
12-
(Ident op_QuotationUntyped, true,
13-
App
14-
(NonAtomic, false,
15-
App
16-
(NonAtomic, true,
17-
LongIdent
18-
(false,
19-
SynLongIdent
20-
([op_Addition], [],
21-
[Some (OriginalNotation "+")]), None,
22-
(3,13--3,14)), Const (Int32 1, (3,11--3,12)),
23-
(3,11--3,14)), Const (Int32 1, (3,15--3,16)),
24-
(3,11--3,16)), false, (3,7--3,20)))], (3,0--3,22),
25-
{ OpeningBraceRange = (3,0--3,2) }), (3,0--3,22));
10+
[Field
11+
(SynExprAnonRecordField
12+
(SynLongIdent ([A], [], [None]), Some (3,5--3,6),
13+
Quote
14+
(Ident op_QuotationUntyped, true,
15+
App
16+
(NonAtomic, false,
17+
App
18+
(NonAtomic, true,
19+
LongIdent
20+
(false,
21+
SynLongIdent
22+
([op_Addition], [],
23+
[Some (OriginalNotation "+")]), None,
24+
(3,13--3,14)), Const (Int32 1, (3,11--3,12)),
25+
(3,11--3,14)), Const (Int32 1, (3,15--3,16)),
26+
(3,11--3,16)), false, (3,7--3,20)), (3,3--3,20)),
27+
None)], (3,0--3,22), { OpeningBraceRange = (3,0--3,2) }),
28+
(3,0--3,22));
2629
Expr
2730
(AnonRecd
2831
(false, None,
29-
[(SynLongIdent ([A], [], [None]), Some (5,4--5,5),
30-
Quote
31-
(Ident op_QuotationUntyped, true,
32-
App
33-
(NonAtomic, false,
34-
App
35-
(NonAtomic, true,
36-
LongIdent
37-
(false,
38-
SynLongIdent
39-
([op_Addition], [],
40-
[Some (OriginalNotation "+")]), None,
41-
(5,12--5,13)), Const (Int32 1, (5,10--5,11)),
42-
(5,10--5,13)), Const (Int32 1, (5,14--5,15)),
43-
(5,10--5,15)), false, (5,6--5,19)))], (5,0--5,22),
44-
{ OpeningBraceRange = (5,0--5,2) }), (5,0--5,22));
32+
[Field
33+
(SynExprAnonRecordField
34+
(SynLongIdent ([A], [], [None]), Some (5,4--5,5),
35+
Quote
36+
(Ident op_QuotationUntyped, true,
37+
App
38+
(NonAtomic, false,
39+
App
40+
(NonAtomic, true,
41+
LongIdent
42+
(false,
43+
SynLongIdent
44+
([op_Addition], [],
45+
[Some (OriginalNotation "+")]), None,
46+
(5,12--5,13)), Const (Int32 1, (5,10--5,11)),
47+
(5,10--5,13)), Const (Int32 1, (5,14--5,15)),
48+
(5,10--5,15)), false, (5,6--5,19)), (5,2--5,19)),
49+
None)], (5,0--5,22), { OpeningBraceRange = (5,0--5,2) }),
50+
(5,0--5,22));
4551
Expr
4652
(AnonRecd
4753
(false, None,
48-
[(SynLongIdent ([A], [], [None]), Some (7,5--7,6),
49-
Quote
50-
(Ident op_QuotationUntyped, true,
51-
App
52-
(NonAtomic, false,
53-
App
54-
(NonAtomic, true,
55-
LongIdent
56-
(false,
57-
SynLongIdent
58-
([op_Addition], [],
59-
[Some (OriginalNotation "+")]), None,
60-
(7,13--7,14)), Const (Int32 1, (7,11--7,12)),
61-
(7,11--7,14)), Const (Int32 1, (7,15--7,16)),
62-
(7,11--7,16)), false, (7,7--7,20)))], (7,0--7,23),
63-
{ OpeningBraceRange = (7,0--7,2) }), (7,0--7,23))],
54+
[Field
55+
(SynExprAnonRecordField
56+
(SynLongIdent ([A], [], [None]), Some (7,5--7,6),
57+
Quote
58+
(Ident op_QuotationUntyped, true,
59+
App
60+
(NonAtomic, false,
61+
App
62+
(NonAtomic, true,
63+
LongIdent
64+
(false,
65+
SynLongIdent
66+
([op_Addition], [],
67+
[Some (OriginalNotation "+")]), None,
68+
(7,13--7,14)), Const (Int32 1, (7,11--7,12)),
69+
(7,11--7,14)), Const (Int32 1, (7,15--7,16)),
70+
(7,11--7,16)), false, (7,7--7,20)), (7,3--7,20)),
71+
None)], (7,0--7,23), { OpeningBraceRange = (7,0--7,2) }),
72+
(7,0--7,23))],
6473
PreXmlDoc ((1,0), FSharp.Compiler.Xml.XmlDocCollector), [], None,
6574
(1,0--7,23), { LeadingKeyword = Module (1,0--1,6) })], (true, true),
6675
{ ConditionalDirectives = []

0 commit comments

Comments
 (0)