Home | History | Annotate | Download | only in scripts

Lines Matching refs:constructors

31 Classes are primarily constructors, which build an IdlDefinitions object
35 * Constructors walk the AST, creating objects.
87 # Constructors don't have their own return type, because it's the
259 self.constructors = []
282 self.constructors, self.custom_constructors = (
298 for constructor in self.constructors:
573 Constructors: value is a list of Arguments nodes, corresponding to
581 # The only complexity is handling various types of constructors:
582 # Constructors and Custom Constructors can have duplicate entries due to
584 # However, Named Constructors cannot be overloaded, and thus do not have
588 constructors = []
608 constructors.append(child)
629 # Store constructors and custom constructors in special list attributes,
631 if constructors:
632 extended_attributes['Constructors'] = constructors
640 """Returns constructors and custom_constructors (lists of IdlOperations).
645 constructor_list = extended_attributes.get('Constructors', [])
646 constructors = [
656 # FIXME: support overloaded named constructors, and make homogeneous
666 constructors.append(named_constructor)
668 return constructors, custom_constructors
673 if 'Constructors' in extended_attributes:
674 del extended_attributes['Constructors']