Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 400
    • Issues 400
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Merge requests
  • !75

Extend Pre/Post Traversal function injection

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Hans-Nikolai Viessmann requested to merge hans/sac2c:pre-post-trav-func into develop Oct 15, 2018
  • Overview 10
  • Commits 3
  • Changes 23

We extend pre/post function injection into the traversal driver, allowing us to specify functions that are run before or after a traversal. This can be very useful when wanting to annotate the output of the AST (via a break option) or to do some sanity checking on the tree.

The extension primarily deals with adding support to specify these functions as part of the traversal macros (as done in phase_sac2*.mac).

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: pre-post-trav-func