aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast.rs
Commit message (Collapse)AuthorAgeFilesLines
* Finalize const&static grammarAleksey Kladov2020-07-301-1/+1
|
* Rename StructDef -> StructAleksey Kladov2020-07-301-1/+1
|
* Rename TypeParamList -> GenericParamListAleksey Kladov2020-07-301-2/+2
|
* Rename modulesAleksey Kladov2020-07-231-7/+7
|
* Separating parsing of `for` in predicates and typesMatthew Jasper2020-06-101-1/+5
|
* Simplifyveetaha2020-06-021-1/+1
|
* Introduce EffectExprAleksey Kladov2020-05-021-1/+1
|
* Revert "Merge #4233"Aleksey Kladov2020-05-021-3/+1
| | | | | This reverts commit a5f2b16366f027ad60c58266a66eb7fbdcbda9f9, reversing changes made to c96b2180c1c4206a0a98c280b4d30897eb116336.
* Introduce BlockModifierAleksey Kladov2020-04-301-1/+3
|
* Treat comments beginning with four slashes as regular line commentsadamrk2020-04-281-0/+15
|
* Align grammar for record patterns and literalsAleksey Kladov2020-04-111-2/+2
| | | | | | The grammar now looks like this [name_ref :] pat
* Remove dead codeAleksey Kladov2020-04-101-1/+1
|
* Generate only minimal set of ineresting tokensAleksey Kladov2020-04-101-5/+1
|
* Simpler acessors for keywordsAleksey Kladov2020-04-091-1/+5
|
* Remove code duplicationAleksey Kladov2020-04-091-25/+17
|
* Add _token suffix to token accessorsAleksey Kladov2020-04-091-1/+1
| | | | | I think this makes is more clear which things are : AstNode and which are : AstToken
* Move generated tokens to a separate fileAleksey Kladov2020-04-091-1/+1
|
* Prepare for spliting generated into tokens and nodesAleksey Kladov2020-04-091-1/+1
|
* Scale back to only two traitsAleksey Kladov2020-04-091-0/+16
|
* Provide more complete AST accessors to support usage in rustcLuca Barbieri2020-04-091-1/+1
|
* Scale back the traitsAleksey Kladov2020-04-091-103/+5
|
* Add AstElement trait, generate tokens, support tokens in enumsLuca Barbieri2020-04-081-5/+109
| | | | | | | | | - Adds a new AstElement trait that is implemented by all generated node, token and enum structs - Overhauls the code generators to code-generate all tokens, and also enhances enums to support including tokens, node, and nested enums
* added fmt::Display as a supertrait for AstNode and changed generation.Fireassember2020-03-061-1/+1
|
* Slightly refactor inlay hintsAleksey Kladov2020-02-291-1/+1
|
* Fix the trailing whitespace testKirill Bulatov2020-02-121-4/+1
|
* Introduce AttrKindKirill Bulatov2020-02-121-3/+3
|
* Implement slice pattern AST > HIR loweringJonas Platte2020-02-111-1/+2
|
* Add infrastructure for visibility on syntax and hir_def levelFlorian Diebold2019-12-261-1/+3
|
* Attempt to implement typed accessorsGeoffry Song2019-11-151-1/+1
|
* Attach docs to staticskjeremy2019-10-311-0/+14
|
* Preserve whitespace at the end of doc commentsJeremy Kolb2019-10-271-2/+22
| | | | | | | | Whitespace can have special meaning in markdown. For instance ending a line with three spaces will render a new line. Note that this behavior diverges from RLS. Fixes #1997
* simplify strip attrsAleksey Kladov2019-09-281-1/+1
|
* Start simplifying editing APIAleksey Kladov2019-09-261-0/+1
|
* keep ast creation API simpleAleksey Kladov2019-09-261-0/+1
|
* make ast object safeAleksey Kladov2019-08-231-2/+10
|
* Add `impl Trait` and `dyn Trait` typesFlorian Diebold2019-08-221-1/+1
| | | | | | | - refactor bounds handling in the AST a bit - add HIR for bounds - add `Ty::Dyn` and `Ty::Opaque` variants and lower `dyn Trait` / `impl Trait` syntax to them
* Unconditionally trim the end of commentskjeremy2019-07-311-4/+1
|
* Removes `*/` in block doc commentskjeremy2019-07-311-0/+49
|
* Add explicit newline preserving testskjeremy2019-07-311-0/+17
|
* cleanup castsAleksey Kladov2019-07-191-1/+3
|
* migrate ra_assists to the new ASTAleksey Kladov2019-07-191-1/+1
|
* migrate ra_syntax to the new rowan APIAleksey Kladov2019-07-191-19/+17
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-4/+4
| | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* remove old parsing methodsAleksey Kladov2019-05-281-4/+12
|
* migrate to untyped rowanAleksey Kladov2019-04-091-2/+2
|
* updated snapshotsLenard Pratt2019-04-071-1/+1
|
* Added ArrayExprKind,Lenard Pratt2019-04-071-2/+2
| | | | | changed the display for fixed array types, Added Array Enum to ra_hir/expr
* Parse and infer tuple indicesrobojumper2019-04-061-1/+1
|
* add minimal commentsAleksey Kladov2019-04-021-0/+2
|
* rename flavor to kindAleksey Kladov2019-04-021-2/+2
|