aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge #16bors[bot]2018-01-287-243/+243
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 16: Proof-of-concept SyntaxKind as enum r=matklad a=CAD97 This was the one bit about the original RFC I was most confused about. Why isn't `SyntaxKind` a normal `enum`? If it's to signify that it's non-exhaustive [`#[non_exhaustive]`](https://github.com/rust-lang/rust/issues/44109) should be used. (Or `#[doc(hidden)] __Nonexhaustive` on stable.) If it's so that more variants can be added externally, why? There's no need for that, that I can foresee. If it's to expose the `SyntaxKind` type but not any of its instances, why? This is the only actual benefit I can see of this pseudo-enum style. This diff is meant to be as non-invasive as possible, and as such reexports all symbols as they existed prior to this. It's diffed on top of the assumed-good-to-merge #15 to avoid the conflict between them. Diff without #15: <https://github.com/matklad/libsyntax2/pull/16/commits/4244948c6b1a62bd0e1ef276d1f0cc22c36f6f66> Just `src/syntax_kinds.rs`: <https://github.com/matklad/libsyntax2/pull/16/commits/4244948c6b1a62bd0e1ef276d1f0cc22c36f6f66#diff-8f0d69eb4fe0148851505f787b6fd3bb>
| * Convert SyntaxKind to an enumChristopher Durham2018-01-287-243/+243
| |
* | Merge #15bors[bot]2018-01-286-3/+60
|\| | | | | | | | | | | | | | | 15: Add minimal docs to most public symbols r=matklad a=CAD97 Also sticks a safety on some warnings that rustc provides. If you're just stubbing out a module and don't want rustc refusing to compile it because you haven't documented it yet, stick `#![allow(missing_docs)]` at the top.
| * Add minimal docs to most public symbolsChristopher Durham2018-01-286-3/+60
|/
* Merge #14bors[bot]2018-01-281-2/+17
|\ | | | | | | | | | | 14: Normalize test newlines r=matklad a=CAD97 Tests pass with CRLF newlines now
| * Normalize test newlinesChristopher Durham2018-01-281-2/+17
| | | | | | | | Tests pass with CRLF newlines now
* | The last of the MastersAleksey Kladov2018-01-283-0/+16
| |
* | Add appveyor badgeAleksey Kladov2018-01-281-0/+3
| |
* | Fix typoAleksey Kladov2018-01-281-1/+1
| |
* | CI: add windows testingAleksey Kladov2018-01-281-0/+13
|/
* Merge pull request #12 from CAD97/enforce-fmtChristopher Durham2018-01-2726-259/+283
|\ | | | | Enforce rustfmt format
| * Be explicit for Travis' sakeChristopher Durham2018-01-271-4/+4
| |
| * Enforce rustfmt formatChristopher Durham2018-01-271-1/+1
| |
| * Enforce rustfmt formatChristopher Durham2018-01-2726-256/+280
|/
* Add tests for parser recovery in fieldsAleksey Kladov2018-01-272-0/+61
|
* Drop high-order stuff for goodAleksey Kladov2018-01-272-40/+0
|
* SimplifyAleksey Kladov2018-01-271-6/+15
|
* Brush up readmeAleksey Kladov2018-01-271-2/+2
|
* Fix linkAleksey Kladov2018-01-271-1/+1
|
* Brush up CONTRIBUTING.mdAleksey Kladov2018-01-271-8/+15
|
* :arrow_up: depsAleksey Kladov2018-01-271-1/+1
|
* CI badgeAleksey Kladov2018-01-271-0/+1
|
* CIAleksey Kladov2018-01-271-0/+3
|
* SimplifyAleksey Kladov2018-01-272-11/+22
|
* SimplifyAleksey Kladov2018-01-221-5/+1
|
* Extract nested treesAleksey Kladov2018-01-221-8/+7
|
* Remove high-order bits from tuple structAleksey Kladov2018-01-213-6/+34
|
* Command-line utilty to print the parse treeAleksey Kladov2018-01-213-32/+57
|
* Test attribute recoveryAleksey Kladov2018-01-202-0/+62
|
* Remove high-order bits from attributesAleksey Kladov2018-01-205-40/+98
|
* Markers APIAleksey Kladov2018-01-2010-145/+189
|
* Drop more high-order stuffAleksey Kladov2018-01-205-93/+100
|
* Drop more high-order stuffAleksey Kladov2018-01-201-12/+11
|
* Drop high-order combinatorsAleksey Kladov2018-01-204-136/+135
|
* SimplifyAleksey Kladov2018-01-152-3/+4
|
* Rename `many` -> `repeat`Aleksey Kladov2018-01-154-6/+6
|
* G: struct flavorsAleksey Kladov2018-01-1312-85/+257
|
* G: use treesAleksey Kladov2018-01-1313-93/+319
|
* G: allow self & super in pathsAleksey Kladov2018-01-1310-72/+156
|
* G: visibilityAleksey Kladov2018-01-128-69/+198
|
* Nest pathsAleksey Kladov2018-01-123-20/+24
|
* Support tree rebalancingAleksey Kladov2018-01-125-29/+86
|
* Encapsulate positionAleksey Kladov2018-01-111-2/+5
|
* G: item outer attributesAleksey Kladov2018-01-116-9/+57
|
* G: leading colon is a part of path segmentAleksey Kladov2018-01-113-11/+15
|
* G: multisegment pathsAleksey Kladov2018-01-113-2/+43
|
* don't pretend to be CargoAleksey Kladov2018-01-101-1/+1
|
* Move validation to issuesAleksey Kladov2018-01-103-15/+1
|
* Merge pull request #1 from gitter-badger/gitter-badgeAleksey Kladov2018-01-101-0/+2
|\ | | | | Add a Gitter chat badge to README.md
| * Add Gitter badgeThe Gitter Badger2018-01-101-0/+2
|/