| 729 | } |
| 730 | |
| 731 | bool BE_GlobalData::is_default_nested(UTL_Scope* scope) |
| 732 | { |
| 733 | AST_Decl* module = dynamic_cast<AST_Decl*>(scope); |
| 734 | DefaultNestedAnnotation* default_nested = builtin_annotations_.get<DefaultNestedAnnotation>(); |
| 735 | if (module) { |
| 736 | bool value; |
| 737 | if (default_nested->node_value_exists(module, value)) { |
| 738 | return value; |
| 739 | } |
| 740 | |
| 741 | return is_default_nested(module->defined_in()); |
| 742 | } |
| 743 | |
| 744 | return root_default_nested_; |
| 745 | } |
| 746 | |
| 747 | bool BE_GlobalData::check_key(AST_Decl* node, bool& value) const |
| 748 | { |
nothing calls this directly
no test coverage detected