My Project
Public Types | Public Member Functions | Public Attributes
sp_label Class Reference

#include <sp_pcontext.h>

Inheritance diagram for sp_label:
Sql_alloc

List of all members.

Public Types

enum  enum_type { IMPLICIT, BEGIN, ITERATION }

Public Member Functions

 sp_label (LEX_STRING _name, uint _ip, enum_type _type, sp_pcontext *_ctx)

Public Attributes

LEX_STRING name
 Name of the label.
uint ip
 Instruction pointer of the label.
enum_type type
 Type of the label.
class sp_pcontextctx
 Scope of the label.

Detailed Description

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.


Member Enumeration Documentation

Enumerator:
IMPLICIT 

Implicit label generated by parser.

BEGIN 

Label at BEGIN.

ITERATION 

Label at iteration control.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines