mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
Break parser functions into smaller files, group together.
This commit is contained in:
34
src/include/parser/parse_expr.h
Normal file
34
src/include/parser/parse_expr.h
Normal file
@@ -0,0 +1,34 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* parse_exer.h
|
||||
*
|
||||
*
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: parse_expr.h,v 1.1 1997/11/25 22:06:55 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#ifndef PARSE_EXPR_H
|
||||
#define PARSE_EXPR_H
|
||||
|
||||
#include <nodes/nodes.h>
|
||||
#include <nodes/parsenodes.h>
|
||||
#include <nodes/primnodes.h>
|
||||
#include <parser/parse_node.h>
|
||||
|
||||
Node *transformExpr(ParseState *pstate, Node *expr, int precedence);
|
||||
|
||||
Node *transformIdent(ParseState *pstate, Node *expr, int precedence);
|
||||
|
||||
Oid exprType(Node *expr);
|
||||
|
||||
Node *handleNestedDots(ParseState *pstate, Attr *attr, int *curr_resno);
|
||||
|
||||
Node *parser_typecast(Value *expr, TypeName *typename, int typlen);
|
||||
|
||||
Node *parser_typecast2(Node *expr, Oid exprType, Type tp, int typlen);
|
||||
|
||||
#endif /* PARSE_EXPR_H */
|
||||
|
||||
Reference in New Issue
Block a user