PostgreSQL Source Code
git master
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
g
h
i
k
l
m
p
r
s
t
Functions
Variables
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
c
d
f
h
i
n
o
p
r
s
t
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
jsonpath_internal.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* jsonpath_internal.h
4
* Private definitions for jsonpath scanner & parser
5
*
6
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
7
* Portions Copyright (c) 1994, Regents of the University of California
8
*
9
* src/backend/utils/adt/jsonpath_internal.h
10
*
11
*-------------------------------------------------------------------------
12
*/
13
14
#ifndef JSONPATH_INTERNAL_H
15
#define JSONPATH_INTERNAL_H
16
17
/* struct JsonPathString is shared between scan and gram */
18
typedef
struct
JsonPathString
19
{
20
char
*
val
;
21
int
len
;
22
int
total
;
23
}
JsonPathString
;
24
25
#ifndef YY_TYPEDEF_YY_SCANNER_T
26
#define YY_TYPEDEF_YY_SCANNER_T
27
typedef
void
*
yyscan_t
;
28
#endif
29
30
#include "
utils/jsonpath.h
"
31
#include "jsonpath_gram.h"
32
33
#define YY_DECL extern int jsonpath_yylex(YYSTYPE *yylval_param, \
34
JsonPathParseResult **result, \
35
struct Node *escontext, \
36
yyscan_t yyscanner)
37
YY_DECL
;
38
extern
int
jsonpath_yyparse
(
JsonPathParseResult
**result,
39
struct
Node
*escontext,
40
yyscan_t
yyscanner);
41
extern
void
jsonpath_yyerror
(
JsonPathParseResult
**result,
42
struct
Node
*escontext,
43
yyscan_t
yyscanner,
44
const
char
*message);
45
46
#endif
/* JSONPATH_INTERNAL_H */
yyscan_t
void * yyscan_t
Definition:
cubedata.h:67
jsonpath.h
yyscan_t
void * yyscan_t
Definition:
jsonpath_internal.h:27
JsonPathString
struct JsonPathString JsonPathString
jsonpath_yyparse
int jsonpath_yyparse(JsonPathParseResult **result, struct Node *escontext, yyscan_t yyscanner)
YY_DECL
#define YY_DECL
Definition:
jsonpath_internal.h:33
jsonpath_yyerror
void jsonpath_yyerror(JsonPathParseResult **result, struct Node *escontext, yyscan_t yyscanner, const char *message)
Definition:
jsonpath_scan.l:362
JsonPathParseResult
Definition:
jsonpath.h:273
JsonPathString
Definition:
jsonpath_internal.h:19
JsonPathString::len
int len
Definition:
jsonpath_internal.h:21
JsonPathString::val
char * val
Definition:
jsonpath_internal.h:20
JsonPathString::total
int total
Definition:
jsonpath_internal.h:22
Node
Definition:
nodes.h:129
src
backend
utils
adt
jsonpath_internal.h
Generated on Fri Mar 14 2025 00:13:21 for PostgreSQL Source Code by
1.9.4