View source code
Display the source code in dmd/dfa/fast/statement.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.

Module dmd.dfa.fast.statement

Statement walker for the fast Data Flow Analysis engine.

This module implements the AST visitor that handles Control Flow. It is responsible for: 1. Managing Scopes: Pushing and popping DFAScope as it enters/leaves blocks. 2. Handling Branching: Splitting execution for if and switch statements. 3. Handling Loops: Managing state for for, while, and do loops. 4. Handling Jumps: Resolving break, continue, goto, and return.

Documentation

https://dlang.org/phobos/dmd_dfa_fast_statement.html

Coverage

https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/dfa/fast/statement.d

Classes

NameDescription
StatementWalker Visits Statement nodes to drive the Data Flow Analysis.

Authors

Richard (Rikki) Andrew Cattermole

License

Boost License 1.0