View source code
Display the source code in dmd/dfa/fast/structure.d from which thispage was generated on github.
Report a bug
If you spot a problem with this page, click here to create aGitHub issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.Requires a signed-in GitHub account. This works well for small changes.If you'd like to make larger changes you may want to consider usinglocal clone.

Struct dmd.dfa.fast.structure.DFACommon

The central context for a DFA run.

struct DFACommon;

This structure manages the memory allocator, holds references to global variables (like return values), and tracks the current scope being analyzed.

Performance Note: It uses a custom DFAAllocator (bump-pointer allocator) to avoid the overhead of the GC or standard malloc for the thousands of tiny nodes created during analysis.

Authors

Richard (Rikki) Andrew Cattermole

License

Boost License 1.0