Lines Matching refs:Expected
92 Expected<std::string> getWildcardRegex() const;
97 Expected<std::string> getMatchingString(ExpressionValue Value) const;
103 Expected<ExpressionValue> valueFromStringRepr(StringRef StrVal,
146 Expected<int64_t> getSignedValue() const;
150 Expected<uint64_t> getUnsignedValue() const;
159 Expected<ExpressionValue> operator+(const ExpressionValue &Lhs,
161 Expected<ExpressionValue> operator-(const ExpressionValue &Lhs,
163 Expected<ExpressionValue> operator*(const ExpressionValue &Lhs,
165 Expected<ExpressionValue> operator/(const ExpressionValue &Lhs,
167 Expected<ExpressionValue> max(const ExpressionValue &Lhs,
169 Expected<ExpressionValue> min(const ExpressionValue &Lhs,
186 virtual Expected<ExpressionValue> eval() const = 0;
192 virtual Expected<ExpressionFormat>
210 Expected<ExpressionValue> eval() const override { return Value; } in eval()
337 Expected<ExpressionValue> eval() const override;
340 Expected<ExpressionFormat>
347 using binop_eval_t = Expected<ExpressionValue> (*)(const ExpressionValue &,
375 Expected<ExpressionValue> eval() const override;
381 Expected<ExpressionFormat>
420 virtual Expected<std::string> getResult() const = 0;
431 Expected<std::string> getResult() const override;
449 Expected<std::string> getResult() const override;
499 Expected<StringRef> getPatternVarValue(StringRef VarName);
709 static Expected<VariableProperties> parseVariable(StringRef &Str,
721 static Expected<std::unique_ptr<Expression>> parseNumericSubstitutionBlock(
795 static Expected<NumericVariable *> parseNumericVariableDefinition(
805 static Expected<std::unique_ptr<NumericVariableUse>> parseNumericVariableUse(
818 static Expected<std::unique_ptr<ExpressionAST>>
831 static Expected<std::unique_ptr<ExpressionAST>>
843 static Expected<std::unique_ptr<ExpressionAST>>
854 static Expected<std::unique_ptr<ExpressionAST>>