|
Kannel: Open Source WAP and SMS gateway
svn-r5336
|
Go to the source code of this file.
Data Structures | |
| union | YYSTYPE |
| struct | YYLTYPE |
| union | yyalloc |
Macros | |
| #define | YYBISON 1 |
| #define | YYBISON_VERSION "3.0.5" |
| #define | YYSKELETON_NAME "yacc.c" |
| #define | YYPURE 1 |
| #define | YYPUSH 0 |
| #define | YYPULL 1 |
| #define | yyparse ws_yy_parse |
| #define | yylex ws_yy_lex |
| #define | yyerror ws_yy_error |
| #define | yydebug ws_yy_debug |
| #define | yynerrs ws_yy_nerrs |
| #define | YY_NULLPTR 0 |
| #define | YYERROR_VERBOSE 0 |
| #define | YY_WS_YY_Y_TAB_H_INCLUDED |
| #define | YYDEBUG 0 |
| #define | YYTOKENTYPE |
| #define | tINVALID 258 |
| #define | tTRUE 259 |
| #define | tFALSE 260 |
| #define | tINTEGER 261 |
| #define | tFLOAT 262 |
| #define | tSTRING 263 |
| #define | tIDENTIFIER 264 |
| #define | tACCESS 265 |
| #define | tAGENT 266 |
| #define | tBREAK 267 |
| #define | tCONTINUE 268 |
| #define | tIDIV 269 |
| #define | tIDIVA 270 |
| #define | tDOMAIN 271 |
| #define | tELSE 272 |
| #define | tEQUIV 273 |
| #define | tEXTERN 274 |
| #define | tFOR 275 |
| #define | tFUNCTION 276 |
| #define | tHEADER 277 |
| #define | tHTTP 278 |
| #define | tIF 279 |
| #define | tISVALID 280 |
| #define | tMETA 281 |
| #define | tNAME 282 |
| #define | tPATH 283 |
| #define | tRETURN 284 |
| #define | tTYPEOF 285 |
| #define | tUSE 286 |
| #define | tUSER 287 |
| #define | tVAR 288 |
| #define | tWHILE 289 |
| #define | tURL 290 |
| #define | tDELETE 291 |
| #define | tIN 292 |
| #define | tLIB 293 |
| #define | tNEW 294 |
| #define | tNULL 295 |
| #define | tTHIS 296 |
| #define | tVOID 297 |
| #define | tWITH 298 |
| #define | tCASE 299 |
| #define | tCATCH 300 |
| #define | tCLASS 301 |
| #define | tCONST 302 |
| #define | tDEBUGGER 303 |
| #define | tDEFAULT 304 |
| #define | tDO 305 |
| #define | tENUM 306 |
| #define | tEXPORT 307 |
| #define | tEXTENDS 308 |
| #define | tFINALLY 309 |
| #define | tIMPORT 310 |
| #define | tPRIVATE 311 |
| #define | tPUBLIC 312 |
| #define | tSIZEOF 313 |
| #define | tSTRUCT 314 |
| #define | tSUPER 315 |
| #define | tSWITCH 316 |
| #define | tTHROW 317 |
| #define | tTRY 318 |
| #define | tEQ 319 |
| #define | tLE 320 |
| #define | tGE 321 |
| #define | tNE 322 |
| #define | tAND 323 |
| #define | tOR 324 |
| #define | tPLUSPLUS 325 |
| #define | tMINUSMINUS 326 |
| #define | tLSHIFT 327 |
| #define | tRSSHIFT 328 |
| #define | tRSZSHIFT 329 |
| #define | tADDA 330 |
| #define | tSUBA 331 |
| #define | tMULA 332 |
| #define | tDIVA 333 |
| #define | tANDA 334 |
| #define | tORA 335 |
| #define | tXORA 336 |
| #define | tREMA 337 |
| #define | tLSHIFTA 338 |
| #define | tRSSHIFTA 339 |
| #define | tRSZSHIFTA 340 |
| #define | YYSTYPE_IS_TRIVIAL 1 |
| #define | YYSTYPE_IS_DECLARED 1 |
| #define | YYLTYPE_IS_DECLARED 1 |
| #define | YYLTYPE_IS_TRIVIAL 1 |
| #define | YYSIZE_T size_t |
| #define | YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
| #define | YY_(Msgid) Msgid |
| #define | YY_ATTRIBUTE(Spec) /* empty */ |
| #define | YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) |
| #define | YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) |
| #define | _Noreturn YY_ATTRIBUTE ((__noreturn__)) |
| #define | YYUSE(E) ((void) (E)) |
| #define | YY_INITIAL_VALUE(Value) Value |
| #define | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
| #define | YY_IGNORE_MAYBE_UNINITIALIZED_END |
| #define | YYSTACK_ALLOC YYMALLOC |
| #define | YYSTACK_FREE YYFREE |
| #define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
| #define | YYMALLOC malloc |
| #define | YYFREE free |
| #define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
| #define | YYSTACK_BYTES(N) |
| #define | YYCOPY_NEEDED 1 |
| #define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
| #define | YYCOPY(Dst, Src, Count) |
| #define | YYFINAL 17 |
| #define | YYLAST 448 |
| #define | YYNTOKENS 109 |
| #define | YYNNTS 55 |
| #define | YYNRULES 146 |
| #define | YYNSTATES 257 |
| #define | YYUNDEFTOK 2 |
| #define | YYMAXUTOK 340 |
| #define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
| #define | YYPACT_NINF -135 |
| #define | yypact_value_is_default(Yystate) (!!((Yystate) == (-135))) |
| #define | YYTABLE_NINF -53 |
| #define | yytable_value_is_error(Yytable_value) 0 |
| #define | yyerrok (yyerrstatus = 0) |
| #define | yyclearin (yychar = YYEMPTY) |
| #define | YYEMPTY (-2) |
| #define | YYEOF 0 |
| #define | YYACCEPT goto yyacceptlab |
| #define | YYABORT goto yyabortlab |
| #define | YYERROR goto yyerrorlab |
| #define | YYRECOVERING() (!!yyerrstatus) |
| #define | YYBACKUP(Token, Value) |
| #define | YYTERROR 1 |
| #define | YYERRCODE 256 |
| #define | YYLLOC_DEFAULT(Current, Rhs, N) |
| #define | YYRHSLOC(Rhs, K) ((Rhs)[K]) |
| #define | YYDPRINTF(Args) |
| #define | YY_SYMBOL_PRINT(Title, Type, Value, Location) |
| #define | YY_STACK_PRINT(Bottom, Top) |
| #define | YY_REDUCE_PRINT(Rule) |
| #define | YYINITDEPTH 200 |
| #define | YYMAXDEPTH 10000 |
| #define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N), yylsp -= (N)) |
Typedefs | |
| typedef union YYSTYPE | YYSTYPE |
| typedef struct YYLTYPE | YYLTYPE |
| typedef unsigned char | yytype_uint8 |
| typedef signed char | yytype_int8 |
| typedef unsigned short int | yytype_uint16 |
| typedef short int | yytype_int16 |
Enumerations | |
| enum | yytokentype { tINVALID = 258, tTRUE = 259, tFALSE = 260, tINTEGER = 261, tFLOAT = 262, tSTRING = 263, tIDENTIFIER = 264, tACCESS = 265, tAGENT = 266, tBREAK = 267, tCONTINUE = 268, tIDIV = 269, tIDIVA = 270, tDOMAIN = 271, tELSE = 272, tEQUIV = 273, tEXTERN = 274, tFOR = 275, tFUNCTION = 276, tHEADER = 277, tHTTP = 278, tIF = 279, tISVALID = 280, tMETA = 281, tNAME = 282, tPATH = 283, tRETURN = 284, tTYPEOF = 285, tUSE = 286, tUSER = 287, tVAR = 288, tWHILE = 289, tURL = 290, tDELETE = 291, tIN = 292, tLIB = 293, tNEW = 294, tNULL = 295, tTHIS = 296, tVOID = 297, tWITH = 298, tCASE = 299, tCATCH = 300, tCLASS = 301, tCONST = 302, tDEBUGGER = 303, tDEFAULT = 304, tDO = 305, tENUM = 306, tEXPORT = 307, tEXTENDS = 308, tFINALLY = 309, tIMPORT = 310, tPRIVATE = 311, tPUBLIC = 312, tSIZEOF = 313, tSTRUCT = 314, tSUPER = 315, tSWITCH = 316, tTHROW = 317, tTRY = 318, tEQ = 319, tLE = 320, tGE = 321, tNE = 322, tAND = 323, tOR = 324, tPLUSPLUS = 325, tMINUSMINUS = 326, tLSHIFT = 327, tRSSHIFT = 328, tRSZSHIFT = 329, tADDA = 330, tSUBA = 331, tMULA = 332, tDIVA = 333, tANDA = 334, tORA = 335, tXORA = 336, tREMA = 337, tLSHIFTA = 338, tRSSHIFTA = 339, tRSZSHIFTA = 340, tINVALID = 258, tTRUE = 259, tFALSE = 260, tINTEGER = 261, tFLOAT = 262, tSTRING = 263, tIDENTIFIER = 264, tACCESS = 265, tAGENT = 266, tBREAK = 267, tCONTINUE = 268, tIDIV = 269, tIDIVA = 270, tDOMAIN = 271, tELSE = 272, tEQUIV = 273, tEXTERN = 274, tFOR = 275, tFUNCTION = 276, tHEADER = 277, tHTTP = 278, tIF = 279, tISVALID = 280, tMETA = 281, tNAME = 282, tPATH = 283, tRETURN = 284, tTYPEOF = 285, tUSE = 286, tUSER = 287, tVAR = 288, tWHILE = 289, tURL = 290, tDELETE = 291, tIN = 292, tLIB = 293, tNEW = 294, tNULL = 295, tTHIS = 296, tVOID = 297, tWITH = 298, tCASE = 299, tCATCH = 300, tCLASS = 301, tCONST = 302, tDEBUGGER = 303, tDEFAULT = 304, tDO = 305, tENUM = 306, tEXPORT = 307, tEXTENDS = 308, tFINALLY = 309, tIMPORT = 310, tPRIVATE = 311, tPUBLIC = 312, tSIZEOF = 313, tSTRUCT = 314, tSUPER = 315, tSWITCH = 316, tTHROW = 317, tTRY = 318, tEQ = 319, tLE = 320, tGE = 321, tNE = 322, tAND = 323, tOR = 324, tPLUSPLUS = 325, tMINUSMINUS = 326, tLSHIFT = 327, tRSSHIFT = 328, tRSZSHIFT = 329, tADDA = 330, tSUBA = 331, tMULA = 332, tDIVA = 333, tANDA = 334, tORA = 335, tXORA = 336, tREMA = 337, tLSHIFTA = 338, tRSSHIFTA = 339, tRSZSHIFTA = 340 } |
Functions | |
| int | ws_yy_parse (WsCompiler *compiler) |
| void | yyerror (YYLTYPE *locp, WsCompiler *compiler, const char *msg) |
| void * | malloc (YYSIZE_T) |
| void | free (void *) |
| static void | yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, YYLTYPE *yylocationp, WsCompiler *compiler) |
| int | yyparse (WsCompiler *compiler) |
Variables | |
| static const yytype_uint8 | yytranslate [] |
| static const yytype_int16 | yypact [] |
| static const yytype_uint8 | yydefact [] |
| static const yytype_int16 | yypgoto [] |
| static const yytype_int16 | yydefgoto [] |
| static const yytype_int16 | yytable [] |
| static const yytype_int16 | yycheck [] |
| static const yytype_uint8 | yystos [] |
| static const yytype_uint8 | yyr1 [] |
| static const yytype_uint8 | yyr2 [] |
| #define _Noreturn YY_ATTRIBUTE ((__noreturn__)) |
| #define tADDA 330 |
Definition at line 282 of file wsgram.c.
Referenced by ws_expr_linearize(), ws_yy_lex(), and yyparse().
| #define tAND 323 |
Definition at line 275 of file wsgram.c.
Referenced by ws_yy_lex().
| #define tANDA 334 |
Definition at line 286 of file wsgram.c.
Referenced by ws_expr_linearize(), ws_yy_lex(), and yyparse().
| #define tDIVA 333 |
Definition at line 285 of file wsgram.c.
Referenced by ws_expr_linearize(), ws_yy_lex(), and yyparse().
| #define tEQ 319 |
Definition at line 271 of file wsgram.c.
Referenced by ws_yy_lex().
| #define tFLOAT 262 |
Definition at line 214 of file wsgram.c.
Referenced by ws_yy_lex().
| #define tGE 321 |
Definition at line 273 of file wsgram.c.
Referenced by ws_yy_lex().
| #define tIDENTIFIER 264 |
Definition at line 216 of file wsgram.c.
Referenced by ws_yy_lex().
| #define tIDIV 269 |
Definition at line 221 of file wsgram.c.
Referenced by ws_yy_lex().
| #define tIDIVA 270 |
Definition at line 222 of file wsgram.c.
Referenced by ws_expr_linearize(), ws_yy_lex(), and yyparse().
| #define tINTEGER 261 |
Definition at line 213 of file wsgram.c.
Referenced by ws_yy_lex().
| #define tLE 320 |
Definition at line 272 of file wsgram.c.
Referenced by ws_yy_lex().
| #define tLSHIFT 327 |
Definition at line 279 of file wsgram.c.
Referenced by ws_yy_lex().
| #define tLSHIFTA 338 |
Definition at line 290 of file wsgram.c.
Referenced by ws_expr_linearize(), ws_yy_lex(), and yyparse().
| #define tMINUSMINUS 326 |
Definition at line 278 of file wsgram.c.
Referenced by ws_yy_lex().
| #define tMULA 332 |
Definition at line 284 of file wsgram.c.
Referenced by ws_expr_linearize(), ws_yy_lex(), and yyparse().
| #define tNE 322 |
Definition at line 274 of file wsgram.c.
Referenced by ws_yy_lex().
| #define tOR 324 |
Definition at line 276 of file wsgram.c.
Referenced by ws_yy_lex().
| #define tORA 335 |
Definition at line 287 of file wsgram.c.
Referenced by ws_expr_linearize(), ws_yy_lex(), and yyparse().
| #define tPLUSPLUS 325 |
Definition at line 277 of file wsgram.c.
Referenced by ws_yy_lex().
| #define tREMA 337 |
Definition at line 289 of file wsgram.c.
Referenced by ws_expr_linearize(), ws_yy_lex(), and yyparse().
| #define tRSSHIFT 328 |
Definition at line 280 of file wsgram.c.
Referenced by ws_yy_lex().
| #define tRSSHIFTA 339 |
Definition at line 291 of file wsgram.c.
Referenced by ws_expr_linearize(), ws_yy_lex(), and yyparse().
| #define tRSZSHIFT 329 |
Definition at line 281 of file wsgram.c.
Referenced by ws_yy_lex().
| #define tRSZSHIFTA 340 |
Definition at line 292 of file wsgram.c.
Referenced by ws_expr_linearize(), ws_yy_lex(), and yyparse().
| #define tSTRING 263 |
Definition at line 215 of file wsgram.c.
Referenced by ws_yy_lex().
| #define tSUBA 331 |
Definition at line 283 of file wsgram.c.
Referenced by ws_expr_linearize(), ws_yy_lex(), and yyparse().
| #define tXORA 336 |
Definition at line 288 of file wsgram.c.
Referenced by ws_expr_linearize(), ws_yy_lex(), and yyparse().
| #define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) |
| #define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) |
| #define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 461 of file wsgram.c.
Referenced by yydestruct(), and yyparse().
| #define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 462 of file wsgram.c.
Referenced by yydestruct(), and yyparse().
| #define YY_INITIAL_VALUE | ( | Value | ) | Value |
| #define YY_STACK_PRINT | ( | Bottom, | |
| Top | |||
| ) |
| #define YY_SYMBOL_PRINT | ( | Title, | |
| Type, | |||
| Value, | |||
| Location | |||
| ) |
Definition at line 1242 of file wsgram.c.
Referenced by yydestruct(), and yyparse().
| #define YYACCEPT goto yyacceptlab |
| #define YYBACKUP | ( | Token, | |
| Value | |||
| ) |
| #define YYCOPY | ( | Dst, | |
| Src, | |||
| Count | |||
| ) |
| #define YYLLOC_DEFAULT | ( | Current, | |
| Rhs, | |||
| N | |||
| ) |
Definition at line 1053 of file wsgram.c.
Referenced by yyparse().
| #define yypact_value_is_default | ( | Yystate | ) | (!!((Yystate) == (-135))) |
| #define yyparse ws_yy_parse |
| #define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
| #define YYSTACK_BYTES | ( | N | ) |
Definition at line 555 of file wsgram.c.
Referenced by yyparse().
| #define YYSTACK_RELOCATE | ( | Stack_alloc, | |
| Stack | |||
| ) |
Definition at line 566 of file wsgram.c.
Referenced by yyparse().
| #define yytable_value_is_error | ( | Yytable_value | ) | 0 |
| #define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
| #define YYUSE | ( | E | ) | ((void) (E)) |
Definition at line 444 of file wsgram.c.
Referenced by yydestruct().
| typedef short int yytype_int16 |
| typedef signed char yytype_int8 |
| typedef unsigned short int yytype_uint16 |
| typedef unsigned char yytype_uint8 |
| enum yytokentype |
Definition at line 122 of file wsgram.c.
| void free | ( | void * | ) |
| void* malloc | ( | YYSIZE_T | ) |
Referenced by AddAttrStartLiteralNode(), AddAttrStartNode(), AddAttrValueNode(), AddCodepageLiteralTagNode(), AddCodepageTagNode(), AddDTDNode(), AddStringTableNode(), build_box_arglist(), gw_check_malloc(), gw_check_realloc(), gw_native_malloc(), main(), new_extparm(), NewNode(), parse_headers(), Read_bytes(), Read_termstr_rtn(), ReadBinary(), ws_malloc(), ws_realloc(), and xmalloc().
| int ws_yy_parse | ( | WsCompiler * | compiler | ) |
Referenced by compile_stream().
|
static |
Definition at line 1493 of file wsgram.c.
References YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_SYMBOL_PRINT, and YYUSE.
Referenced by yyparse().
| void yyerror | ( | YYLTYPE * | locp, |
| WsCompiler * | compiler, | ||
| const char * | msg | ||
| ) |
Definition at line 2812 of file wsgram.c.
References WsCompilerRec::input_name, WsCompilerRec::linenum, and msg.
| int yyparse | ( | WsCompiler * | compiler | ) |
Definition at line 1515 of file wsgram.c.
References WsCompilerRec::bc, YYSTYPE::boolean, YYSTYPE::expr, WsStatementRec::first_line, YYSTYPE::list, YYSTYPE::meta_body, WsCompilerParamsRec::meta_http_equiv_cb, WsCompilerParamsRec::meta_http_equiv_cb_context, WsCompilerParamsRec::meta_name_cb, WsCompilerParamsRec::meta_name_cb_context, name, WsCompilerRec::params, WsCompilerRec::pool_stree, YYSTYPE::stmt, tADDA, tANDA, tDIVA, tIDIVA, tLSHIFTA, tMULA, tORA, tREMA, tRSSHIFTA, tRSZSHIFTA, tSUBA, tXORA, WsFunctionHashRec::usage_count, YYSTYPE::vardec, WS_ASM_ADD, WS_ASM_B_AND, WS_ASM_B_LSHIFT, WS_ASM_B_NOT, WS_ASM_B_OR, WS_ASM_B_RSSHIFT, WS_ASM_B_RSZSHIFT, WS_ASM_B_XOR, WS_ASM_DIV, WS_ASM_EQ, WS_ASM_GE, WS_ASM_GT, WS_ASM_IDIV, WS_ASM_ISVALID, WS_ASM_LE, WS_ASM_LT, WS_ASM_MUL, WS_ASM_NE, WS_ASM_NOT, WS_ASM_REM, WS_ASM_SCAND, WS_ASM_SCOR, WS_ASM_SUB, WS_ASM_TYPEOF, WS_ASM_UMINUS, ws_bc_add_pragma_access_domain(), ws_bc_add_pragma_access_path(), ws_bc_add_pragma_user_agent_property(), ws_bc_add_pragma_user_agent_property_and_scheme(), ws_error_memory(), ws_error_syntax(), ws_expr_assign(), ws_expr_binary(), ws_expr_call(), ws_expr_comma(), ws_expr_conditional(), ws_expr_const_false(), ws_expr_const_float(), ws_expr_const_integer(), ws_expr_const_invalid(), ws_expr_const_string(), ws_expr_const_true(), ws_expr_logical(), ws_expr_postfix_var(), ws_expr_symbol(), ws_expr_unary(), ws_expr_unary_var(), ws_f_strdup(), WS_FALSE, ws_formal_parameter(), ws_function(), ws_function_hash(), ws_lexer_free_block(), ws_lexer_free_utf8(), ws_list_append(), ws_list_new(), ws_pragma_meta_body(), ws_pragma_meta_body_free(), ws_pragma_use(), ws_stmt_block(), ws_stmt_break(), ws_stmt_continue(), ws_stmt_empty(), ws_stmt_expr(), ws_stmt_for(), ws_stmt_if(), ws_stmt_return(), ws_stmt_variable(), ws_stmt_while(), ws_strdup(), WS_TRUE, ws_variable_declaration(), YY_, YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_INITIAL_VALUE, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, yycheck, yydefact, yydefgoto, yydestruct(), YYDPRINTF, YYEMPTY, YYEOF, yyerror, YYFINAL, YYINITDEPTH, YYLAST, yylex, YYLLOC_DEFAULT, yyalloc::yyls_alloc, YYMAXDEPTH, yynerrs, YYNTOKENS, yypact, yypact_value_is_default, yypgoto, YYPOPSTACK, yyr1, yyr2, YYSIZE_T, yyalloc::yyss_alloc, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yystos, yytable, yytable_value_is_error, YYTERROR, YYTRANSLATE, and yyalloc::yyvs_alloc.
|
static |
|
static |
Definition at line 788 of file wsgram.c.
Referenced by yyparse().
|
static |
Definition at line 830 of file wsgram.c.
Referenced by yyparse().
|
static |
Definition at line 755 of file wsgram.c.
Referenced by yyparse().
|
static |
Definition at line 819 of file wsgram.c.
Referenced by yyparse().
|
static |
Definition at line 974 of file wsgram.c.
Referenced by yyparse().
|
static |
Definition at line 994 of file wsgram.c.
Referenced by yyparse().
|
static |
Definition at line 943 of file wsgram.c.
Referenced by yyparse().
|
static |
|
static |