Lines Matching refs:ProgramTree
17 static ProgramTree BuildSubprogramTree(const parser::Name &name, const T &x) { in BuildSubprogramTree()
22 ProgramTree node{name, spec, &exec}; in BuildSubprogramTree()
27 [&](const auto &y) { node.AddChild(ProgramTree::Build(y.value())); }, in BuildSubprogramTree()
34 static ProgramTree BuildSubprogramTree( in BuildSubprogramTree()
37 return ProgramTree{name, spec, nullptr}; in BuildSubprogramTree()
41 static ProgramTree BuildModuleTree(const parser::Name &name, const T &x) { in BuildModuleTree()
44 ProgramTree node{name, spec}; in BuildModuleTree()
49 [&](const auto &y) { node.AddChild(ProgramTree::Build(y.value())); }, in BuildModuleTree()
56 ProgramTree ProgramTree::Build(const parser::ProgramUnit &x) { in Build()
60 ProgramTree ProgramTree::Build(const parser::MainProgram &x) { in Build()
70 ProgramTree ProgramTree::Build(const parser::FunctionSubprogram &x) { in Build()
77 ProgramTree ProgramTree::Build(const parser::SubroutineSubprogram &x) { in Build()
84 ProgramTree ProgramTree::Build(const parser::SeparateModuleSubprogram &x) { in Build()
92 ProgramTree ProgramTree::Build(const parser::Module &x) { in Build()
99 ProgramTree ProgramTree::Build(const parser::Submodule &x) { in Build()
106 ProgramTree ProgramTree::Build(const parser::BlockData &x) { in Build()
115 ProgramTree ProgramTree::Build(const parser::CompilerDirective &) { in Build()
119 const parser::ParentIdentifier &ProgramTree::GetParentId() const { in GetParentId()
125 bool ProgramTree::IsModule() const { in IsModule()
130 Symbol::Flag ProgramTree::GetSubpFlag() const { in GetSubpFlag()
135 bool ProgramTree::HasModulePrefix() const { in HasModulePrefix()
158 ProgramTree::Kind ProgramTree::GetKind() const { in GetKind()
186 void ProgramTree::set_scope(Scope &scope) { in set_scope()
192 void ProgramTree::AddChild(ProgramTree &&child) { in AddChild()