#include "postgres.h"
#include "mb/pg_wchar.h"
#include "parser/scanner.h"
#include "plpgsql.h"
#include "pl_gram.h"
#include "pl_reserved_kwlist_d.h"
#include "pl_unreserved_kwlist_d.h"
#include "pl_reserved_kwlist.h"
#include "pl_unreserved_kwlist.h"
Go to the source code of this file.
Definition at line 82 of file pl_scanner.c.
Definition at line 98 of file pl_scanner.c.
Definition at line 64 of file pl_scanner.c.
Definition at line 147 of file pl_scanner.c.
Definition at line 339 of file pl_scanner.c.
References core_yylex(), TokenAuxData::leng, TokenAuxData::lloc, TokenAuxData::lval, pstrdup(), token, and yyextra.
Referenced by plpgsql_peek(), plpgsql_peek2(), and plpgsql_yylex().
Definition at line 597 of file pl_scanner.c.
References yyextra.
Referenced by plpgsql_location_to_lineno(), and plpgsql_scanner_init().
Definition at line 435 of file pl_scanner.c.
References appendBinaryStringInfo(), Assert(), buf, and yyextra.
Definition at line 607 of file pl_scanner.c.
References yyextra.
Referenced by plpgsql_compile_error_callback().
Definition at line 573 of file pl_scanner.c.
References plpgsql_yy_extra_type::cur_line_start, location_lineno_init(), plpgsql_yy_extra_type::scanorig, and yyextra.
Definition at line 452 of file pl_scanner.c.
References internal_yylex(), and push_back_token().
Definition at line 471 of file pl_scanner.c.
References internal_yylex(), TokenAuxData::lloc, and push_back_token().
Definition at line 401 of file pl_scanner.c.
References TokenAuxData::leng, TokenAuxData::lloc, TokenAuxData::lval, push_back_token(), and yyextra.
Definition at line 504 of file pl_scanner.c.
References internalerrposition(), internalerrquery(), pg_mbstrlen_with_len(), plpgsql_yy_extra_type::scanorig, and yyextra.
Referenced by plpgsql_yyerror().
Definition at line 653 of file pl_scanner.c.
References scanner_finish().
Referenced by plpgsql_compile_callback(), and plpgsql_compile_inline().
Definition at line 621 of file pl_scanner.c.
References IDENTIFIER_LOOKUP_NORMAL, location_lineno_init(), plpgsql_yy_extra_type::num_pushbacks, palloc0_object, plpgsql_IdentifierLookup, plpgsql_yy_extra_type::plpgsql_yytoken, ReservedPLKeywordTokens, scanner_init(), plpgsql_yy_extra_type::scanorig, and str.
Referenced by plpgsql_compile_callback(), and plpgsql_compile_inline().
Definition at line 418 of file pl_scanner.c.
References i, lengthof, and UnreservedPLKeywordTokens.
Definition at line 327 of file pl_scanner.c.
References yyextra.
Definition at line 534 of file pl_scanner.c.
References _, ereport, errcode(), errmsg(), ERROR, plpgsql_scanner_errposition(), and yyextra.
Definition at line 160 of file pl_scanner.c.
References AT_STMT_START, GetScanKeyword(), internal_yylex(), TokenAuxData::leng, TokenAuxData::lloc, TokenAuxData::lval, plpgsql_parse_dblword(), plpgsql_parse_tripword(), plpgsql_parse_word(), push_back_token(), ScanKeywordLookup(), UnreservedPLKeywordTokens, and yyextra.
Definition at line 385 of file pl_scanner.c.
References elog, ERROR, MAX_PUSHBACKS, token, and yyextra.
Referenced by plpgsql_peek(), plpgsql_peek2(), plpgsql_push_back_token(), and plpgsql_yylex().
Definition at line 26 of file pl_scanner.c.
Referenced by plpgsql_parse_dblword(), plpgsql_parse_tripword(), plpgsql_parse_word(), and plpgsql_scanner_init().
Definition at line 66 of file pl_scanner.c.
Referenced by plpgsql_scanner_init().
Definition at line 70 of file pl_scanner.c.
Referenced by plpgsql_token_is_unreserved_keyword(), and plpgsql_yylex().