PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
parser.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * parser.h
4  * Definitions for the "raw" parser (flex and bison phases only)
5  *
6  * This is the external API for the raw lexing/parsing functions.
7  *
8  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
9  * Portions Copyright (c) 1994, Regents of the University of California
10  *
11  * src/include/parser/parser.h
12  *
13  *-------------------------------------------------------------------------
14  */
15 #ifndef PARSER_H
16 #define PARSER_H
17 
18 #include "nodes/parsenodes.h"
19 
20 
21 typedef enum
22 {
27 
28 /* GUC variables in scan.l (every one of these is a bad idea :-() */
29 extern int backslash_quote;
30 extern bool escape_string_warning;
32 
33 
34 /* Primary entry point for the raw parsing functions */
35 extern List *raw_parser(const char *str);
36 
37 /* Utility functions exported by gram.y (perhaps these should be elsewhere) */
38 extern List *SystemFuncName(char *name);
39 extern TypeName *SystemTypeName(char *name);
40 
41 #endif /* PARSER_H */
List * SystemFuncName(char *name)
List * raw_parser(const char *str)
Definition: parser.c:36
bool escape_string_warning
#define PGDLLIMPORT
Definition: c.h:1063
BackslashQuoteType
Definition: parser.h:21
TypeName * SystemTypeName(char *name)
int backslash_quote
PGDLLIMPORT bool standard_conforming_strings
const char * name
Definition: encode.c:521
Definition: pg_list.h:45