iOS/sqlcipher/fts5parse.c
static void yy_destructor(
  yyParser *yypParser,    /* The parser */
  YYCODETYPE yymajor,     /* Type code for object to destroy */
  YYMINORTYPE *yypminor   /* The object to be destroyed */
){
  sqlite3Fts5ParserARG_FETCH;
  switch( yymajor ){
    /* Here is inserted the actions which take place when a
    ** terminal or non-terminal is destroyed.  This can happen
    ** when the symbol is popped from the stack during a
    ** reduce or during error processing or when a parser is 
    ** being destroyed before it is finished parsing.
    **
    ** Note: during a reduce, the only symbols destroyed are those
    ** which appear on the RHS of the rule, but which are *not* used
    ** inside the C code.
    */
/********* Begin destructor definitions ***************************************/
    case 16: /* input */
{
#line 83 "fts5parse.y"
 (void)pParse; 
#line 534 "fts5parse.c"
}
      break;
    case 17: /* expr */
    case 18: /* cnearset */
    case 19: /* exprlist */
{
#line 89 "fts5parse.y"
 sqlite3Fts5ParseNodeFree((yypminor->yy24)); 
#line 543 "fts5parse.c"
}
      break;
    case 20: /* colset */
    case 21: /* colsetlist */
{
#line 93 "fts5parse.y"
 sqlite3_free((yypminor->yy11)); 
#line 551 "fts5parse.c"
}
      break;
    case 22: /* nearset */
    case 23: /* nearphrases */
{
#line 148 "fts5parse.y"
 sqlite3Fts5ParseNearsetFree((yypminor->yy46)); 
#line 559 "fts5parse.c"
}
      break;
    case 24: /* phrase */
{
#line 179 "fts5parse.y"
 sqlite3Fts5ParsePhraseFree((yypminor->yy53)); 
#line 566 "fts5parse.c"
}
      break;
/********* End destructor definitions *****************************************/
    default:  break;   /* If no destructor action specified: do nothing */
  }
}
/* The following function deletes the "minor type" or semantic value
** associated with a symbol.  The symbol can be either a terminal
** or nonterminal. "yymajor" is the symbol code, and "yypminor" is
** a pointer to the value to be deleted.  The code used to do the 
** deletions is derived from the %destructor and/or %token_destructor
** directives of the input grammar.
*/
The following function deletes the "minor type" or semantic value
associated with a symbol.  The symbol can be either a terminal
or nonterminal. "yymajor" is the symbol code, and "yypminor" is
a pointer to the value to be deleted.  The code used to do the
deletions is derived from the %destructor and/or %token_destructor
directives of the input grammar.
The following function deletes the " minor type " or semantic value associated with a symbol . The symbol can be either a terminal or nonterminal . " yymajor " is the symbol code and " yypminor " is a pointer to the value to be deleted . The code used to do the deletions is derived from the %destructor and / or %token_destructor directives of the input grammar .
static void yy_destructor(
  yyParser *yypParser,    
  YYCODETYPE yymajor,     
  YYMINORTYPE *yypminor   
){
  sqlite3Fts5ParserARG_FETCH;
  switch( yymajor ){
    case 16: 
{
#line 83 "fts5parse.y"
 (void)pParse; 
#line 534 "fts5parse.c"
}
      break;
    case 17: 
    case 18: 
    case 19: 
{
#line 89 "fts5parse.y"
 sqlite3Fts5ParseNodeFree((yypminor->yy24)); 
#line 543 "fts5parse.c"
}
      break;
    case 20: 
    case 21: 
{
#line 93 "fts5parse.y"
 sqlite3_free((yypminor->yy11)); 
#line 551 "fts5parse.c"
}
      break;
    case 22: 
    case 23: 
{
#line 148 "fts5parse.y"
 sqlite3Fts5ParseNearsetFree((yypminor->yy46)); 
#line 559 "fts5parse.c"
}
      break;
    case 24: 
{
#line 179 "fts5parse.y"
 sqlite3Fts5ParsePhraseFree((yypminor->yy53)); 
#line 566 "fts5parse.c"
}
      break;
    default:  break;   
  }
}
static void yy_destructor ( yyParser * yypParser , YYCODETYPE yymajor , YYMINORTYPE * yypminor ) { sqlite3Fts5ParserARG_FETCH ; switch ( yymajor ) { case 16 : { #line  83 "fts5parse.y" ( void ) pParse ; #line  534 "fts5parse.c" } break ; case 17 : case 18 : case 19 : { #line  89 "fts5parse.y" sqlite3Fts5ParseNodeFree ( ( yypminor -> yy24 ) ) ; #line  543 "fts5parse.c" } break ; case 20 : case 21 : { #line  93 "fts5parse.y" sqlite3_free ( ( yypminor -> yy11 ) ) ; #line  551 "fts5parse.c" } break ; case 22 : case 23 : { #line  148 "fts5parse.y" sqlite3Fts5ParseNearsetFree ( ( yypminor -> yy46 ) ) ; #line  559 "fts5parse.c" } break ; case 24 : { #line  179 "fts5parse.y" sqlite3Fts5ParsePhraseFree ( ( yypminor -> yy53 ) ) ; #line  566 "fts5parse.c" } break ; default : break ; } }
The following function deletes the "minor type" or semantic value
associated with a symbol.
The following function deletes the " minor type " or semantic value associated with a symbol .
/* The parser */ /* Type code for object to destroy */ /* The object to be destroyed */ /* Here is inserted the actions which take place when a
    ** terminal or non-terminal is destroyed.  This can happen
    ** when the symbol is popped from the stack during a
    ** reduce or during error processing or when a parser is 
    ** being destroyed before it is finished parsing.
    **
    ** Note: during a reduce, the only symbols destroyed are those
    ** which appear on the RHS of the rule, but which are *not* used
    ** inside the C code.
    */ /********* Begin destructor definitions ***************************************/ /* input */ /* expr */ /* cnearset */ /* exprlist */ /* colset */ /* colsetlist */ /* nearset */ /* nearphrases */ /* phrase */ /********* End destructor definitions *****************************************/ /* If no destructor action specified: do nothing */