1 #ifndef COMPILER_JUNKPARSER_H_INCLUDED
2 #define COMPILER_JUNKPARSER_H_INCLUDED
16 int ignoreKeyword = -1);
JunkParser(ErrorHandler &errorHandler, const Context &context, int ignoreKeyword=-1)
Definition: junkparser.cpp:5
int mIgnoreKeyword
Definition: junkparser.hpp:11
virtual bool parseKeyword(int keyword, const TokenLoc &loc, Scanner &scanner)
Definition: junkparser.cpp:29
Definition: context.hpp:10
Location of a token in a source file.
Definition: tokenloc.hpp:10
Error handling.
Definition: errorhandler.hpp:14
Parse an optional single junk token.
Definition: junkparser.hpp:9
int code
Definition: crashcatcher.cpp:70
virtual bool parseSpecial(int code, const TokenLoc &loc, Scanner &scanner)
Definition: junkparser.cpp:39
virtual bool parseName(const std::string &name, const TokenLoc &loc, Scanner &scanner)
Definition: junkparser.cpp:22
Parser base class.
Definition: parser.hpp:17
virtual bool parseFloat(float value, const TokenLoc &loc, Scanner &scanner)
Definition: junkparser.cpp:16
virtual bool parseInt(int value, const TokenLoc &loc, Scanner &scanner)
Definition: junkparser.cpp:10
Scanner.
Definition: scanner.hpp:21
const char * name
Definition: crashcatcher.cpp:59