Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
793bcc67
Commit
793bcc67
authored
Sep 29, 2001
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove mistakenly-included file, per request from John Gray.
parent
e3831d83
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
178 deletions
+0
-178
contrib/xml/xpath-yacc
contrib/xml/xpath-yacc
+0
-178
No files found.
contrib/xml/xpath-yacc
deleted
100644 → 0
View file @
e3831d83
%token QNAME
%token NAME_COLON_STAR
%token DOT
%token DOT_DOT
%token AT
%token AXIS_NAME
%token FUNCTION_NAME
%token COMMENT
%token PI
%token TEXT
%token NODE
%token STAR
%token LPAR
%token RPAR
%token LSQB
%token RSQB
%token LITERAL
%token NUMBER
%token COLON_COLON
%token DOLLAR_QNAME
%token SLASH
%token SLASH_SLASH
%token VBAR
%token COMMA
%token PLUS
%token MINUS
%token EQUALS
%token GT
%token LT
%token GTE
%token LTE
%token MULTIPLY
%token AND
%token OR
%token MOD
%token DIV
%token QUO
%%
expr :
or_expr
;
or_expr :
and_expr
| or_expr OR and_expr
;
and_expr :
equality_expr
| and_expr AND equality_expr
;
equality_expr :
relational_expr
| equality_expr EQUALS relational_expr
;
relational_expr :
additive_expr
| relational_expr LT additive_expr
| relational_expr GT additive_expr
| relational_expr LTE additive_expr
| relational_expr GTE additive_expr
;
additive_expr :
multiplicative_expr
| additive_expr PLUS multiplicative_expr
| additive_expr MINUS multiplicative_expr
;
multiplicative_expr :
unary_expr
| multiplicative_expr MULTIPLY unary_expr
| multiplicative_expr DIV unary_expr
| multiplicative_expr MOD unary_expr
;
unary_expr :
union_expr
| '-' unary_expr
;
union_expr :
path_expr
| union_expr VBAR path_expr
;
path_expr :
location_path
| primary_expr predicates segment
;
segment :
/* empty */
| SLASH relative_location_path
| SLASH_SLASH relative_location_path
;
location_path :
relative_location_path
| absolute_location_path
;
absolute_location_path :
SLASH
| SLASH relative_location_path
| SLASH_SLASH relative_location_path
;
relative_location_path :
step
| relative_location_path SLASH step
| relative_location_path SLASH_SLASH step
;
step :
axis node_test predicates
| DOT
| DOT_DOT
;
axis:
/* empty */
| AXIS_NAME COLON_COLON
| AT
;
predicates :
/* empty */
| predicates LSQB expr RSQB
;
primary_expr :
DOLLAR_QNAME
| LPAR expr RPAR
| LITERAL
| NUMBER
| function_call
;
function_call :
FUNCTION_NAME LPAR opt_args RPAR
;
opt_args :
/* empty */
| args
;
args :
expr
| args COMMA expr
;
node_test :
QNAME
| STAR
| NAME_COLON_STAR
| PI LPAR opt_literal RPAR
| COMMENT LPAR RPAR
| TEXT LPAR RPAR
| NODE LPAR RPAR
;
opt_literal :
/* empty */
| LITERAL
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment