#include "ResourceScriptParser.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Process.h"
#define RETURN_IF_ERROR(Expr) …
#define ASSIGN_OR_RETURN(Var, Expr) …
namespace llvm {
namespace rc {
RCParser::ParserError::ParserError(const Twine &Expected, const LocIter CurLoc,
const LocIter End)
: … { … }
char RCParser::ParserError::ID = …;
RCParser::RCParser(std::vector<RCToken> TokenList)
: … { … }
bool RCParser::isEof() const { … }
RCParser::ParseType RCParser::parseSingleResource() { … }
bool RCParser::isNextTokenKind(Kind TokenKind) const { … }
const RCToken &RCParser::look() const { … }
const RCToken &RCParser::read() { … }
void RCParser::consume() { … }
Expected<RCInt> RCParser::readInt() { … }
Expected<IntWithNotMask> RCParser::parseIntExpr1() { … }
Expected<IntWithNotMask> RCParser::parseIntExpr2() { … }
Expected<StringRef> RCParser::readString() { … }
Expected<StringRef> RCParser::readFilename() { … }
Expected<StringRef> RCParser::readIdentifier() { … }
Expected<IntOrString> RCParser::readIntOrString() { … }
Expected<IntOrString> RCParser::readTypeOrName() { … }
Error RCParser::consumeType(Kind TokenKind) { … }
bool RCParser::consumeOptionalType(Kind TokenKind) { … }
Expected<SmallVector<RCInt, 8>> RCParser::readIntsWithCommas(size_t MinCount,
size_t MaxCount) { … }
Expected<uint32_t> RCParser::parseFlags(ArrayRef<StringRef> FlagDesc,
ArrayRef<uint32_t> FlagValues) { … }
uint16_t RCParser::parseMemoryFlags(uint16_t Flags) { … }
Expected<OptionalStmtList>
RCParser::parseOptionalStatements(OptStmtType StmtsType) { … }
Expected<std::unique_ptr<OptionalStmt>>
RCParser::parseSingleOptionalStatement(OptStmtType StmtsType) { … }
RCParser::ParseType RCParser::parseLanguageResource() { … }
RCParser::ParseType RCParser::parseAcceleratorsResource() { … }
RCParser::ParseType RCParser::parseCursorResource() { … }
RCParser::ParseType RCParser::parseDialogResource(bool IsExtended) { … }
RCParser::ParseType RCParser::parseUserDefinedResource(IntOrString Type) { … }
RCParser::ParseType RCParser::parseVersionInfoResource() { … }
Expected<Control> RCParser::parseControl() { … }
RCParser::ParseType RCParser::parseBitmapResource() { … }
RCParser::ParseType RCParser::parseIconResource() { … }
RCParser::ParseType RCParser::parseHTMLResource() { … }
RCParser::ParseType RCParser::parseMenuResource() { … }
RCParser::ParseType RCParser::parseMenuExResource() { … }
Expected<MenuDefinitionList> RCParser::parseMenuItemsList() { … }
Expected<MenuDefinitionList> RCParser::parseMenuExItemsList() { … }
RCParser::ParseType RCParser::parseStringTableResource() { … }
Expected<std::unique_ptr<VersionInfoBlock>>
RCParser::parseVersionInfoBlockContents(StringRef BlockName) { … }
Expected<std::unique_ptr<VersionInfoStmt>> RCParser::parseVersionInfoStmt() { … }
Expected<VersionInfoResource::VersionInfoFixed>
RCParser::parseVersionInfoFixed() { … }
RCParser::ParseOptionType RCParser::parseLanguageStmt() { … }
RCParser::ParseOptionType RCParser::parseCharacteristicsStmt() { … }
RCParser::ParseOptionType RCParser::parseVersionStmt() { … }
RCParser::ParseOptionType RCParser::parseCaptionStmt() { … }
RCParser::ParseOptionType RCParser::parseClassStmt() { … }
RCParser::ParseOptionType RCParser::parseFontStmt(OptStmtType DialogType) { … }
RCParser::ParseOptionType RCParser::parseStyleStmt() { … }
RCParser::ParseOptionType RCParser::parseExStyleStmt() { … }
RCParser::ParseOptionType RCParser::parseMenuStmt() { … }
Error RCParser::getExpectedError(const Twine &Message, bool IsAlreadyRead) { … }
}
}