1 #ifndef COMPILER_QUICKFILEPARSER_H_INCLUDED
2 #define COMPILER_QUICKFILEPARSER_H_INCLUDED
virtual bool parseName(const std::string &name, const TokenLoc &loc, Scanner &scanner)
Definition: quickfileparser.cpp:11
Definition: context.hpp:10
Location of a token in a source file.
Definition: tokenloc.hpp:10
File parser variant that ignores everything but variable declarations.
Definition: quickfileparser.hpp:12
QuickFileParser(ErrorHandler &errorHandler, const Context &context, Locals &locals)
Definition: quickfileparser.cpp:6
virtual void parseEOF(Scanner &scanner)
Handle EOF token.
Definition: quickfileparser.cpp:48
Error handling.
Definition: errorhandler.hpp:14
Definition: declarationparser.hpp:10
virtual bool parseKeyword(int keyword, const TokenLoc &loc, Scanner &scanner)
Definition: quickfileparser.cpp:19
virtual bool parseSpecial(int code, const TokenLoc &loc, Scanner &scanner)
Definition: quickfileparser.cpp:37
int code
Definition: crashcatcher.cpp:70
Parser base class.
Definition: parser.hpp:17
DeclarationParser mDeclarationParser
Definition: quickfileparser.hpp:14
Local variable declarations.
Definition: locals.hpp:12
Scanner.
Definition: scanner.hpp:21
const char * name
Definition: crashcatcher.cpp:59