1 /*-------------------------------------------------------------------------
4 * header file for read.c and readfuncs.c. These functions are internal
5 * to the stringToNode interface and should not be used by anyone else.
7 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * src/include/nodes/readfuncs.h
12 *-------------------------------------------------------------------------
17 #include "nodes/nodes.h"
20 * variable in read.c that needs to be accessible to readfuncs.c
22 #ifdef DEBUG_NODE_TESTS_ENABLED
23 extern PGDLLIMPORT
bool restore_location_fields
;
27 * prototypes for functions in read.c (the lisp token parser)
29 extern const char *pg_strtok(int *length
);
30 extern char *debackslash(const char *token
, int length
);
31 extern void *nodeRead(const char *token
, int tok_len
);
34 * prototypes for functions in readfuncs.c
36 extern Node
*parseNodeString(void);
38 #endif /* READFUNCS_H */