1. 21 May, 2021 3 commits
    • Hugo Moreau's avatar
      Dependencies: GoFmt · 56db3f61
      Hugo Moreau authored
      56db3f61
    • Hugo Moreau's avatar
      Dependencies: Documented code · 36c0b179
      Hugo Moreau authored
      For a better understanding all functions and structs have been
      documented.
      
       * transform/dependencies.go : Modified.
      36c0b179
    • Hugo Moreau's avatar
      Transform: Dependencies transform created · efa6106d
      Hugo Moreau authored
      A new transform has been created, its goal is to collect informations
      about all statements dependencies in order to use it to decide which
      statements can be ignored.
      
      The `Dependencies` transform for now collect all this informations:
       - Global Variables
       - Variables interdependencies
       - Function details (Parameters, Variables used, Number of statements)
      
      Two debug functions have been added for a better understanding, the
      first one prints all informations. The second output a GraphViz graph,
      so we can visualize `variables` interdependencies and their respectives
      scopes.
      
       * main.go : Modified.
         transform/dependencies.go : Here.
      efa6106d