Detects circular dependencies during graph compilation.
Maintains an ordered stack (for readable error messages) and a set (for O(1) membership checks).
0.1.0
Reports whether any tokens are currently being resolved.
true if the resolution stack is non-empty
true
Marks a token as currently being resolved.
The token entering resolution
Nothing
If the token is already in the resolution chain
0.11.0
Removes the most recently entered token from the resolution chain.
Detects circular dependencies during graph compilation.
Maintains an ordered stack (for readable error messages) and a set (for O(1) membership checks).
Since
0.1.0