Home
last modified time | relevance | path

Searched refs:DeclarationTypeSpec (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/flang/lib/Parser/
H A DFortran-parsers.cpp174 construct<DeclarationTypeSpec>(intrinsicTypeSpec) ||
176 (parenthesized(construct<DeclarationTypeSpec>(
178 parenthesized(construct<DeclarationTypeSpec>(
180 construct<DeclarationTypeSpec>(
182 "CLASS" >> parenthesized(construct<DeclarationTypeSpec>(
183 construct<DeclarationTypeSpec::Class>(
185 construct<DeclarationTypeSpec>("*" >>
186 construct<DeclarationTypeSpec::ClassStar>())) ||
189 construct<DeclarationTypeSpec>(
193 construct<DeclarationTypeSpec::Record>(
[all …]
H A Dunparse.cpp141 void Unparse(const DeclarationTypeSpec::Type &x) { // R703 in Unparse()
144 void Unparse(const DeclarationTypeSpec::Class &x) { in Unparse()
147 void Post(const DeclarationTypeSpec::ClassStar &) { Word("CLASS(*)"); } in Post()
148 void Post(const DeclarationTypeSpec::TypeStar &) { Word("TYPE(*)"); } in Post()
149 void Unparse(const DeclarationTypeSpec::Record &x) { in Unparse()
266 const auto &dts{std::get<DeclarationTypeSpec>(x.t)}; in Unparse()
271 (!std::holds_alternative<DeclarationTypeSpec::Record>(dts.u) && in Unparse()
437 const auto &dts{std::get<DeclarationTypeSpec>(x.t)}; in Unparse()
457 bool isRecord{std::holds_alternative<DeclarationTypeSpec::Record>(dts.u)}; in Unparse()
697 Walk(std::get<DeclarationTypeSpec>(x.t)); in Unparse()
[all …]
H A Dtype-parsers.h56 constexpr Parser<DeclarationTypeSpec> declarationTypeSpec; // R703
H A Dopenmp-parsers.cpp417 nonemptyList(Parser<DeclarationTypeSpec>{}) / ":",
/llvm-project-15.0.7/flang/include/flang/Parser/
H A Ddump-parse-tree.h231 NODE(parser, DeclarationTypeSpec) in NODE()
232 NODE(DeclarationTypeSpec, Class) in NODE()
233 NODE(DeclarationTypeSpec, ClassStar) in NODE()
234 NODE(DeclarationTypeSpec, Record) in NODE()
235 NODE(DeclarationTypeSpec, Type) in NODE()
236 NODE(DeclarationTypeSpec, TypeStar) in NODE()
H A Dparse-tree-visitor.h366 void Walk(const DeclarationTypeSpec::Class &x, V &visitor) { in Walk()
372 template <typename M> void Walk(DeclarationTypeSpec::Class &x, M &mutator) { in Walk()
379 void Walk(const DeclarationTypeSpec::Type &x, V &visitor) { in Walk()
385 template <typename M> void Walk(DeclarationTypeSpec::Type &x, M &mutator) { in Walk()
H A Dparse-tree.h734 struct DeclarationTypeSpec { struct
735 UNION_CLASS_BOILERPLATE(DeclarationTypeSpec);
1020 std::tuple<DeclarationTypeSpec, std::list<ComponentAttrSpec>,
1045 std::variant<Name, DeclarationTypeSpec> u;
1355 std::tuple<DeclarationTypeSpec, std::list<AttrSpec>, std::list<EntityDecl>> t;
1549 std::tuple<DeclarationTypeSpec, std::list<LetterSpec>> t;
3028 std::variant<DeclarationTypeSpec, Elemental, Impure, Module, Non_Recursive,
3596 std::tuple<Verbatim, OmpReductionOperator, std::list<DeclarationTypeSpec>,
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dresolve-names.cpp319 void Post(const parser::DeclarationTypeSpec::ClassStar &);
320 void Post(const parser::DeclarationTypeSpec::TypeStar &);
470 const parser::DeclarationTypeSpec *parsedType{nullptr};
906 bool Pre(const parser::DeclarationTypeSpec::Type &);
907 void Post(const parser::DeclarationTypeSpec::Type &);
908 bool Pre(const parser::DeclarationTypeSpec::Class &);
909 void Post(const parser::DeclarationTypeSpec::Class &);
910 void Post(const parser::DeclarationTypeSpec::Record &);
4366 bool DeclarationVisitor::Pre(const parser::DeclarationTypeSpec::Type &) { in Pre()
4384 const parser::DeclarationTypeSpec::Class &parsedClass) { in Post()
[all …]