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

feat: static variable analysis #770

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
4f0c2c4
feat: static variable analysis
jg-rp Nov 16, 2024
e7b8559
Accept any iterable from `children`, `arguments`, etc.
jg-rp Nov 17, 2024
a69f33c
Test analysis of standard tags
jg-rp Nov 18, 2024
e5163ba
Merge branch 'harttle:master' into static-analysis-alternate
jg-rp Nov 19, 2024
5705bc6
Use `TagToken.tokenizer` instead of creating a new one
jg-rp Nov 19, 2024
2081083
Test analysis of netsted tags
jg-rp Nov 19, 2024
502a80d
Group variables by their root value
jg-rp Nov 19, 2024
5a9d192
Test analysis of nested globals and locals
jg-rp Nov 19, 2024
2cb9a4f
Analyze included and rendered templates WIP
jg-rp Nov 20, 2024
bc6be99
Use existing tokenizer when constructing `Hash`
jg-rp Nov 21, 2024
7f63cef
Improve test coverage
jg-rp Nov 21, 2024
0d1393b
Analyze variables from `layout` and `block` tags
jg-rp Nov 21, 2024
a1972ab
Test analysis of Jekyll style includes
jg-rp Nov 21, 2024
730ab19
Handle variables that start with a nested variable
jg-rp Nov 21, 2024
c0a19e3
Async analysis
jg-rp Nov 22, 2024
1a79437
Test non-standard tag end to end
jg-rp Nov 23, 2024
d9f47d6
Implement convenience analysis methods on the `Liquid` class
jg-rp Nov 23, 2024
67fdbe5
More analysis convenience methods
jg-rp Nov 23, 2024
cde3b5d
Accept string or template array
jg-rp Nov 23, 2024
a3a93cc
Draft static analysis docs
jg-rp Nov 23, 2024
2bf55db
Deduplicate variables names
jg-rp Nov 23, 2024
3ff787d
Fix isolated scope global variable map
jg-rp Dec 5, 2024
5c76035
Coerce variables to strings instead of extending String
jg-rp Dec 5, 2024
9770ff3
Private map instead of extending Map
jg-rp Dec 5, 2024
ad2333e
Fix e2e test
jg-rp Dec 5, 2024
f73f0d1
Tentatively implement analysis of aliased variables
jg-rp Dec 6, 2024
e9b11f4
Fix nested variable segments array
jg-rp Dec 22, 2024
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
Prev Previous commit
Next Next commit
Merge branch 'harttle:master' into static-analysis-alternate
  • Loading branch information
jg-rp authored Nov 19, 2024
commit e5163babc64d79a3df93ccabd9b8d525ab7d2b8e

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.