A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clang.llvm.org/doxygen/classclang_1_1NSAPI.html below:

clang: clang::NSAPI Class Reference

#include "clang/AST/NSAPI.h"

enum   NSClassIdKindKind {
  ClassId_NSObject , ClassId_NSString , ClassId_NSArray , ClassId_NSMutableArray ,
  ClassId_NSDictionary , ClassId_NSMutableDictionary , ClassId_NSNumber , ClassId_NSMutableSet ,
  ClassId_NSMutableOrderedSet , ClassId_NSValue
}   enum   NSStringMethodKind {
  NSStr_stringWithString , NSStr_stringWithUTF8String , NSStr_stringWithCStringEncoding , NSStr_stringWithCString ,
  NSStr_initWithString , NSStr_initWithUTF8String
}   enum   NSArrayMethodKind {
  NSArr_array , NSArr_arrayWithArray , NSArr_arrayWithObject , NSArr_arrayWithObjects ,
  NSArr_arrayWithObjectsCount , NSArr_initWithArray , NSArr_initWithObjects , NSArr_objectAtIndex ,
  NSMutableArr_replaceObjectAtIndex , NSMutableArr_addObject , NSMutableArr_insertObjectAtIndex , NSMutableArr_setObjectAtIndexedSubscript
}   Enumerates the NSArray/NSMutableArray methods used to generate literals and to apply some checks. More...
  enum   NSDictionaryMethodKind {
  NSDict_dictionary , NSDict_dictionaryWithDictionary , NSDict_dictionaryWithObjectForKey , NSDict_dictionaryWithObjectsForKeys ,
  NSDict_dictionaryWithObjectsForKeysCount , NSDict_dictionaryWithObjectsAndKeys , NSDict_initWithDictionary , NSDict_initWithObjectsAndKeys ,
  NSDict_initWithObjectsForKeys , NSDict_objectForKey , NSMutableDict_setObjectForKey , NSMutableDict_setObjectForKeyedSubscript ,
  NSMutableDict_setValueForKey
}   Enumerates the NSDictionary/NSMutableDictionary methods used to generate literals and to apply some checks. More...
  enum   NSSetMethodKind {
  NSMutableSet_addObject , NSOrderedSet_insertObjectAtIndex , NSOrderedSet_setObjectAtIndex , NSOrderedSet_setObjectAtIndexedSubscript ,
  NSOrderedSet_replaceObjectAtIndexWithObject
}   Enumerates the NSMutableSet/NSOrderedSet methods used to apply some checks. More...
  enum   NSNumberLiteralMethodKind {
  NSNumberWithChar , NSNumberWithUnsignedChar , NSNumberWithShort , NSNumberWithUnsignedShort ,
  NSNumberWithInt , NSNumberWithUnsignedInt , NSNumberWithLong , NSNumberWithUnsignedLong ,
  NSNumberWithLongLong , NSNumberWithUnsignedLongLong , NSNumberWithFloat , NSNumberWithDouble ,
  NSNumberWithBool , NSNumberWithInteger , NSNumberWithUnsignedInteger
}   Enumerates the NSNumber methods used to generate literals. More...
 

Definition at line 23 of file NSAPI.h.

◆ NSArrayMethodKind

Enumerates the NSArray/NSMutableArray methods used to generate literals and to apply some checks.

Enumerator NSArr_array  NSArr_arrayWithArray  NSArr_arrayWithObject  NSArr_arrayWithObjects  NSArr_arrayWithObjectsCount  NSArr_initWithArray  NSArr_initWithObjects  NSArr_objectAtIndex  NSMutableArr_replaceObjectAtIndex  NSMutableArr_addObject  NSMutableArr_insertObjectAtIndex  NSMutableArr_setObjectAtIndexedSubscript 

Definition at line 72 of file NSAPI.h.

◆ NSClassIdKindKind Enumerator ClassId_NSObject  ClassId_NSString  ClassId_NSArray  ClassId_NSMutableArray  ClassId_NSDictionary  ClassId_NSMutableDictionary  ClassId_NSNumber  ClassId_NSMutableSet  ClassId_NSMutableOrderedSet  ClassId_NSValue 

Definition at line 29 of file NSAPI.h.

◆ NSDictionaryMethodKind

Enumerates the NSDictionary/NSMutableDictionary methods used to generate literals and to apply some checks.

Enumerator NSDict_dictionary  NSDict_dictionaryWithDictionary  NSDict_dictionaryWithObjectForKey  NSDict_dictionaryWithObjectsForKeys  NSDict_dictionaryWithObjectsForKeysCount  NSDict_dictionaryWithObjectsAndKeys  NSDict_initWithDictionary  NSDict_initWithObjectsAndKeys  NSDict_initWithObjectsForKeys  NSDict_objectForKey  NSMutableDict_setObjectForKey  NSMutableDict_setObjectForKeyedSubscript  NSMutableDict_setValueForKey 

Definition at line 96 of file NSAPI.h.

◆ NSNumberLiteralMethodKind

Enumerates the NSNumber methods used to generate literals.

Enumerator NSNumberWithChar  NSNumberWithUnsignedChar  NSNumberWithShort  NSNumberWithUnsignedShort  NSNumberWithInt  NSNumberWithUnsignedInt  NSNumberWithLong  NSNumberWithUnsignedLong  NSNumberWithLongLong  NSNumberWithUnsignedLongLong  NSNumberWithFloat  NSNumberWithDouble  NSNumberWithBool  NSNumberWithInteger  NSNumberWithUnsignedInteger 

Definition at line 174 of file NSAPI.h.

◆ NSSetMethodKind

Enumerates the NSMutableSet/NSOrderedSet methods used to apply some checks.

Enumerator NSMutableSet_addObject  NSOrderedSet_insertObjectAtIndex  NSOrderedSet_setObjectAtIndex  NSOrderedSet_setObjectAtIndexedSubscript  NSOrderedSet_replaceObjectAtIndexWithObject 

Definition at line 121 of file NSAPI.h.

◆ NSStringMethodKind Enumerator NSStr_stringWithString  NSStr_stringWithUTF8String  NSStr_stringWithCStringEncoding  NSStr_stringWithCString  NSStr_initWithString  NSStr_initWithUTF8String 

Definition at line 43 of file NSAPI.h.

◆ NSAPI() ◆ getASTContext() ASTContext & clang::NSAPI::getASTContext ( ) const inline

Definition at line 27 of file NSAPI.h.

Referenced by doRewriteToUTF8StringBoxedExpressionHelper(), getNSArrayObjects(), clang::edit::rewriteObjCRedundantCallWithLiteral(), rewriteToArrayLiteral(), rewriteToArraySubscriptGet(), rewriteToArraySubscriptSet(), rewriteToDictionaryLiteral(), rewriteToDictionarySubscriptGet(), rewriteToDictionarySubscriptSet(), rewriteToNumberLiteral(), rewriteToNumericBoxedExpression(), clang::edit::rewriteToObjCLiteralSyntax(), clang::edit::rewriteToObjCSubscriptSyntax(), and shouldNotRewriteImmediateMessageArgs().

◆ getInitSelector() Selector clang::NSAPI::getInitSelector ( ) const inline

Definition at line 169 of file NSAPI.h.

◆ getIsEqualSelector() Selector clang::NSAPI::getIsEqualSelector ( ) const inline

Returns selector for "isEqual:".

Definition at line 161 of file NSAPI.h.

◆ getNewSelector() Selector clang::NSAPI::getNewSelector ( ) const inline

Definition at line 165 of file NSAPI.h.

◆ getNSArrayMethodKind() ◆ getNSArraySelector()

The Objective-C NSArray selectors.

Definition at line 77 of file NSAPI.cpp.

References clang::IdentifierTable::get(), clang::SelectorTable::getNullarySelector(), clang::SelectorTable::getSelector(), clang::SelectorTable::getUnarySelector(), clang::ASTContext::Idents, NSArr_array, NSArr_arrayWithArray, NSArr_arrayWithObject, NSArr_arrayWithObjects, NSArr_arrayWithObjectsCount, NSArr_initWithArray, NSArr_initWithObjects, NSArr_objectAtIndex, NSMutableArr_addObject, NSMutableArr_insertObjectAtIndex, NSMutableArr_replaceObjectAtIndex, NSMutableArr_setObjectAtIndexedSubscript, and clang::ASTContext::Selectors.

Referenced by getNSArrayMethodKind(), getNSArrayObjects(), clang::edit::rewriteObjCRedundantCallWithLiteral(), rewriteToArrayLiteral(), and clang::edit::rewriteToObjCSubscriptSyntax().

◆ getNSClassId() ◆ getNSDictionaryMethodKind() ◆ getNSDictionarySelector()

The Objective-C NSDictionary selectors.

Definition at line 148 of file NSAPI.cpp.

References clang::IdentifierTable::get(), clang::SelectorTable::getNullarySelector(), clang::SelectorTable::getSelector(), clang::SelectorTable::getUnarySelector(), clang::ASTContext::Idents, NSDict_dictionary, NSDict_dictionaryWithDictionary, NSDict_dictionaryWithObjectForKey, NSDict_dictionaryWithObjectsAndKeys, NSDict_dictionaryWithObjectsForKeys, NSDict_dictionaryWithObjectsForKeysCount, NSDict_initWithDictionary, NSDict_initWithObjectsAndKeys, NSDict_initWithObjectsForKeys, NSDict_objectForKey, NSMutableDict_setObjectForKey, NSMutableDict_setObjectForKeyedSubscript, NSMutableDict_setValueForKey, and clang::ASTContext::Selectors.

Referenced by getNSDictionaryMethodKind(), clang::edit::rewriteObjCRedundantCallWithLiteral(), rewriteToDictionaryLiteral(), clang::edit::rewriteToObjCSubscriptSyntax(), and shouldNotRewriteImmediateMessageArgs().

◆ GetNSIntegralKind() StringRef NSAPI::GetNSIntegralKind ( QualType  T ) const ◆ getNSNumberFactoryMethodKind()

Determine the appropriate NSNumber factory method kind for a literal of the given type.

Definition at line 349 of file NSAPI.cpp.

References clang::Type::getAs(), clang::BuiltinType::getKind(), isObjCBOOLType(), isObjCNSIntegerType(), isObjCNSUIntegerType(), NSNumberWithBool, NSNumberWithChar, NSNumberWithDouble, NSNumberWithFloat, NSNumberWithInt, NSNumberWithInteger, NSNumberWithLong, NSNumberWithLongLong, NSNumberWithShort, NSNumberWithUnsignedChar, NSNumberWithUnsignedInt, NSNumberWithUnsignedInteger, NSNumberWithUnsignedLong, NSNumberWithUnsignedLongLong, NSNumberWithUnsignedShort, and clang::T.

◆ getNSNumberLiteralMethodKind() ◆ getNSNumberLiteralSelector() ◆ getNSSetMethodKind() ◆ getNSSetSelector() ◆ getNSStringSelector()

The Objective-C NSString selectors.

Definition at line 43 of file NSAPI.cpp.

References clang::IdentifierTable::get(), clang::SelectorTable::getSelector(), clang::SelectorTable::getUnarySelector(), clang::ASTContext::Idents, NSStr_initWithString, NSStr_initWithUTF8String, NSStr_stringWithCString, NSStr_stringWithCStringEncoding, NSStr_stringWithString, NSStr_stringWithUTF8String, and clang::ASTContext::Selectors.

Referenced by clang::edit::rewriteObjCRedundantCallWithLiteral(), and rewriteToStringBoxedExpression().

◆ getObjectAtIndexedSubscriptSelector() Selector clang::NSAPI::getObjectAtIndexedSubscriptSelector ( ) const inline ◆ getObjectForKeyedSubscriptSelector() Selector clang::NSAPI::getObjectForKeyedSubscriptSelector ( ) const inline ◆ getSetObjectAtIndexedSubscriptSelector() Selector clang::NSAPI::getSetObjectAtIndexedSubscriptSelector ( ) const inline ◆ getSetObjectForKeyedSubscriptSelector() Selector clang::NSAPI::getSetObjectForKeyedSubscriptSelector ( ) const inline ◆ isMacroDefined() bool NSAPI::isMacroDefined ( StringRef  Id ) const ◆ isNSASCIIStringEncodingConstant() bool clang::NSAPI::isNSASCIIStringEncodingConstant ( const ExprE ) const inline ◆ isNSNumberLiteralSelector() ◆ isNSUTF8StringEncodingConstant() bool clang::NSAPI::isNSUTF8StringEncodingConstant ( const ExprE ) const inline ◆ isObjCBOOLType() ◆ isObjCNSIntegerType() ◆ isObjCNSUIntegerType() ◆ isSubclassOfNSClass() ◆ NumClassIds const unsigned clang::NSAPI::NumClassIds = 10 static ◆ NumNSArrayMethods const unsigned clang::NSAPI::NumNSArrayMethods = 12 static ◆ NumNSDictionaryMethods const unsigned clang::NSAPI::NumNSDictionaryMethods = 13 static ◆ NumNSNumberLiteralMethods const unsigned clang::NSAPI::NumNSNumberLiteralMethods = 15 static ◆ NumNSSetMethods const unsigned clang::NSAPI::NumNSSetMethods = 5 static ◆ NumNSStringMethods const unsigned clang::NSAPI::NumNSStringMethods = 6 static

Definition at line 51 of file NSAPI.h.

The documentation for this class was generated from the following files:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4