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

Implement AST parent edges #1479

Draft
wants to merge 59 commits into
base: main
Choose a base branch
from
Draft

Implement AST parent edges #1479

wants to merge 59 commits into from

Commits on Mar 26, 2024

  1. AstProvider first try

    maximiliankaul committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    0d809ea View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. fancy kotlin magic

    maximiliankaul committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    a3c63b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dad17e8 View commit details
    Browse the repository at this point in the history
  3. bump

    maximiliankaul committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    fad8eac View commit details
    Browse the repository at this point in the history
  4. bump

    maximiliankaul committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    bcd6da4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d33cb96 View commit details
    Browse the repository at this point in the history
  6. revert stuff

    maximiliankaul committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    aab6b0a View commit details
    Browse the repository at this point in the history
  7. clean up nodebuilder

    maximiliankaul committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    6af47f1 View commit details
    Browse the repository at this point in the history
  8. bump

    maximiliankaul committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    3c8b959 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6cc190c View commit details
    Browse the repository at this point in the history
  10. Removing implicit receiver

    oxisto committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    d006353 View commit details
    Browse the repository at this point in the history
  11. Fixed most tests

    oxisto committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    7800b56 View commit details
    Browse the repository at this point in the history
  12. Converted Go frontend

    oxisto committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    6eee05b View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. Update dependency @types/node to v20.12.2 (#1485)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored and maximiliankaul committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    e37ced0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    46495ca View commit details
    Browse the repository at this point in the history
  3. Update dependency rollup to v4.14.0 (#1500)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored and maximiliankaul committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    024a8eb View commit details
    Browse the repository at this point in the history
  4. Update CODEOWNERS (#1501)

    oxisto authored and maximiliankaul committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    3caa91c View commit details
    Browse the repository at this point in the history
  5. Fixes incorrect field resolution in base classes (#1490)

    Due to a bug in the symbol resolver, we did not resolve fields that are in base classes of classes incorrectly
    oxisto authored and maximiliankaul committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    a102bff View commit details
    Browse the repository at this point in the history
  6. Improved stability of isDerivedFrom decisions (#1488)

    This PR adds the way `Type.isDerivedFrom` works. More concretly, we are once again taking the "wrap state" of the type into account. This means that pointer types and non-pointer types will not match even though their root types derive from each other. This was the way this function behaved in the past and it seems this was changed at some point, which led to some weird over-approximations in call resolving, basically ignoring wether a type was a pointer or not.
    oxisto authored and maximiliankaul committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    f737e86 View commit details
    Browse the repository at this point in the history
  7. Extracted call/cast replacement into separate pass (#1499)

    * Extracted call/cast replacement into separate pass
    
    Multiple languages, such as Go and C++ support "functional style casts", in the form of int(5). During the frontend parsing, they are indistinguishable from function calls. Therefore, we need to do a cleanup after all types are known but before other passes are invoked that replace those calls with casts. The proposed solution is to include a new language trait HasFuntionalCasts and to move the logic from the GoExtraPass into a separate, language-neutral one.
    
    Fixes #1487
    
    * Added annotation to pass that requires a language trait
    oxisto authored and maximiliankaul committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    a13a482 View commit details
    Browse the repository at this point in the history
  8. Fix style of docs (#1504)

    * Fix style of docs
    
    * Clean DFG spec a bit
    
    * re-generate graph schema with minor style updates
    KuechA authored and maximiliankaul committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    317415b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9d30816 View commit details
    Browse the repository at this point in the history
  10. Update dependency io.github.gradle-nexus:publish-plugin to v2 (#1506)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored and maximiliankaul committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    89c3622 View commit details
    Browse the repository at this point in the history
  11. Python: Add BoolOp and + or (#1509)

    * Add BoolOp and + or
    
    * nicer error handling
    
    * Add some messages to better debug the TODO()s in the future
    
    ---------
    
    Co-authored-by: Alexander Kuechler <[email protected]>
    maximiliankaul and KuechA committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    212f398 View commit details
    Browse the repository at this point in the history
  12. Handle ForLoop in cyclomaticComplexity (#1512)

    ForLoop not handled in cyclomaticComplexity
    KuechA authored and maximiliankaul committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    66fc39b View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7efedbc View commit details
    Browse the repository at this point in the history
  14. Fixing javaparser resultion error (#1510)

    * Fixing javaparser resultion error
    
    * Always use our scope manager
    
    ---------
    
    Co-authored-by: Alexander Kuechler <[email protected]>
    2 people authored and maximiliankaul committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    22f2456 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. Configuration menu
    Copy the full SHA
    784c97f View commit details
    Browse the repository at this point in the history
  2. python++

    maximiliankaul committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    b081de1 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. Configuration menu
    Copy the full SHA
    3eeea78 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. Configuration menu
    Copy the full SHA
    fd7098d View commit details
    Browse the repository at this point in the history
  2. python: ast.slice

    maximiliankaul committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    10c2680 View commit details
    Browse the repository at this point in the history
  3. ast.slice step size

    maximiliankaul committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    8da2b0c View commit details
    Browse the repository at this point in the history
  4. formatting

    maximiliankaul committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    a46122f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bb66d3a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0d3b6c0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    76b23e8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    deadeb2 View commit details
    Browse the repository at this point in the history
  9. merge cleanup

    maximiliankaul committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    be1731a View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. bump

    maximiliankaul committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    a2a85fb View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Configuration menu
    Copy the full SHA
    7db0e91 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bbc155d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4026e70 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2024

  1. Configuration menu
    Copy the full SHA
    cfea596 View commit details
    Browse the repository at this point in the history
  2. Fixed Go test errors

    oxisto committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    a86b674 View commit details
    Browse the repository at this point in the history
  3. Slightly better

    oxisto committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    83c58a0 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Configuration menu
    Copy the full SHA
    c6ed191 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4619295 View commit details
    Browse the repository at this point in the history
  3. Fixing more tests

    oxisto committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    bceed73 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. style

    maximiliankaul committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    449391e View commit details
    Browse the repository at this point in the history
  2. bump

    maximiliankaul committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    e455b96 View commit details
    Browse the repository at this point in the history
  3. AST parent checker

    maximiliankaul committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    f9d7005 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c94edba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fc59175 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. Added a withParent helper function (#1630)

    Slightly inspired by discussion with @konradweiss. This adds a helper function to set the ast parent in cases where the node cannot be created within the `withChildren` block.
    oxisto authored Jul 24, 2024
    Configuration menu
    Copy the full SHA
    95b8f05 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Configuration menu
    Copy the full SHA
    18d5782 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. Configuration menu
    Copy the full SHA
    be80440 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f761ffb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4b7fe70 View commit details
    Browse the repository at this point in the history