aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/src/syntax_kind
Commit message (Collapse)AuthorAgeFilesLines
* Rename DotDotPat -> RestPatAleksey Kladov2020-07-311-1/+1
|
* Rename BindPat -> IdentPatAleksey Kladov2020-07-311-1/+1
|
* Rename PalceholderPat -> WildcardPatAleksey Kladov2020-07-311-1/+1
|
* Allign RecordPat with RecordExprAleksey Kladov2020-07-311-2/+2
|
* Rename TypeArgList -> GenericArgListAleksey Kladov2020-07-311-1/+1
|
* Rename LambdaExpr -> ClosureExprAleksey Kladov2020-07-311-1/+1
|
* Reame PlaceholderType -> InferTypeAleksey Kladov2020-07-311-1/+1
|
* Introduce GenericParamAleksey Kladov2020-07-301-0/+1
|
* Finalize impl GrammarAleksey Kladov2020-07-301-1/+1
|
* Finalize Trait grammarAleksey Kladov2020-07-301-1/+1
|
* Finalize const&static grammarAleksey Kladov2020-07-301-2/+2
|
* Rename EnumVariant -> VariantAleksey Kladov2020-07-301-2/+2
|
* Rename EnumDef -> EnumAleksey Kladov2020-07-301-1/+1
|
* Rename StructDef -> StructAleksey Kladov2020-07-301-2/+2
|
* Finalize union grammarAleksey Kladov2020-07-301-1/+1
|
* Rename FieldDef -> FieldAleksey Kladov2020-07-301-4/+4
|
* Rename RecordLit -> RecordExprAleksey Kladov2020-07-301-3/+3
|
* Rename TypeParamList -> GenericParamListAleksey Kladov2020-07-301-1/+1
|
* Rename TypeAliasDef -> TypeAliasAleksey Kladov2020-07-301-1/+1
|
* Rename FnDef -> FnAleksey Kladov2020-07-301-1/+1
|
* Rename UseItem -> UseAleksey Kladov2020-07-301-1/+1
|
* Finish extern crates grammarAleksey Kladov2020-07-301-1/+1
|
* Rename RenameAleksey Kladov2020-07-301-1/+1
|
* Split ItemList & AssocItemListAleksey Kladov2020-07-301-0/+1
|
* Finish SourceFile grammarAleksey Kladov2020-07-291-1/+1
|
* Introduce EffectExprAleksey Kladov2020-05-021-2/+1
|
* Revert "Merge #4233"Aleksey Kladov2020-05-021-0/+1
| | | | | This reverts commit a5f2b16366f027ad60c58266a66eb7fbdcbda9f9, reversing changes made to c96b2180c1c4206a0a98c280b4d30897eb116336.
* Remove dead code, which elaborately pretends to be aliveAleksey Kladov2020-04-301-1/+0
|
* Rename some tokensAleksey Kladov2020-04-101-316/+18
|
* Scale token generation backAleksey Kladov2020-04-101-0/+6
|
* Provide more complete AST accessors to support usage in rustcLuca Barbieri2020-04-091-1/+5
|
* Macro patterns are not confused with expressions.Aleksey Kladov2020-04-031-0/+1
| | | | | | | | | | | We treat macro calls as expressions (there's appropriate Into impl), which causes problem if there's expresison and non-expression macro in the same node (like in the match arm). We fix this problem by nesting macor patterns into another node (the same way we nest path into PathExpr or PathPat). Ideally, we probably should add a similar nesting for macro expressions, but that needs some careful thinking about macros in blocks: `{ am_i_expression!() }`.
* Rename ast::ImplBlock -> ast::ImplDefAleksey Kladov2020-02-291-1/+1
|
* Add or- and parenthesized-patternsMatthew Jasper2020-02-091-0/+2
|
* Rename add import assistKirill Bulatov2020-02-071-1/+1
|
* Improve const generics parsingMichael Chesser2020-01-061-0/+1
| | | | | - Handle const generics type args - Fix issue with const generic as first parameter in trait impl
* Switch ast declaration from ron to a macroAleksey Kladov2020-01-031-135/+135
|
* Merge #2641bors[bot]2019-12-221-0/+1
|\ | | | | | | | | | | | | | | | | | | | | 2641: Parse const generics r=matklad a=roblabla Adds very primitive support for parsing const generics (`const IDENT: TY`) so that rust-analyzer stops complaining about the syntax being invalid. Fixes #1574 Fixes #2281 Co-authored-by: roblabla <[email protected]>
| * Parse const genericsroblabla2019-12-221-0/+1
| | | | | | | | | | Fixes #1574 Fixes #2281
* | Add macro 2.0 support in parserEdwin Cheng2019-12-211-1/+7
|/
* Introduce dedicated AST node for unionAleksey Kladov2019-11-251-0/+1
| | | | | | | | | | Although structs and unions have the same syntax and differ only in the keyword, re-using the single syntax node for both of them leads to confusion in practice, and propagates further down the hir in an upleasent way. Moreover, static and consts also share syntax, but we use different nodes for them.
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-1/+1
| | | | #1856
* simplifyAleksey Kladov2019-09-241-0/+5
|
* Add `DotDotPat` to ASTDylan MacKenzie2019-09-151-0/+1
| | | | This is modeled on `PlaceholderPat`.
* Add `BoxPat` variantDylan MacKenzie2019-08-231-0/+1
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-231-10/+10
|
* use derive(Debug) for SyntaxKindAleksey Kladov2019-08-191-247/+1
|
* plug new boilerplate_gen into ra_toolsAleksey Kladov2019-08-191-4/+0
|
* use new quote-generated syntax kindsAleksey Kladov2019-08-192-577/+538
|
* add await to syntax, parser for await_exprUnreal Hoang2019-07-201-0/+7
|