#include <stdio.h>#include <iostream>#include <string>#include <malloc.h>#include "DHCPConst.h"#include "SmartPtr.h"#include "Container.h"#include "RelParser.h"#include "RelParsGlobalOpt.h"#include "RelParsIfaceOpt.h"#include "RelCfgIface.h"#include "DUID.h"#include "Logger.h"#include "FlexLexer.h"Namespaces | |
| namespace | std |
Classes | |
| union | yy_RelParser_stype |
| class | YY_RelParser_INHERIT |
Defines | |
| #define | YY_RelParser_h_included |
| #define | YY_USE_CLASS |
| #define | YY_USE_CLASS |
| #define | const |
| #define | YYBISON 1 |
| #define | YY_USE_CLASS |
| #define | YY_RelParser_MEMBERS |
| #define | YY_RelParser_CONSTRUCTOR_PARAM yyFlexLexer * lex |
| #define | YY_RelParser_CONSTRUCTOR_CODE |
| #define | YY_RelParser_STYPE yy_RelParser_stype |
| #define | YY_RelParser_BISON 1 |
| #define | YY_RelParser_COMPATIBILITY 0 |
| #define | YY_RelParser_USE_GOTO 0 |
| #define | YY_RelParser_PARSE yyparse |
| #define | YY_RelParser_LEX yylex |
| #define | YY_RelParser_LVAL yylval |
| #define | YY_RelParser_LLOC yylloc |
| #define | YY_RelParser_CHAR yychar |
| #define | YY_RelParser_NERRS yynerrs |
| #define | YY_RelParser_DEBUG_FLAG yydebug |
| #define | YY_RelParser_ERROR yyerror |
| #define | YY_RelParser_PARSE_PARAM void |
| #define | YY_RelParser_CLASS RelParser |
| #define | YY_RelParser_USE_CONST_TOKEN 0 |
| #define | YYFINAL 54 |
| #define | YYFLAG -32768 |
| #define | YYNTBASE 19 |
| #define | YYTRANSLATE(x) ((unsigned)(x) <= 271 ? yytranslate[x] : 39) |
| #define | YYLAST 49 |
| #define | YYGOTO(lb) goto lb |
| #define | YYBEGINGOTO |
| #define | YYLABEL(lb) lb: |
| #define | YYENDGOTO |
| #define | YYBEGINDECLARELABEL |
| #define | YYDECLARELABEL(lb) |
| #define | YYENDDECLARELABEL |
| #define | __ALLOCA_return(num) do { return(num); } while(0) |
| #define | __ALLOCA_alloca(size) alloca(size) |
| #define | __ALLOCA_free(ptr, ref) |
| #define | yyerrok (yyerrstatus = 0) |
| #define | yyclearin (YY_RelParser_CHAR = YYEMPTY) |
| #define | YYEMPTY -2 |
| #define | YYEOF 0 |
| #define | YYACCEPT __ALLOCA_return(0) |
| #define | YYABORT __ALLOCA_return(1) |
| #define | YYERROR YYGOTO(yyerrlab1) |
| #define | YYFAIL YYGOTO(yyerrlab) |
| #define | YYRECOVERING() (!!yyerrstatus) |
| #define | YYBACKUP(token, value) |
| #define | YYTERROR 1 |
| #define | YYERRCODE 256 |
| #define | YYLEX YY_RelParser_LEX() |
| #define | YYINITDEPTH 200 |
| #define | YYMAXDEPTH 10000 |
| #define | YYPOPSTACK (yyvsp--, yyssp--) |
Functions | |
| YYBEGINDECLARELABEL | YYDECLARELABEL (yyerrlab) YYDECLARELABEL(yyerrlab1) YYDECLARELABEL(yyerrdefault) YYDECLARELABEL(yyerrpop) YYENDDECLARELABELstatic void __yy_bcopy(from |
Variables | |
| YYBEGINDECLARELABEL | to |
| YYBEGINDECLARELABEL count char * | from |
| int | count |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: ParserOptStack.append(new TRelParsGlobalOpt()); \ this->lex = lex; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: FlexLexer * lex; \ TContainer< SmartPtr<TRelParsGlobalOpt> > ParserOptStack; /* list of parsed interfaces/IAs/addrs */ \ TContainer< SmartPtr<TRelCfgIface> > RelCfgIfaceLst; /* list of RelCfg interfaces */ \ TContainer< SmartPtr<TIPv6Addr> > PresentAddrLst; /* address list (used for DNS,NTP,etc.)*/ \ TContainer< SmartPtr<string> > PresentStringLst; /* string list */ \ /*method check whether interface with id=ifaceNr has been already declared */ \ bool CheckIsIface(int ifaceNr); \ /*method check whether interface with id=ifaceName has been already declared*/ \ bool CheckIsIface(string ifaceName); \ void StartIfaceDeclaration(); \ bool EndIfaceDeclaration(); \ virtual ~RelParser(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: do \ if (YY_RelParser_CHAR == YYEMPTY && yylen == 1) \ { YY_RelParser_CHAR = (token), YY_RelParser_LVAL = (value); \ yychar1 = YYTRANSLATE (YY_RelParser_CHAR); \ YYPOPSTACK; \ YYGOTO(yybackup); \ } \ else \ { YY_RelParser_ERROR ("syntax error: cannot back up"); YYERROR; } \ while (0) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1