Home
last modified time | relevance | path

Searched refs:GenericSpec (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/flang/lib/Parser/
Dprogram-parsers.cpp360 TYPE_PARSER(sourced(first(construct<GenericSpec>("OPERATOR" >>
362 construct<GenericSpec>(
363 construct<GenericSpec::Assignment>("ASSIGNMENT ( = )"_tok)),
364 construct<GenericSpec>(
365 construct<GenericSpec::ReadFormatted>("READ ( FORMATTED )"_tok)),
366 construct<GenericSpec>(
367 construct<GenericSpec::ReadUnformatted>("READ ( UNFORMATTED )"_tok)),
368 construct<GenericSpec>(
369 construct<GenericSpec::WriteFormatted>("WRITE ( FORMATTED )"_tok)),
370 construct<GenericSpec>(
[all …]
Dtype-parsers.h116 constexpr Parser<GenericSpec> genericSpec; // R1508
Dunparse.cpp350 Put(" :: "), Walk(std::get<common::Indirection<GenericSpec>>(x.t)); in Unparse()
1590 [&](const std::optional<GenericSpec> &y) { in Unparse()
1609 void Before(const GenericSpec &x) { // R1508, R1509 in Before()
1613 [&](const GenericSpec::Assignment &) { Word("ASSIGNMENT(=)"); }, in Before()
1614 [&](const GenericSpec::ReadFormatted &) { in Before()
1617 [&](const GenericSpec::ReadUnformatted &) { in Before()
1620 [&](const GenericSpec::WriteFormatted &) { in Before()
1623 [&](const GenericSpec::WriteUnformatted &) { in Before()
1630 void Post(const GenericSpec &x) { in Post()
1639 Put(" :: "), Walk(std::get<GenericSpec>(x.t)), Put(" => "); in Unparse()
/external/llvm-project/flang/lib/Semantics/
Dresolve-names-utils.h33 struct GenericSpec;
74 GenericSpecInfo(const parser::GenericSpec &x) { Analyze(x); } in GenericSpecInfo()
92 void Analyze(const parser::GenericSpec &);
Dresolve-names-utils.cpp124 void GenericSpecInfo::Analyze(const parser::GenericSpec &x) { in Analyze()
146 [&](const parser::GenericSpec::Assignment &) -> GenericKind { in Analyze()
149 [&](const parser::GenericSpec::ReadFormatted &) -> GenericKind { in Analyze()
152 [&](const parser::GenericSpec::ReadUnformatted &) -> GenericKind { in Analyze()
155 [&](const parser::GenericSpec::WriteFormatted &) -> GenericKind { in Analyze()
158 [&](const parser::GenericSpec::WriteUnformatted &) -> GenericKind { in Analyze()
Dresolve-names.cpp645 bool Pre(const parser::GenericSpec &);
1356 void CreateGeneric(const parser::GenericSpec &);
2250 [&](const Indirection<parser::GenericSpec> &generic) { in Pre()
2523 bool InterfaceVisitor::Pre(const parser::GenericSpec &x) { in Pre()
4129 const auto &genericSpec{std::get<Indirection<parser::GenericSpec>>(x.t)}; in Pre()
5956 [=](const Indirection<parser::GenericSpec> &y) { in Pre()
6038 CreateGeneric(std::get<parser::GenericSpec>(y.statement.value().t)); in PreSpecificationConstruct()
6043 if (const auto *spec{parser::Unwrap<parser::GenericSpec>(stmt)}) { in PreSpecificationConstruct()
6072 void ResolveNamesVisitor::CreateGeneric(const parser::GenericSpec &x) { in CreateGeneric()
Dresolve-labels.cpp389 std::get_if<std::optional<parser::GenericSpec>>( in Post()
/external/llvm-project/flang/include/flang/Parser/
Ddump-parse-tree.h330 NODE(parser, GenericSpec) in NODE()
331 NODE(GenericSpec, Assignment) in NODE()
332 NODE(GenericSpec, ReadFormatted) in NODE()
333 NODE(GenericSpec, ReadUnformatted) in NODE()
334 NODE(GenericSpec, WriteFormatted) in NODE()
335 NODE(GenericSpec, WriteUnformatted) in NODE()
Dparse-tree.h238 struct GenericSpec; // R1508
1111 std::tuple<std::optional<AccessSpec>, common::Indirection<GenericSpec>,
1353 std::variant<Name, common::Indirection<GenericSpec>> u;
2925 struct GenericSpec { struct
2926 UNION_CLASS_BOILERPLATE(GenericSpec);
2942 std::tuple<std::optional<AccessSpec>, GenericSpec, std::list<Name>> t; argument
2951 std::variant<std::optional<GenericSpec>, Abstract> u;
2958 std::variant<common::Indirection<GenericSpec>, Name, Rename> u;
3092 WRAPPER_CLASS(EndInterfaceStmt, std::optional<GenericSpec>);