def add(self, node):
    assert (self.op_type in [None, node.op_type])
    if (self.op_type is None):
        self.op_type = node.op_type
        self.schema = defs.get_schema(self.op_type)
    for attr in node.attribute:
        self.attr_coverages[attr.name].add(attr)
def add(self, node):
    assert (self.op_type in [None, node.op_type])
    if (self.op_type is None):
        self.op_type = node.op_type
        self.schema = defs.get_schema(self.op_type)
    for attr in node.attribute:
        self.attr_coverages[attr.name].add(attr)