Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template node structs & whitespace semantics #829

Open
wants to merge 27 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ec8301d
Add test for parsing Node::Call
couchand Mar 6, 2023
fcb01b6
Extract Call struct from Node
couchand Mar 6, 2023
586c770
Extract Match struct from Node
couchand Mar 6, 2023
a31b7ad
Make When a proper struct
couchand Mar 6, 2023
b586040
Make Cond a proper struct
couchand Mar 6, 2023
27a2075
Extract Lit struct from Node
couchand Mar 6, 2023
0b6bbca
Push name into Macro struct
couchand Mar 6, 2023
ccc6f50
Add test for Macro parse
couchand Mar 6, 2023
00c4e93
Clarify Macro Ws semantics
couchand Mar 6, 2023
92bf3b8
Add test for parsing raw blocks
couchand Mar 6, 2023
cfcf8c8
Extract Raw struct from Node and clarify inner/outer Ws
couchand Mar 6, 2023
eb71bdc
Add test for BlockDef parse
couchand Mar 6, 2023
21bf9a5
Extract BlockDef struct from Node and clarify inner/outer Ws
couchand Mar 6, 2023
8dd962a
Add test for parsing Node::Loop
couchand Mar 4, 2023
3ea5da8
Clarify Loop outer/body/else Ws
couchand Mar 6, 2023
d551120
Add test for parsing Node::Match Ws
couchand Mar 4, 2023
4140503
Clarify Match arms/outer Ws semantics
couchand Mar 6, 2023
15cbcd8
Add test for parsing Node::Cond
couchand Mar 6, 2023
265702f
Clarify Cond branch/outer Ws semantics
couchand Mar 6, 2023
9469675
Inline write_comment in Generator::handle
couchand Mar 6, 2023
2657abd
Handle Expr Ws in Generator::handle
couchand Mar 6, 2023
ad83909
Handle LetDecl Ws in Generator::handle
couchand Mar 6, 2023
0b02a31
Handle Let Ws in Generator::handle
couchand Mar 6, 2023
64fbc47
Move Node::Include Ws handling to caller
couchand Mar 6, 2023
15c4e82
Inline handle_ws in Generator::handle
couchand Mar 6, 2023
3a37e8c
Don't destructure Call in Generator::handle
couchand Mar 6, 2023
981fb6b
Don't destructure Match in Generator::handle
couchand Mar 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading