Lines Matching defs:method

93 /// ObjCMethodDecl - Represents an instance or class method declaration.
96 /// functions leverage C syntax, Objective-C method syntax is modeled after
104 /// Instance method that takes 2 NSView arguments:
107 /// Getter class method:
110 /// A selector represents a unique name for a method. The selector names for
117 // The conventional meaning of this method; an ObjCMethodFamily.
122 /// instance (true) or class (false) method.
126 /// True if this method is the getter or setter for an explicit property.
146 /// \brief Indicates whether this method has a related result type.
153 /// \brief Whether this method overrides any other in the class hierarchy.
155 /// A method is said to override any method in the class's
158 /// A method in an implementation is not considered as overriding the same
159 /// method in the interface or its categories.
162 /// \brief Indicates if the method was a definition but its body was skipped.
165 // Result type of this method.
171 /// \brief Array of ParmVarDecls for the formal parameters of this method
176 /// List of attributes for this method declaration.
179 // The following are only used for method definitions, null otherwise.
284 /// \brief Determine whether this method has a result type that is related
288 /// \brief Note whether this method has a related result type.
291 /// \brief True if this is a method redeclaration in the same interface.
296 /// the location of ';' for a method declaration and the location of '{'
297 /// for a method definition.
361 // This method returns and of the parameters which are part of the selector
367 /// \brief Sets the method's parameters and selector source locations.
368 /// If the method is implicit (not coming from source) \p SelLocs is
398 /// Determines the family of this method.
414 /// \brief Whether this method overrides any other in the class hierarchy.
416 /// A method is said to override any method in the class's
419 /// A method in an implementation is not considered as overriding the same
420 /// method in the interface or its categories.
426 /// An ObjC method is considered to override any method in the class's
430 /// A method in an implementation is not considered as overriding the same
431 /// method in the interface or its categories.
435 /// \brief True if the method was a definition but its body was skipped.
439 /// \brief Returns the property associated with this method's selector.
441 /// Note that even if this particular method is not marked as a property
454 /// \brief Determine whether this method has a body.
457 /// \brief Retrieve the body of this method, if it has one.
465 /// \brief Returns whether this specific method is a definition.
482 /// ObjCContainerDecl - Represents a container for method declarations.
491 // These two locations in the range mark the end of the method container.
539 // Get the local instance/class method declared in this interface.
744 // Get the local instance/class method declared in a category.
1141 // Lookup a method. First, we search locally. If a method isn't
1156 /// \brief Lookup a method in the classes implementation hierarchy.
1460 // Lookup a method. First, we search locally. If a method isn't
1686 void addInstanceMethod(ObjCMethodDecl *method) {
1688 method->setLexicalDeclContext(this);
1689 addDecl(method);
1691 void addClassMethod(ObjCMethodDecl *method) {
1693 method->setLexicalDeclContext(this);
1694 addDecl(method);
1797 /// method definitions are specified. For example:
2027 ObjCMethodDecl *GetterMethodDecl; // Declaration of getter instance method
2028 ObjCMethodDecl *SetterMethodDecl; // Declaration of setter instance method
2106 /// getSetterKind - Return the method used for doing assignment in