-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
feat: add print(...) function
#16188
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
Draft
Rich-Harris
wants to merge
86
commits into
main
Choose a base branch
from
print
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,498
−4
Draft
Changes from 17 commits
Commits
Show all changes
86 commits
Select commit
Hold shift + click to select a range
a0f86c5
use local version of esrap, for now
Rich-Harris 486d10c
WIP
Rich-Harris 97c5d98
WIP
Rich-Harris 74ec766
fixes
Rich-Harris 3026a37
more
Rich-Harris 683ac71
add `Declaration` visitor
Ocean-OS 45755ea
add `TransitionDirective`
Ocean-OS 222dd41
`UseDirective`, `OnDirective`
Ocean-OS 1e7b439
more directives
Ocean-OS afd3cb4
`SpreadAttribute`, directive shorthands
Ocean-OS 4c404ac
`{#if ...} {:else ...}`
Ocean-OS c646f97
fix
Ocean-OS d96412b
more
Ocean-OS 566da5b
add tags, `AnimateDirective`
Ocean-OS 0b9f560
`KeyBlock`
Ocean-OS 0de2182
`SelectorList`, `<svelte:whatever />`
Ocean-OS bfcec71
Merge branch 'main' into print
Ocean-OS e41bbe7
quote text in `Attribute` visitor
Ocean-OS 0a61c80
tweak test logic to reduce false negatives
Rich-Harris 5db4ea8
fix
Rich-Harris b80eb3e
fix
Rich-Harris 4018b50
add separate test suite
Rich-Harris 1ca1be5
fix
Rich-Harris 80370e3
more
Rich-Harris 4538f80
slightly nicer printing
Rich-Harris e47f579
install from pkg.pr.new
Rich-Harris 203c321
Merge branch 'main' into print
Rich-Harris df3be44
merge main
Rich-Harris c474d67
bump
Rich-Harris e904753
fix
Rich-Harris 7bf7f56
remove any
Rich-Harris 700260b
fix indentation
Rich-Harris b4dde24
replace TODO with a type error
Rich-Harris e4c6d4e
bump
Rich-Harris 132d84d
fix
Rich-Harris 226b4ca
esrap@2
Rich-Harris 9f42c0b
merge main
Rich-Harris 85ee437
lockfile
Rich-Harris 64bfedb
try this
Rich-Harris a39ab49
regenerate
Rich-Harris 1377c40
Merge branch 'main' into print
Rich-Harris 2b4ac48
Merge branch 'main' into print
manuel3108 df58bac
add small comment
manuel3108 6f5eb19
fix test file
manuel3108 af0ef1c
ensure new lines at end of file
manuel3108 ab7fd7d
common tests
manuel3108 86fe74d
tests for A-nodes
manuel3108 825821d
fix interface
manuel3108 e89cc8a
tests for B-nodes
manuel3108 83b19d5
delete basic test
manuel3108 b4c6684
tests for C-nodes
manuel3108 3914ade
combine css tests
manuel3108 8f3ca9e
tests for E-nodes
manuel3108 1fe285b
tests for H-nodes
manuel3108 ae0852e
tests for I-nodes
manuel3108 b612430
tests for K-nodes
manuel3108 273e3d7
tests for L-nodes
manuel3108 78e602c
tests for N-nodes
manuel3108 eb9cc5d
add todo
manuel3108 8c357df
remove other todo
manuel3108 f2b4bdf
tests for O-nodes
manuel3108 db337bd
tests for P-nodes
manuel3108 5c1c81e
tests for R-nodes
manuel3108 424f221
tests for S-nodes
manuel3108 0e6fcd3
tests for T-nodes
manuel3108 b146e42
tests for U-nodes
manuel3108 5fb2bb4
seperate css and svelte visitors for clarity
manuel3108 8817682
fix failing test
manuel3108 386ec29
rename early tests
manuel3108 c7befaf
fix const test
manuel3108 4c4856d
fix svelte-element
manuel3108 e6b3257
move block to css visitors
manuel3108 7910be8
fix css output
manuel3108 90ea50b
fix #if indentation
manuel3108 4a87f5a
fix self closing tag problems
manuel3108 080ca6f
use common method for attributes
manuel3108 8d732bc
put attributes into multiple lines if too long
manuel3108 452c997
fix new lines for #each:else
manuel3108 2372f17
fix svelte element new lines
manuel3108 45ae820
rmeove usless comments & fix playground
manuel3108 0f0523b
improved formatting
manuel3108 2e7abb8
support formatting for a lot more nodes
manuel3108 d1218cc
style
manuel3108 72ea549
fixes for formatting
manuel3108 6bec519
cleanup
manuel3108 aec7ff2
make typescript happy
manuel3108 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.