Lines Matching refs:Expected
32 using ParseType = Expected<std::unique_ptr<RCResource>>;
33 using ParseOptionType = Expected<std::unique_ptr<OptionalStmt>>;
38 ParserError(const Twine &Expected, const LocIter CurLoc, const LocIter End);
80 Expected<RCInt> readInt(); // Parse an integer.
81 Expected<StringRef> readString(); // Parse a string.
82 Expected<StringRef> readIdentifier(); // Parse an identifier.
83 Expected<StringRef> readFilename(); // Parse a filename.
84 Expected<IntOrString> readIntOrString(); // Parse an integer or a string.
85 Expected<IntOrString> readTypeOrName(); // Parse an integer or an identifier.
88 Expected<IntWithNotMask> parseIntExpr1();
89 Expected<IntWithNotMask> parseIntExpr2();
103 Expected<SmallVector<RCInt, 8>> readIntsWithCommas(size_t MinCount,
111 Expected<uint32_t> parseFlags(ArrayRef<StringRef> FlagDesc,
130 Expected<OptionalStmtList>
134 Expected<std::unique_ptr<OptionalStmt>>
151 Expected<Control> parseControl();
154 Expected<MenuDefinitionList> parseMenuItemsList();
158 Expected<std::unique_ptr<VersionInfoBlock>>
161 Expected<std::unique_ptr<VersionInfoStmt>> parseVersionInfoStmt();
163 Expected<VersionInfoResource::VersionInfoFixed> parseVersionInfoFixed();