MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sp_label Class Reference

#include <sp_pcontext.h>

Inheritance diagram for sp_label:
Collaboration diagram for sp_label:

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.

Additional Inherited Members

- Static Public Member Functions inherited from Sql_alloc
static void * operator new (size_t size) throw ()
static void * operator new[] (size_t size) throw ()
static void * operator new[] (size_t size, MEM_ROOT *mem_root) throw ()
static void * operator new (size_t size, MEM_ROOT *mem_root) throw ()
static void operator delete (void *ptr, size_t size)
static void operator delete (void *ptr, MEM_ROOT *mem_root)
static void operator delete[] (void *ptr, MEM_ROOT *mem_root)
static void operator delete[] (void *ptr, size_t size)

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.

Definition at line 82 of file sp_pcontext.h.

Member Enumeration Documentation

Enumerator:
IMPLICIT 

Implicit label generated by parser.

BEGIN 

Label at BEGIN.

ITERATION 

Label at iteration control.

Definition at line 85 of file sp_pcontext.h.


The documentation for this class was generated from the following file: