k-dot-p 0.1

structspec_parser.h

Go to the documentation of this file.
00001 
00002 /* A Bison parser, made by GNU Bison 2.4.1.  */
00003 
00004 /* Skeleton interface for Bison's Yacc-like parsers in C
00005    
00006       Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
00007    Free Software Foundation, Inc.
00008    
00009    This program is free software: you can redistribute it and/or modify
00010    it under the terms of the GNU General Public License as published by
00011    the Free Software Foundation, either version 3 of the License, or
00012    (at your option) any later version.
00013    
00014    This program is distributed in the hope that it will be useful,
00015    but WITHOUT ANY WARRANTY; without even the implied warranty of
00016    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017    GNU General Public License for more details.
00018    
00019    You should have received a copy of the GNU General Public License
00020    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
00021 
00022 /* As a special exception, you may create a larger work that contains
00023    part or all of the Bison parser skeleton and distribute that work
00024    under terms of your choice, so long as that work isn't itself a
00025    parser generator using the skeleton or a modified version thereof
00026    as a parser skeleton.  Alternatively, if you modify or redistribute
00027    the parser skeleton itself, you may (at your option) remove this
00028    special exception, which will cause the skeleton and the resulting
00029    Bison output files to be licensed under the GNU General Public
00030    License without this special exception.
00031    
00032    This special exception was added by the Free Software Foundation in
00033    version 2.2 of Bison.  */
00034 
00035 
00036 /* Tokens.  */
00037 #ifndef YYTOKENTYPE
00038 # define YYTOKENTYPE
00039    /* Put the tokens into the symbol table, so that GDB and other debuggers
00040       know about them.  */
00041    enum yytokentype {
00042      TOK_IDENTIFIER = 258,
00043      TOK_STRING = 259,
00044      TOK_ENERGY = 260,
00045      TOK_LENGTH = 261,
00046      TOK_FLOAT = 262,
00047      TOK_INT = 263,
00048      TOK_VECTOR = 264,
00049      TOK_GRID_TYPE = 265,
00050      TOK_STRUCTURE = 266,
00051      TO_STRUCTURE = 267,
00052      TOK_GRID = 268,
00053      TOK_REGION = 269,
00054      TOK_SHAPE = 270,
00055      TOK_CONST = 271,
00056      TOK_POTENTIAL = 272,
00057      TOK_DOPING = 273,
00058      UMINUS = 274
00059    };
00060 #endif
00061 /* Tokens.  */
00062 #define TOK_IDENTIFIER 258
00063 #define TOK_STRING 259
00064 #define TOK_ENERGY 260
00065 #define TOK_LENGTH 261
00066 #define TOK_FLOAT 262
00067 #define TOK_INT 263
00068 #define TOK_VECTOR 264
00069 #define TOK_GRID_TYPE 265
00070 #define TOK_STRUCTURE 266
00071 #define TO_STRUCTURE 267
00072 #define TOK_GRID 268
00073 #define TOK_REGION 269
00074 #define TOK_SHAPE 270
00075 #define TOK_CONST 271
00076 #define TOK_POTENTIAL 272
00077 #define TOK_DOPING 273
00078 #define UMINUS 274
00079 
00080 
00081 
00082 
00083 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
00084 typedef union YYSTYPE
00085 {
00086 
00087 /* Line 1676 of yacc.c  */
00088 #line 137 "structspec_parser.y++"
00089 
00090   char* str;
00091   double fval;
00092   int ival;
00093   enum kdotp::libmodelxx::continuous_structure::length len;
00094   enum kdotp::libmodelxx::continuous_structure::energy energy;
00095   struct vector* v;        
00096   GList *list;
00097   struct key_value *kvu;
00098   enum kdotp::libmodelxx::grid::grid_type gt;
00099   struct kdotp::libmodelxx::grid::shape_tree *stree;  
00100   struct kdotp::libmodelxx::continuous_structure::region *region;
00101   struct kdotp::libmodelxx::grid::grid *g;
00102   struct kdotp::libmodelxx::continuous_structure::continuous_structure *s;
00103   struct kdotp::libmodelxx::continuous_structure::potential *potential;
00104   struct kdotp::libmodelxx::continuous_structure::doping *doping;
00105   struct kdotp::libmodelxx::postprocessing::function_exp *exp;
00106 
00107 
00108 
00109 /* Line 1676 of yacc.c  */
00110 #line 111 "kdotp/structspec_parser.h"
00111 } YYSTYPE;
00112 # define YYSTYPE_IS_TRIVIAL 1
00113 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
00114 # define YYSTYPE_IS_DECLARED 1
00115 #endif
00116 
00117 extern YYSTYPE yylval;
00118 
00119 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
00120 typedef struct YYLTYPE
00121 {
00122   int first_line;
00123   int first_column;
00124   int last_line;
00125   int last_column;
00126 } YYLTYPE;
00127 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
00128 # define YYLTYPE_IS_DECLARED 1
00129 # define YYLTYPE_IS_TRIVIAL 1
00130 #endif
00131 
00132 extern YYLTYPE yylloc;
00133 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines