Lines Matching refs:parser

1332 ** file control returns [SQLITE_OK], then the parser assumes that the
1333 ** VFS has handled the PRAGMA itself and the parser generates a no-op
8442 ** by enclosing in double-quotes) so as not to confuse the parser.
8459 ** The parser used by SQLite is forgiving. It is often possible to use
8714 ** <dd>The *pHighwater parameter records the deepest parser stack.
13418 ** The maximum value of a ?nnn wildcard that the parser will accept.
15609 ** the SQLite parser and code generator but substitute their own storage
18245 ** Expr.op is the opcode. The integer parser token codes are reused
18246 ** as opcodes here. For example, the parser defines TK_GE to be an integer
18576 ** and the next table on the list. The parser builds the list this way.
18723 Parse *pParse; /* The parser */
19091 ** An SQL parser context. A copy of this structure is passed through
19092 ** the parser and down into all the parser action routine in order to
19095 ** The structure is divided into two parts. When the parser and code
19113 u8 nested; /* Number of nested calls to the parser/code generator */
19494 int mxParserStack; /* maximum depth of the parser stack */
19663 ** of code generation. (The query flattener or other parser tree
20655 ** The interface to the LEMON-generated parser
23662 ** of change in p->tz and return 0. If a parser error occurs,
33815 ** error code errCode to that parser if the parser has not already
59293 * cell header parser will never run off the end of the allocation */
88687 ** finalized or reset the parser error message is available via
97160 ** This opcode invokes the parser to create a new virtual machine,
103427 ** This file contains routines used for walking the parser tree for
103658 ** subquery in the parser tree.
103667 ** subquery in the parser tree.
103688 ** This file contains routines used for walking the parser tree and
105744 Parse *pParse, /* The parser context */
106226 ** parser will not generate a TK_VECTOR with fewer than two entries.
107149 ** (unreduced) Expr objects as they or originally constructed by the parser.
107154 ** to reduce a pristine expression tree from the parser. The implementation
107791 ** statement handled by the parser. And so no token need be added
112790 ** This function is called by the parser after the table-name in
112796 ** to it. Routines called by the parser as the column definition
112913 ** Handles the following parser reduction:
113084 ** Remember that the parser tree element pPtr was created using
113158 ** and SF_Resolved) below. And the parser code that uses the with-stack
114444 ** This function is called by the parser upon parsing an
115995 ** Generate code for the ANALYZE command. The parser calls this routine
116568 ** i.e. if the parser sees:
116911 Parse *pParse, /* The parser context */
116978 ** Called by the parser to compile a DETACH statement.
116998 ** Called by the parser to compile an ATTACH statement.
117291 Parse *pParse, /* The parser context */
117327 Parse *pParse, /* The parser context */
117394 ** or if the parser is being invoked from within sqlite3_declare_vtab.
117469 ** This file contains C code routines that are called by the SQLite parser
117747 ** Run the parser and code generator recursively in order to generate
117753 ** outermost parser.
118962 ** The parser calls this routine once for each column declaration
118988 ** by the parser, we can sometimes end up with a typename that ends
119075 ** This routine is called by the parser while in the middle of
119201 ** This routine is called by the parser while in the middle of
120428 ** The parser calls this routine in order to create a new VIEW
121447 /* Because the parser constructs pTblName from a single identifier,
122400 ** This routine is called by the parser to add a new term to the
122537 ** When building up a FROM clause in the parser, the join operator
122548 ** in p->a[0] and p->a[1], respectively. The parser initially stores the
122639 ** This function is called by the parser when it parses a command to create,
123091 ** This routine is invoked once per CTE by the parser while parsing a
123709 ** This file contains C code routines that are called by the parser
123875 Parse *pParse, /* The parser context */
123975 Parse *pParse, /* The parser context */
127974 ** Return true if the parser passed as the first argument is being
128614 ** This file contains C code routines that are called by the parser
130269 Parse *pParse, /* The parser context */
131155 Parse *pParse, /* The parser context */
137260 /* Call the parser to process a CREATE TABLE, INDEX or VIEW.
137262 ** or executed. All the parser does is build the internal data
137364 ** sqlite_temp_schema) by invoking the parser directly. The appropriate
137365 ** table name will be inserted automatically by the parser so we can just
137366 ** use the abbreviation "x" here. The parser will also automatically tag
137743 ** the parser object is destroyed. But, beware: the cleanup might happen
138222 ** This file contains C code routines that are called by the parser
139300 Parse *pParse, /* The parser context */
140615 ** Get a VDBE for the given parser context. Create a new one if necessary.
143682 ** a WITH clause on the stack currently maintained by the parser (on the
144104 ** of all columns in TABLE. The parser inserted a special expression
144442 Parse *pParse, /* The parser context */
144896 Parse *pParse, /* The parser context */
146458 ** This is called by the parser when it sees a CREATE TRIGGER statement
146508 /* A long-standing parser bug is that this syntax was allowed:
146788 ** The parser calls this routine when it finds a SELECT statement in
146845 ** The parser calls this routine when it sees an INSERT inside the
146890 ** a pointer to that trigger step. The parser calls this routine when it
146930 ** a pointer to that trigger step. The parser calls this routine when it
146973 ** This may be called directly from the parser and therefore identifies
147393 Parse *pParse, /* The parser context */
147852 ** This file contains C code routines that are called by the parser
148125 Parse *pParse, /* The parser context */
150318 ** The parser calls this routine when it first sees a CREATE VIRTUAL TABLE
150381 ** The parser calls this routine after the CREATE VIRTUAL TABLE statement
150464 ** The parser calls this routine when it sees the first token
150474 ** The parser calls this routine for each token after the first token
150623 ** This function is invoked by the parser to call the xConnect() method
152437 ** single value. Since the parser never creates such a vector, some
162172 Parse *pParse, /* The parser context */
164338 ** The parser ensures that "UNBOUNDED PRECEDING" cannot be used as an ending
166246 ** This file contains SQLite's SQL parser.
166251 ** implementation of a parser for the given grammer. You might be reading
166259 ** Disable all error recovery processing in the parser push-down
166278 ** has access to the the size of the yyParser object and so the parser
166650 ** various aspects of the generated parser.
166678 ** YYSTACKDEPTH is the maximum depth of the parser's stack. If
166789 ** N == YY_ACCEPT_ACTION The parser accepts its input.
167444 ** and Z. Whenever one of the tokens X, Y, or Z is input to the parser
167643 ** parser's stack. Information stored includes:
167645 ** + The state number for the parser at this level of the stack.
167667 /* The state of the parser is completely contained in an instance of
167681 yyStackEntry *yystack; /* The parser's stack */
167684 yyStackEntry yystack[YYSTACKDEPTH]; /* The parser's stack */
167699 ** Turn parser tracing on by giving a stream to which to write the trace
168464 ** Try to increase the size of the parser stack. Return the number
168504 /* Initialize a new parser that has already been allocated.
168534 ** This function allocates a new parser.
168542 ** A pointer to a parser. This pointer is used in subsequent calls
168565 yyParser *yypParser, /* The parser */
168575 ** reduce or during error processing or when a parser is
168682 ** Pop the parser's stack once.
168703 ** Clear all secondary memory allocations from the parser
168715 ** Deallocate and destroy a parser. Destructors are called for
168716 ** all stack elements before shutting the parser down.
168723 void *p, /* The parser to be deleted */
168735 ** Return the peak depth of the stack for a parser.
168744 /* This array of booleans keeps track of the parser statement
168745 ** coverage. The element yycoverage[X][Y] is set when the parser
168756 ** (1) has not been used by the parser, and
168782 ** Find the appropriate action for a parser given the terminal
168847 ** Find the appropriate action for a parser given the non-terminal
168888 /* Here code is inserted which will execute if the parser
168892 sqlite3ErrorMsg(pParse, "parser stack overflow");
168923 yyParser *yypParser, /* The parser to be shifted */
169794 yyParser *yypParser, /* The parser */
169802 yyStackEntry *yymsp; /* The top of the parser's stack */
171363 yyParser *yypParser /* The parser */
171374 ** parser fails */
171386 yyParser *yypParser, /* The parser */
171407 ** The following is executed when the parser accepts
171410 yyParser *yypParser /* The parser */
171424 ** parser accepts */
171431 /* The main parser program.
171433 ** "sqlite3ParserAlloc" which describes the current state of the parser.
171441 ** <li> A pointer to the parser (an opaque structure.)
171451 void *yyp, /* The parser */
171457 YYACTIONTYPE yyact; /* The parser action. */
171464 yyParser *yypParser = (yyParser*)yyp; /* The parser */
171694 ** parser for analysis.
171955 /* aKWCode[i] is the parser symbol code for the i-th keyword */
172118 ** parser symbol code for that keyword into *pType. Always
172729 ** Run the parser on the given SQL string.
172733 void *pEngine; /* The LEMON-generated LALR(1) parser */
172754 printf("parser: [[[%s]]]\n", zSql);
172755 sqlite3ParserTrace(stdout, "parser: ");
172803 /* Upon reaching the end of input, call the parser two more times
177834 ** state/lookahead combinations in the parser state machine
185090 ** no exceptions to this - it's the way the parser in fts3_expr.c works.
186332 ** This module contains code that implements a parser for fts3 query strings
186334 ** syntax is relatively simple, the whole tokenizer/parser system is
186364 ** operator in a similar format to that used by the lemon parser
186366 ** custom parser.
187486 ** expression parser. It should be called as follows:
187596 ** Register the query expression parser test function fts3_exprtest()
198274 ** increase for the parser. (Ubuntu14.10 gcc 4.8.4 x64 with -Os).
198388 ** descent parser. A depth of 2000 is far deeper than any sane JSON
199863 JsonParse *pParse, /* The JSON parser that contains the TARGET */
222685 ** the parser code in fts5parse.y. */
222817 ** Driver template for the LEMON parser generator.
222820 ** this template to construct a parser. The "lemon" program inserts text
222824 ** of this template is copied straight through into the generate parser
222836 ** Disable all error recovery processing in the parser push-down
222881 ** various aspects of the generated parser.
222909 ** fts5YYSTACKDEPTH is the maximum depth of the parser's stack. If
223005 ** N == fts5YY_ACCEPT_ACTION The parser accepts its input.
223098 ** and Z. Whenever one of the tokens X, Y, or Z is input to the parser
223112 ** parser's stack. Information stored includes:
223114 ** + The state number for the parser at this level of the stack.
223136 /* The state of the parser is completely contained in an instance of
223150 fts5yyStackEntry *fts5yystack; /* The parser's stack */
223153 fts5yyStackEntry fts5yystack[fts5YYSTACKDEPTH]; /* The parser's stack */
223168 ** Turn parser tracing on by giving a stream to which to write the trace
223264 ** Try to increase the size of the parser stack. Return the number
223304 /* Initialize a new parser that has already been allocated.
223334 ** This function allocates a new parser.
223342 ** A pointer to a parser. This pointer is used in subsequent calls
223365 fts5yyParser *fts5yypParser, /* The parser */
223375 ** reduce or during error processing or when a parser is
223418 ** Pop the parser's stack once.
223439 ** Clear all secondary memory allocations from the parser
223451 ** Deallocate and destroy a parser. Destructors are called for
223452 ** all stack elements before shutting the parser down.
223459 void *p, /* The parser to be deleted */
223471 ** Return the peak depth of the stack for a parser.
223480 /* This array of booleans keeps track of the parser statement
223481 ** coverage. The element fts5yycoverage[X][Y] is set when the parser
223492 ** (1) has not been used by the parser, and
223518 ** Find the appropriate action for a parser given the terminal
223583 ** Find the appropriate action for a parser given the non-terminal
223624 /* Here code is inserted which will execute if the parser
223628 sqlite3Fts5ParseError(pParse, "fts5: parser stack overflow");
223659 fts5yyParser *fts5yypParser, /* The parser to be shifted */
223776 fts5yyParser *fts5yypParser, /* The parser */
223784 fts5yyStackEntry *fts5yymsp; /* The top of the parser's stack */
223971 fts5yyParser *fts5yypParser /* The parser */
223982 ** parser fails */
223994 fts5yyParser *fts5yypParser, /* The parser */
224013 ** The following is executed when the parser accepts
224016 fts5yyParser *fts5yypParser /* The parser */
224030 ** parser accepts */
224037 /* The main parser program.
224039 ** "sqlite3Fts5ParserAlloc" which describes the current state of the parser.
224047 ** <li> A pointer to the parser (an opaque structure.)
224057 void *fts5yyp, /* The parser */
224063 fts5YYACTIONTYPE fts5yyact; /* The parser action. */
224070 fts5yyParser *fts5yypParser = (fts5yyParser*)fts5yyp; /* The parser */
228135 ** This function is called by the parser to process a string token. The