-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Update AST helper generation #7558
Commits on Feb 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 71482a7 - Browse repository at this point
Copy the full SHA 71482a7View commit details -
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4cbdb20 - Browse repository at this point
Copy the full SHA 4cbdb20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08e38d9 - Browse repository at this point
Copy the full SHA 08e38d9View commit details -
extracted rewriter code to own file
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a1992e - Browse repository at this point
Copy the full SHA 0a1992eView commit details -
visit struct fields that implement the interface
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05b0af3 - Browse repository at this point
Copy the full SHA 05b0af3View commit details -
support field with struct type
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d72873d - Browse repository at this point
Copy the full SHA d72873dView commit details
Commits on Feb 13, 2021
-
extracted rewriter generation into its own file
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9290991 - Browse repository at this point
Copy the full SHA 9290991View commit details -
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c3dc09 - Browse repository at this point
Copy the full SHA 9c3dc09View commit details
Commits on Feb 15, 2021
-
support interface implementations that are not pointers
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e2d23e2 - Browse repository at this point
Copy the full SHA e2d23e2View commit details
Commits on Feb 16, 2021
-
add replacement methods for array fields
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 98e4e5b - Browse repository at this point
Copy the full SHA 98e4e5bView commit details -
added case statements for slice fields
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5c93919 - Browse repository at this point
Copy the full SHA 5c93919View commit details
Commits on Feb 19, 2021
-
Addition of panic of value type implementation
Signed-off-by: Florent Poinsard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2d66e2e - Browse repository at this point
Copy the full SHA 2d66e2eView commit details
Commits on Feb 20, 2021
-
asthelpergen: improve integration tests
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 999a36f - Browse repository at this point
Copy the full SHA 999a36fView commit details
Commits on Feb 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 21e902c - Browse repository at this point
Copy the full SHA 21e902cView commit details -
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7af230c - Browse repository at this point
Copy the full SHA 7af230cView commit details -
nicer replacement methods for slices
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7b5f171 - Browse repository at this point
Copy the full SHA 7b5f171View commit details
Commits on Feb 23, 2021
-
Added replacer and cases for InterfaceSlice
Signed-off-by: GuptaManan100 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0116a12 - Browse repository at this point
Copy the full SHA 0116a12View commit details -
moved code away from the generated file
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c3c68be - Browse repository at this point
Copy the full SHA c3c68beView commit details -
support slices of non-AST elements
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0fb0313 - Browse repository at this point
Copy the full SHA 0fb0313View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f43634 - Browse repository at this point
Copy the full SHA 3f43634View commit details -
Merge remote-tracking branch 'upstream/master' into visitorgen-rewrite3
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 34c6502 - Browse repository at this point
Copy the full SHA 34c6502View commit details
Commits on Feb 24, 2021
-
refactored and addressed review comments
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f2d4e68 - Browse repository at this point
Copy the full SHA f2d4e68View commit details -
Merge remote-tracking branch 'upstream/master' into visitorgen-rewrite3
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 99b6ac0 - Browse repository at this point
Copy the full SHA 99b6ac0View commit details
Commits on Feb 26, 2021
-
Add deep clone capability to ASThelpergen
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ffe3527 - Browse repository at this point
Copy the full SHA ffe3527View commit details -
added support for basic types that implement interfaces
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 725fcd5 - Browse repository at this point
Copy the full SHA 725fcd5View commit details -
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e2dc629 - Browse repository at this point
Copy the full SHA e2dc629View commit details -
final touch ups. produce the clone.go file for the AST
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 044b550 - Browse repository at this point
Copy the full SHA 044b550View commit details -
code clean up; minor change for interface clone methods
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b42085d - Browse repository at this point
Copy the full SHA b42085dView commit details
Commits on Feb 27, 2021
-
make the clone methods use less memory
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b79366a - Browse repository at this point
Copy the full SHA b79366aView commit details -
added comment to clone methods
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 858859e - Browse repository at this point
Copy the full SHA 858859eView commit details -
Added the option to excempt types from clone generation
Because of how semantic analysis works, we need the cloned AST to keep the ColName references in the tree. These are tied to the semantic state, and if we create new objects, we loose the dependency infornation we gathered during semantic analysis. Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 46c42d4 - Browse repository at this point
Copy the full SHA 46c42d4View commit details -
remove the hand written clone and start using the generated one
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc14a65 - Browse repository at this point
Copy the full SHA dc14a65View commit details -
inline replacer methods for the rewriter
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 09f3f0b - Browse repository at this point
Copy the full SHA 09f3f0bView commit details -
Merge remote-tracking branch 'upstream/master' into deep-clone
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fce3959 - Browse repository at this point
Copy the full SHA fce3959View commit details
Commits on Mar 1, 2021
-
made nextval as reference type in ast
Signed-off-by: Harshit Gangal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aa88caf - Browse repository at this point
Copy the full SHA aa88cafView commit details
Commits on Mar 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3e95345 - Browse repository at this point
Copy the full SHA 3e95345View commit details -
simplify the function used to visit slice elements
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f4036ca - Browse repository at this point
Copy the full SHA f4036caView commit details -
simplify the rewriter some more
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cd7c4b3 - Browse repository at this point
Copy the full SHA cd7c4b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f03d4b1 - Browse repository at this point
Copy the full SHA f03d4b1View commit details -
Revert "simplify the rewriter some more"
This reverts commit cd7c4b3. Turns out this change significantly degrades performance, and we don't want that... Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9af91e0 - Browse repository at this point
Copy the full SHA 9af91e0View commit details -
added error to the return params of Rewrite
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5488cc6 - Browse repository at this point
Copy the full SHA 5488cc6View commit details -
return errors instead of panicking
Signed-off-by: Andres Taylor <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for db053f7 - Browse repository at this point
Copy the full SHA db053f7View commit details