Commit Graph

111 Commits

Author SHA1 Message Date
Aleksey Kladov
8ca02acb5a Generic params in structs 2018-01-28 21:18:24 +03:00
Aleksey Kladov
7e55b2693f Move struct parsing to a separate module 2018-01-28 21:18:24 +03:00
Aleksey Kladov
d1d47e6244 Skip over balanced parens 2018-01-28 20:53:01 +03:00
Aleksey Kladov
dee7046f7e Don't return SyntaxKind from bump 2018-01-28 14:58:51 +03:00
Aleksey Kladov
2141888782 Rename raw_lookahead -> nth 2018-01-28 14:33:10 +03:00
Aleksey Kladov
60725def49 Simplify 2018-01-28 14:30:59 +03:00
Aleksey Kladov
3cd2b2473b Drop curly_block
closes #13
2018-01-28 14:26:24 +03:00
bors[bot]
7a6fa6504c Merge #24
24: Block Comments r=matklad a=CAD97

closes #7
2018-01-28 10:52:49 +00:00
Christopher Durham
5982e6d73b
Update comments.rs 2018-01-28 05:51:39 -05:00
Christopher Durham
f4f79038d1 Block Comments
closes #7
2018-01-28 05:08:25 -05:00
Aleksey Kladov
83aa6f0899 Simplify item parsing 2018-01-28 12:57:03 +03:00
Christopher Durham
14c0ee90ca
Update gen.rs 2018-01-28 04:31:18 -05:00
Aleksey Kladov
169d5d371a Drop repr(u32) from SyntaxKind
Nomicon says it disables some optimizations:
https://doc.rust-lang.org/beta/nomicon/other-reprs.html#repru-repri
2018-01-28 12:24:03 +03:00
bors[bot]
bec9f09134 Merge #18
18: Comments r=matklad a=matklad
2018-01-28 09:07:26 +00:00
Aleksey Kladov
d3dedcace8 Document events a bit 2018-01-28 12:06:43 +03:00
Aleksey Kladov
cd4e13f10a Document events a bit 2018-01-28 12:06:26 +03:00
Aleksey Kladov
52104f7d25 Explain TOMBSTONE and EOF 2018-01-28 11:43:59 +03:00
bors[bot]
092f9a6b98 Merge #17
17: Document the design of `FileBuilder` r=matklad a=matklad
2018-01-28 08:18:47 +00:00
Aleksey Kladov
1417f26f82 Document the design of FileBuilder 2018-01-28 11:18:17 +03:00
Christopher Durham
4244948c6b Convert SyntaxKind to an enum 2018-01-27 21:52:22 -05:00
Christopher Durham
50b9012e10 Add minimal docs to most public symbols 2018-01-27 20:29:14 -05:00
Christopher Durham
55e8755fbb Enforce rustfmt format 2018-01-27 18:36:02 -05:00
Christopher Durham
4de3c97b2a Enforce rustfmt format 2018-01-27 18:31:23 -05:00
Aleksey Kladov
3630aeb1ea Drop high-order stuff for good 2018-01-28 01:13:27 +03:00
Aleksey Kladov
b7ae5bbba2 Simplify 2018-01-28 01:12:49 +03:00
Aleksey Kladov
caba13a2dd Simplify 2018-01-28 00:05:31 +03:00
Aleksey Kladov
d280c72338 Simplify 2018-01-22 11:31:55 +03:00
Aleksey Kladov
13c6a34354 Extract nested trees 2018-01-22 11:29:32 +03:00
Aleksey Kladov
645a1b5d73 Remove high-order bits from tuple struct 2018-01-22 02:21:53 +03:00
Aleksey Kladov
05ad469ac3 Command-line utilty to print the parse tree 2018-01-22 02:12:26 +03:00
Aleksey Kladov
efd538d793 Remove high-order bits from attributes 2018-01-21 00:31:29 +03:00
Aleksey Kladov
0b5d39f2a2 Markers API 2018-01-20 23:25:34 +03:00
Aleksey Kladov
be60d5aa66 Drop more high-order stuff 2018-01-20 21:49:58 +03:00
Aleksey Kladov
111743d82c Drop more high-order stuff 2018-01-20 21:07:34 +03:00
Aleksey Kladov
410f948c5f Drop high-order combinators 2018-01-20 17:21:13 +03:00
Aleksey Kladov
3c612bfa3a Simplify 2018-01-15 22:41:57 +03:00
Aleksey Kladov
91fb7e2088 Rename many -> repeat 2018-01-15 21:44:30 +03:00
Aleksey Kladov
08f7c69f90 G: struct flavors 2018-01-13 22:00:26 +03:00
Aleksey Kladov
55891be06a G: use trees 2018-01-13 13:42:19 +03:00
Aleksey Kladov
29b2e0adcc G: allow self & super in paths 2018-01-13 11:55:03 +03:00
Aleksey Kladov
f31d858607 G: visibility 2018-01-12 22:05:46 +03:00
Aleksey Kladov
c111a1f7b8 Nest paths 2018-01-12 20:59:19 +03:00
Aleksey Kladov
ca0c5ea38b Support tree rebalancing 2018-01-12 20:32:37 +03:00
Aleksey Kladov
15ae9026cf Encapsulate position 2018-01-11 23:25:14 +03:00
Aleksey Kladov
9a8e9bc4c6 G: item outer attributes 2018-01-11 23:01:12 +03:00
Aleksey Kladov
89699c4803 G: leading colon is a part of path segment 2018-01-11 22:11:44 +03:00
Aleksey Kladov
41bf98d249 G: multisegment paths 2018-01-11 20:55:08 +03:00
Aleksey Kladov
5ea7e5fb7a G: simplest use items 2018-01-09 23:32:18 +03:00
Aleksey Kladov
1544e89c49 G: mod item 2018-01-09 22:35:55 +03:00
Aleksey Kladov
7f8ca07d86 G: extern crate 2018-01-09 00:06:42 +03:00