-
Notifications
You must be signed in to change notification settings - Fork 69
feat(sema): lower natspec #567
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
Open
0xrusowsky
wants to merge
33
commits into
paradigmxyz:main
Choose a base branch
from
0xrusowsky:rusowsky/lower-natspec
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.
Open
Changes from 28 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
5ea3af4
feat(ast): naive natspec
0xrusowsky 7e24e65
Merge branch 'main' of github.com:paradigmxyz/solar into rusowsky/nat…
0xrusowsky 069235e
feat: support internal tags
0xrusowsky 32313c8
test: natspec ui tests
0xrusowsky 6e4c8fb
perf: drop string allocations
0xrusowsky 5877bd0
fix: global natspec span
0xrusowsky 98c35f7
test: refactor to reduce duplication
0xrusowsky 23e3816
perf: use predefined symbols
0xrusowsky 9bdbadd
chore: refactor to couple `DocComment` and `NatSpecItem`s
0xrusowsky 6c86b25
test: check num of cmnts
0xrusowsky 4c95040
style: clippy
0xrusowsky c4c89b5
perf: early exist + use memchr
0xrusowsky 4ef62c1
chore: match against string lits + use iterator
0xrusowsky cbc4272
chore: cleanup
0xrusowsky 5d7a91d
Merge branch 'main' into rusowsky/natspec
0xrusowsky 230ca7a
perf: init smallvec with exact capacity required
0xrusowsky 3f03c7a
perf: drop RawDocComments to avoid extra vec alloc
0xrusowsky 9b2eeef
Merge branch 'main' into rusowsky/natspec
0xrusowsky 379bc56
style: clippy + fmt
0xrusowsky f331d61
feat(natspec): untagged become `@notice` + content support
0xrusowsky e495fc8
fix: continue using `Vec` rather than `SmallVec` for `Parser.docs`
0xrusowsky f01178f
style: clippy
0xrusowsky 9da5417
feat(natspec): ast lowering + inheritdoc resolution
0xrusowsky e53bb4f
chore: use bitflags
0xrusowsky 2d6164f
refactor natspec validation
0xrusowsky 0b0129f
style
0xrusowsky bd27387
Merge branch 'main' of github.com:paradigmxyz/solar into rusowsky/low…
0xrusowsky 4de2f48
style
0xrusowsky 19c1b00
fix: add `repr(transparent)` to `DocComments`
0xrusowsky 557ce29
perf: validate all tags + resolve inheritedoc in single pass
0xrusowsky e29c363
Merge branch 'main' into rusowsky/lower-natspec
0xrusowsky 673fd83
Merge branch 'main' of github.com:paradigmxyz/solar into rusowsky/low…
0xrusowsky 906c10b
fix: allow multiple author tags
0xrusowsky 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
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.