MCPcopy Create free account
hub / github.com/activeloopai/deeplake / yyparse

Function yyparse

cpp/3rd_party/sql-parser/src/parser/bison_parser.cpp:3168–6045  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3166`----------*/
3167
3168int
3169yyparse (hsql::SQLParserResult* result, yyscan_t scanner)
3170{
3171/* Lookahead token kind. */
3172int yychar;
3173
3174
3175/* The semantic value of the lookahead symbol. */
3176/* Default value used for initialization, for pacifying older GCCs
3177 or non-GCC compilers. */
3178YY_INITIAL_VALUE (static YYSTYPE yyval_default;)
3179YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);
3180
3181/* Location data for the lookahead symbol. */
3182static YYLTYPE yyloc_default
3183# if defined HSQL_LTYPE_IS_TRIVIAL && HSQL_LTYPE_IS_TRIVIAL
3184 = { 1, 1, 1, 1 }
3185# endif
3186;
3187YYLTYPE yylloc = yyloc_default;
3188
3189 /* Number of syntax errors so far. */
3190 int yynerrs = 0;
3191
3192 yy_state_fast_t yystate = 0;
3193 /* Number of tokens to shift before error messages enabled. */
3194 int yyerrstatus = 0;
3195
3196 /* Refer to the stacks through separate pointers, to allow yyoverflow
3197 to reallocate them elsewhere. */
3198
3199 /* Their size. */
3200 YYPTRDIFF_T yystacksize = YYINITDEPTH;
3201
3202 /* The state stack: array, bottom, top. */
3203 yy_state_t yyssa[YYINITDEPTH];
3204 yy_state_t *yyss = yyssa;
3205 yy_state_t *yyssp = yyss;
3206
3207 /* The semantic value stack: array, bottom, top. */
3208 YYSTYPE yyvsa[YYINITDEPTH];
3209 YYSTYPE *yyvs = yyvsa;
3210 YYSTYPE *yyvsp = yyvs;
3211
3212 /* The location stack: array, bottom, top. */
3213 YYLTYPE yylsa[YYINITDEPTH];
3214 YYLTYPE *yyls = yylsa;
3215 YYLTYPE *yylsp = yyls;
3216
3217 int yyn;
3218 /* The return value of yyparse. */
3219 int yyresult;
3220 /* Lookahead symbol kind. */
3221 yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY;
3222 /* The variables used to return semantic value and location from the
3223 action routines. */
3224 YYSTYPE yyval;
3225 YYLTYPE yyloc;

Callers

nothing calls this directly

Calls 12

yysyntax_errorFunction · 0.85
yydestructFunction · 0.85
addStatementMethod · 0.80
addParameterMethod · 0.80
setNullableExplicitMethod · 0.80
yyerrorFunction · 0.70
push_backMethod · 0.45
backMethod · 0.45
emplaceMethod · 0.45
sizeMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected