mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
44 lines
1.0 KiB
C++
44 lines
1.0 KiB
C++
|
|
#include "lineparser.hpp"
|
|
|
|
#include "scanner.hpp"
|
|
|
|
namespace Compiler
|
|
{
|
|
LineParser::LineParser (ErrorHandler& errorHandler, Context& context)
|
|
: Parser (errorHandler, context)
|
|
{}
|
|
|
|
bool LineParser::parseInt (int value, const TokenLoc& loc, Scanner& scanner)
|
|
{
|
|
return Parser::parseInt (value, loc, scanner);
|
|
}
|
|
|
|
bool LineParser::parseFloat (float value, const TokenLoc& loc, Scanner& scanner)
|
|
{
|
|
return Parser::parseFloat (value, loc, scanner);
|
|
}
|
|
|
|
bool LineParser::parseName (const std::string& name, const TokenLoc& loc,
|
|
Scanner& scanner)
|
|
{
|
|
return Parser::parseName (name, loc, scanner);
|
|
}
|
|
|
|
bool LineParser::parseKeyword (int keyword, const TokenLoc& loc, Scanner& scanner)
|
|
{
|
|
return Parser::parseKeyword (keyword, loc, scanner);
|
|
}
|
|
|
|
bool LineParser::parseSpecial (int code, const TokenLoc& loc, Scanner& scanner)
|
|
{
|
|
return Parser::parseSpecial (code, loc, scanner);
|
|
}
|
|
|
|
void LineParser::reset()
|
|
{
|
|
|
|
}
|
|
}
|
|
|