View source code
Display the source code in dmd/dfa/fast/expression.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.
Function dmd.dfa.fast.expression.ExpressionWalker.seeAssign
Handles variable assignment (e.g., x = y).
This function updates the assignTo variable in the current scope
to reflect the new state derived from lr (the right-hand side).
Parameters
| Name | Description |
|---|---|
| assignTo | The variable being written to. |
| construct | True if this is an initialization (e.g., int x = 5;), false if reassignment. |
| lr | The lattice state of the value being assigned. |
| loc | Source file location of the assignment. |
| isBlit | True if the assignment is a bitwise copy (blit). |
| alteredState | An integer representing a specific state alteration or flag. |
Authors
License
Copyright © 1999-2026 by the D Language Foundation | Page generated by ddox.