Represents a break or continue statement (one which breaks out of a loop, or skips the remaining code within a loop).
Public Member Functions | |
| BreakPoint (Label continuePoint, Label end) | |
| Creates a new break/continue point with the given loop information. More... | |
| void | Break (NitroIL into) |
| Emits a break - a jump to the end of the loop. More... | |
| void | Continue (NitroIL into) |
| Emits a continue - a jump to the start of the loop. More... | |
Public Attributes | |
| Label | End |
| The location of the end of the loop. More... | |
| Label | ContinuePoint |
| The location of the start of the loop. More... | |
|
inline |
Creates a new break/continue point with the given loop information.
| continuePoint | The location of the start of the loop. |
| end | The location of the end of the loop. |
|
inline |
Emits a break - a jump to the end of the loop.
| into | The IL code to emit the instruction into. |
|
inline |
Emits a continue - a jump to the start of the loop.
| into | The IL code to emit the instruction into. |
| Label Nitro.BreakPoint.ContinuePoint |
The location of the start of the loop.
| Label Nitro.BreakPoint.End |
The location of the end of the loop.