aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen/gen_syntax.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add _token suffix to token accessorsAleksey Kladov2020-04-091-0/+1
| | | | | I think this makes is more clear which things are : AstNode and which are : AstToken
* Put displays at the endAleksey Kladov2020-04-091-12/+16
|
* More compactAleksey Kladov2020-04-091-10/+2
|
* Move the rest of the tokens to generated/tokensAleksey Kladov2020-04-091-80/+90
|
* Move generated tokens to a separate fileAleksey Kladov2020-04-091-37/+61
|
* Start ast/generated/tokensAleksey Kladov2020-04-091-3/+7
|
* Prepare for spliting generated into tokens and nodesAleksey Kladov2020-04-091-1/+1
|
* Cleanup importAleksey Kladov2020-04-091-2/+5
|
* Scale back to only two traitsAleksey Kladov2020-04-091-29/+58
|
* Scale back the traitsAleksey Kladov2020-04-091-140/+28
|
* Add AstElement trait, generate tokens, support tokens in enumsLuca Barbieri2020-04-081-29/+269
| | | | | | | | | - 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
* implementing Display for enums too.Fireassember2020-03-111-2/+8
|
* added fmt::Display as a supertrait for AstNode and changed generation.Fireassember2020-03-061-0/+6
|
* fix(xtask.gen_syntax.typo): add s to the verb that refers to the 3d personVeetaha2020-01-151-1/+1
|
* Use correct rustfmt for codegenAleksey Kladov2020-01-101-2/+2
| | | | closes #1569
* Switch ast declaration from ron to a macroAleksey Kladov2020-01-031-136/+98
|
* auto-generate assists docs and testsAleksey Kladov2019-10-251-22/+3
|
* xtask: move codegen to a moduleAleksey Kladov2019-10-231-0/+354