Changeset View
Changeset View
Standalone View
Standalone View
support/xhpast/ast.hpp
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | public: | ||||
} | } | ||||
protected: | protected: | ||||
std::deque<std::deque<std::string> > tag_stack; | std::deque<std::deque<std::string> > tag_stack; | ||||
}; | }; | ||||
#define YYSTYPE xhpast::Node * | #define YYSTYPE xhpast::Node * | ||||
#define YY_HEADER_EXPORT_START_CONDITIONS | #define YY_HEADER_EXPORT_START_CONDITIONS | ||||
#define YY_EXTRA_TYPE yy_extra_type* | #define YY_EXTRA_TYPE yy_extra_type * | ||||
#include "parser.yacc.hpp" | #include "parser.yacc.hpp" | ||||
#ifndef FLEX_SCANNER | #ifndef FLEX_SCANNER | ||||
#include "scanner.lex.hpp" | #include "scanner.lex.hpp" | ||||
#endif | #endif | ||||
int xhpparse(void*, YYSTYPE *); | int xhpparse(void *, YYSTYPE *); | ||||
void xhp_new_push_state(int s, struct yyguts_t* yyg); | void xhp_new_push_state(int s, struct yyguts_t * yyg); | ||||
void xhp_new_pop_state(struct yyguts_t* yyg); | void xhp_new_pop_state(struct yyguts_t * yyg); | ||||
void xhp_set_state(int s, struct yyguts_t* yyg); | void xhp_set_state(int s, struct yyguts_t * yyg); |