Searched refs:SomeCharacter (Results 1 – 19 of 19) sorted by relevance
165 std::optional<Expr<SomeCharacter>> Substring::Fold(FoldingContext &context) { in Fold()192 std::optional<Expr<SomeCharacter>> strings; // a Constant<Character> in Fold()197 Expr<SomeCharacter>(Expr<Ascii>(Constant<Ascii>{std::move(*str)})); in Fold()203 if (const auto *value{UnwrapExpr<Expr<SomeCharacter>>(folded)}) { in Fold()209 std::optional<Expr<SomeCharacter>> result; in Fold()212 [&](const auto &expr) -> std::optional<Expr<SomeCharacter>> { in Fold()216 return Expr<SomeCharacter>{Expr<Type>{*substr}}; in Fold()264 if (const auto *chExpr{UnwrapExpr<Expr<SomeCharacter>>(assoc->expr())}) { in SymbolLEN()
214 bool Expr<SomeCharacter>::operator==(const Expr<SomeCharacter> &that) const { in operator ==()317 int Expr<SomeCharacter>::GetKind() const { in GetKind()323 std::optional<Expr<SubscriptInteger>> Expr<SomeCharacter>::LEN() const { in LEN()
17 if (auto *chExpr{UnwrapExpr<Expr<SomeCharacter>>(expr)}) { in GetConstantLength()146 template class ExpressionBase<SomeCharacter>;
188 auto *cx0{UnwrapExpr<Expr<SomeCharacter>>(args[0])}; in FoldIntrinsicFunction()189 auto *cx1{UnwrapExpr<Expr<SomeCharacter>>(args[1])}; in FoldIntrinsicFunction()
190 UnwrapExpr<Expr<SomeCharacter>>(arguments_[0].value())}; in LEN()
484 [&](Expr<SomeCharacter> &&) { in Negation() argument566 [&](Expr<SomeCharacter> &&cx, Expr<SomeCharacter> &&cy) { in Relate()641 if (auto *cx{UnwrapExpr<Expr<SomeCharacter>>(x)}) { in ConvertToType()649 return Expr<SomeCharacter>{ in ConvertToType()
583 auto *someChar{UnwrapExpr<Expr<SomeCharacter>>(args[0])}; in FoldIntrinsicFunction()669 if (auto *charExpr{UnwrapExpr<Expr<SomeCharacter>>(args[0])}) { in FoldIntrinsicFunction()799 if (auto *charExpr{UnwrapExpr<Expr<SomeCharacter>>(args[0])}) { in FoldIntrinsicFunction()817 if (auto *charExpr{UnwrapExpr<Expr<SomeCharacter>>(args[0])}) { in FoldIntrinsicFunction()
329 std::get_if<Expr<SomeCharacter>>(&result->u)}) { in OffsetToDesignator()
127 if (const auto *chExpr{UnwrapExpr<Expr<SomeCharacter>>(assoc.expr())}) { in Characterize()
339 if (std::optional<Expr<SomeCharacter>> folded{ in Folding()
421 using SomeCharacter = SomeKind<TypeCategory::Character>; variable425 SomeCharacter, SomeLogical, SomeDerived>;508 PREFIX<SomeCharacter> SUFFIX; \
768 template <> class Expr<SomeCharacter> : public ExpressionBase<SomeCharacter> {770 using Result = SomeCharacter;
103 if (const auto *chExpr{UnwrapExpr<Expr<SomeCharacter>>(x)}) { in Characterize()
339 std::optional<Expr<SomeCharacter>> Fold(FoldingContext &);
225 std::get<evaluate::Expr<evaluate::SomeCharacter>>(expr.u).LEN(); in GetType()
914 if (auto *charExpr{std::get_if<Expr<SomeCharacter>>(&string->u)}) { in Analyze()1425 if (Expr<SomeCharacter> * charExpr{UnwrapExpr<Expr<SomeCharacter>>(*x)}) { in Push()2841 std::move(std::get<Expr<SomeCharacter>>(analyzer.MoveExpr(0).u).u), in Analyze()2842 std::move(std::get<Expr<SomeCharacter>>(analyzer.MoveExpr(1).u).u)); in Analyze()
6294 evaluate::UnwrapExpr<evaluate::Expr<evaluate::SomeCharacter>>( in SetTypeFromAssociation()
397 std::get<Fortran::evaluate::Expr<Fortran::evaluate::SomeCharacter>>( in getCharacterLength()
501 Fortran::evaluate::Expr<Fortran::evaluate::SomeCharacter>>( in charLenVariable()