def _visit_globaldo(self, node_):
     _scope = globaldo_get_scope(node_)
     if _scope == globaldo_EMPTY_SCOPE_NAME:
         children = []
         scopenode = globaldo_get_scope_child(node_)
         children.append(self._replace_scope_node(scopenode))
         children.append(globaldo_get_argumentlist_child(node_))
         children.append(globaldo_get_roleinstantiationlist_child(node_))
         children.extend(globaldo_get_target_name_children(node_))
         node_ = util.antlr_dupnode_and_replace_children(node_, children)
     return node_
示例#2
0
 def _visit_globaldo(self, node_):
     _scope = globaldo_get_scope(node_)
     if _scope == globaldo_EMPTY_SCOPE_NAME:
         children = []
         scopenode = globaldo_get_scope_child(node_)
         children.append(self._replace_scope_node(scopenode))
         children.append(globaldo_get_argumentlist_child(node_))
         children.append(globaldo_get_roleinstantiationlist_child(node_))
         children.extend(globaldo_get_target_name_children(node_))
         node_ = util.antlr_dupnode_and_replace_children(node_, children)
     return node_
示例#3
0
def get_scope_child(node_):
    return globaldo_get_scope_child(node_)
示例#4
0
def get_scope_child(node_):
    return globaldo_get_scope_child(node_)