![]() |
MySQL 8.0.43
Source Code Documentation
|
This class represents an SQL/PSM label. More...
#include <sp_pcontext.h>
Public Types | |
| enum | enum_type { IMPLICIT , BEGIN , ITERATION } |
Public Member Functions | |
| sp_label (LEX_CSTRING _name, uint _ip, enum_type _type, sp_pcontext *_ctx) | |
Public Attributes | |
| LEX_CSTRING | name |
| Name of the label. More... | |
| uint | ip |
| Instruction pointer of the label. More... | |
| enum_type | type |
| Type of the label. More... | |
| class sp_pcontext * | ctx |
| Scope of the label. More... | |
This class represents an SQL/PSM label.
Can refer to the identifier used with the "label_name:" construct which may precede some SQL/PSM statements, or to an implicit implementation-dependent identifier which the parser inserts before a high-level flow control statement such as IF/WHILE/REPEAT/LOOP, when such statement is rewritten into a combination of low-level jump/jump_if instructions and labels.
| enum sp_label::enum_type |
|
inline |
| class sp_pcontext* sp_label::ctx |
Scope of the label.
| uint sp_label::ip |
Instruction pointer of the label.
| LEX_CSTRING sp_label::name |
Name of the label.
| enum_type sp_label::type |
Type of the label.