Logo Search packages:      
Sourcecode: rasqal version File versions  Download package

sparql_parser.h

/* A Bison parser, made by GNU Bison 1.875c.  */

/* Skeleton parser for Yacc-like parsing with Bison,
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2, or (at your option)
   any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place - Suite 330,
   Boston, MA 02111-1307, USA.  */

/* As a special exception, when this file is copied by Bison into a
   Bison output file, you may use that output file without restriction.
   This special exception was added by the Free Software Foundation
   in version 1.24 of Bison.  */

/* Tokens.  */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
   /* Put the tokens into the symbol table, so that GDB and other debuggers
      know about them.  */
   enum yytokentype {
     SELECT = 258,
     FROM = 259,
     WHERE = 260,
     OPTIONAL = 261,
     PREFIX = 262,
     DESCRIBE = 263,
     CONSTRUCT = 264,
     ASK = 265,
     DISTINCT = 266,
     LIMIT = 267,
     UNION = 268,
     BASE = 269,
     BOUND = 270,
     STR = 271,
     LANG = 272,
     DATATYPE = 273,
     ISURI = 274,
     ISBLANK = 275,
     ISLITERAL = 276,
     GRAPH = 277,
     NAMED = 278,
     FILTER = 279,
     OFFSET = 280,
     A = 281,
     ORDER = 282,
     BY = 283,
     REGEX = 284,
     ASC = 285,
     DESC = 286,
     SC_AND = 287,
     SC_OR = 288,
     GE = 289,
     LE = 290,
     GT = 291,
     LT = 292,
     NEQ = 293,
     EQ = 294,
     FLOATING_POINT_LITERAL = 295,
     STRING_LITERAL = 296,
     INTEGER_LITERAL = 297,
     BOOLEAN_LITERAL = 298,
     NULL_LITERAL = 299,
     URI_LITERAL = 300,
     URI_LITERAL_BRACE = 301,
     QNAME_LITERAL = 302,
     BLANK_LITERAL = 303,
     QNAME_LITERAL_BRACE = 304,
     IDENTIFIER = 305
   };
#endif
#define SELECT 258
#define FROM 259
#define WHERE 260
#define OPTIONAL 261
#define PREFIX 262
#define DESCRIBE 263
#define CONSTRUCT 264
#define ASK 265
#define DISTINCT 266
#define LIMIT 267
#define UNION 268
#define BASE 269
#define BOUND 270
#define STR 271
#define LANG 272
#define DATATYPE 273
#define ISURI 274
#define ISBLANK 275
#define ISLITERAL 276
#define GRAPH 277
#define NAMED 278
#define FILTER 279
#define OFFSET 280
#define A 281
#define ORDER 282
#define BY 283
#define REGEX 284
#define ASC 285
#define DESC 286
#define SC_AND 287
#define SC_OR 288
#define GE 289
#define LE 290
#define GT 291
#define LT 292
#define NEQ 293
#define EQ 294
#define FLOATING_POINT_LITERAL 295
#define STRING_LITERAL 296
#define INTEGER_LITERAL 297
#define BOOLEAN_LITERAL 298
#define NULL_LITERAL 299
#define URI_LITERAL 300
#define URI_LITERAL_BRACE 301
#define QNAME_LITERAL 302
#define BLANK_LITERAL 303
#define QNAME_LITERAL_BRACE 304
#define IDENTIFIER 305




#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
#line 107 "./sparql_parser.y"
typedef union YYSTYPE {
  raptor_sequence *seq;
  rasqal_variable *variable;
  rasqal_literal *literal;
  rasqal_triple *triple;
  rasqal_expression *expr;
  rasqal_graph_pattern *graph_pattern;
  double floating;
  raptor_uri *uri;
  unsigned char *name;
  rasqal_formula *formula;
} YYSTYPE;
/* Line 1275 of yacc.c.  */
#line 150 "sparql_parser.tab.h"
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
#endif






Generated by  Doxygen 1.6.0   Back to index