CUBRID Engine  latest
parse_type.hpp File Reference
#include "parse_tree.h"
#include <string>
Include dependency graph for parse_type.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pt_arg_type
 
union  pt_arg_type::pt_arg_type_val
 

Typedefs

typedef pt_arg_type PT_ARG_TYPE
 

Enumerations

enum  pt_generic_type_enum {
  PT_GENERIC_TYPE_NONE, PT_GENERIC_TYPE_STRING, PT_GENERIC_TYPE_STRING_VARYING, PT_GENERIC_TYPE_CHAR,
  PT_GENERIC_TYPE_NCHAR, PT_GENERIC_TYPE_BIT, PT_GENERIC_TYPE_DISCRETE_NUMBER, PT_GENERIC_TYPE_NUMBER,
  PT_GENERIC_TYPE_DATE, PT_GENERIC_TYPE_DATETIME, PT_GENERIC_TYPE_SEQUENCE, PT_GENERIC_TYPE_LOB,
  PT_GENERIC_TYPE_QUERY, PT_GENERIC_TYPE_PRIMITIVE, PT_GENERIC_TYPE_ANY, PT_GENERIC_TYPE_JSON_VAL,
  PT_GENERIC_TYPE_JSON_DOC, PT_GENERIC_TYPE_SCALAR
}
 

Functions

const char * pt_generic_type_to_string (pt_generic_type_enum type)
 
const char * pt_arg_type_to_string_buffer (const pt_arg_type &type, string_buffer &sb)
 
PT_TYPE_ENUM pt_to_variable_size_type (PT_TYPE_ENUM type_enum)
 

Typedef Documentation

Definition at line 126 of file parse_type.hpp.

Enumeration Type Documentation

Enumerator
PT_GENERIC_TYPE_NONE 
PT_GENERIC_TYPE_STRING 
PT_GENERIC_TYPE_STRING_VARYING 
PT_GENERIC_TYPE_CHAR 
PT_GENERIC_TYPE_NCHAR 
PT_GENERIC_TYPE_BIT 
PT_GENERIC_TYPE_DISCRETE_NUMBER 
PT_GENERIC_TYPE_NUMBER 
PT_GENERIC_TYPE_DATE 
PT_GENERIC_TYPE_DATETIME 
PT_GENERIC_TYPE_SEQUENCE 
PT_GENERIC_TYPE_LOB 
PT_GENERIC_TYPE_QUERY 
PT_GENERIC_TYPE_PRIMITIVE 
PT_GENERIC_TYPE_ANY 
PT_GENERIC_TYPE_JSON_VAL 
PT_GENERIC_TYPE_JSON_DOC 
PT_GENERIC_TYPE_SCALAR 

Definition at line 31 of file parse_type.hpp.

Function Documentation

const char* pt_generic_type_to_string ( pt_generic_type_enum  type)

Definition at line 27 of file parse_type.cpp.

References PT_GENERIC_TYPE_SCALAR.

Referenced by pt_arg_type_to_string_buffer().

Here is the caller graph for this function:

PT_TYPE_ENUM pt_to_variable_size_type ( PT_TYPE_ENUM  type_enum)

Definition at line 24915 of file type_checking.c.

References PT_TYPE_BIT, PT_TYPE_CHAR, PT_TYPE_NCHAR, PT_TYPE_VARBIT, PT_TYPE_VARCHAR, and PT_TYPE_VARNCHAR.

Referenced by pt_eval_expr_type(), and func_type::Node::set_return_type().

Here is the caller graph for this function: