X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Floader%2FParser.h;h=392e9b74de5504bc8a8fae64b1b548a117087bd2;hb=f1e445b660889a18eaf05e7fcc16b360fb8605d5;hp=ebfeafaacf0f9c081a0c60512818647ff0311350;hpb=f3230836ca2e263e84b58ffec6645c0f77439117;p=l2e.git diff --git a/src/loader/Parser.h b/src/loader/Parser.h index ebfeafa..392e9b7 100644 --- a/src/loader/Parser.h +++ b/src/loader/Parser.h @@ -8,6 +8,7 @@ #ifndef LOADER_PARSER_H_ #define LOADER_PARSER_H_ +#include "fwd.h" #include "ParsedSource.h" #include "Tokenizer.h" @@ -18,11 +19,6 @@ namespace loader { -class Declaration; -class Definition; -class Literal; -class PropertyList; - class Parser { public: @@ -71,6 +67,7 @@ private: void AssertTokenType(Tokenizer::Token::Type actual, Tokenizer::Token::Type expected); void AssertTokenType(Tokenizer::Token::Type actual, Tokenizer::Token::Type expected, const std::string &msg); bool BeginningOfLiteral(const Tokenizer::Token &) const; + bool BeginningOfPrimitiveLiteral(const Tokenizer::Token &) const; bool BeginOfPropertyList(const Tokenizer::Token &) const; private: