mon-entreprise/publicodes/source/cyclesLib
Alexandre Hajjar d705e7e047 🚧 WIP - Building the cycles graph by taking into account parent rule
This contextualization will allow to have a (more complex) graph that
will contain the information of the parent rule of the current rule.
This will allow calling `getApplicableReplacedBy` and thus remove the
flattening logic, which was imperfect.

On the other hand, this needs to make recursive calls to
`ruleDepsOfRule` in case of a reference node, and thus make the graph
much fatter.

Approx TODO (see `ruleDependencies.ts`):

- [ ] refactor to propagate the `parentRuleNode` in the rule
      dependencies
- [ ] build recursive calls into `ruleDepsOfReference`
2020-10-01 12:15:43 +02:00
..
ASTTypes.ts Cycles: refactor for readability 2020-09-22 21:49:14 +02:00
graph.ts 🚧 WIP - Building the cycles graph by taking into account parent rule 2020-10-01 12:15:43 +02:00
index.ts Cycles: test against multi-dependencies 2020-09-25 00:41:49 +02:00
rulesDependencies.ts 🚧 WIP - Building the cycles graph by taking into account parent rule 2020-10-01 12:15:43 +02:00