- Declared in:
- SCKSourceCollection.h
A source collection encapsulates a group of (potentially cross-referenced) source code files.
Returns an existing class if one was already parsed under the same name in some other files, otherwise returns a new one.
If a new SCKClass object is returned, subsequent uses will return the same instance until -clear is called.
Returns an existing global function if one was already parsed under the same name in some other files, otherwise returns a new one.
If a new SCKFunction object is returned, subsequent uses will return the same instance until -clear is called.
C static functions are available per file through -[SCKClangSourceFile functions].
Returns an existing global variable if one was already parsed under the same name in some other files, otherwise returns a new one.
If a new SCKGlobal object is returned, subsequent uses will return the same instance until -clear is called.
Returns an existing protocol if one was already parsed under the same name in some other files, otherwise returns a new one.
If a new SCKProtocol object is returned, subsequent uses will return the same instance until -clear is called.
Generates a new source file object corresponding to the specified on-disk file. The returned object is not guaranteed to be unique - subsequent calls with the same argument will return the same object.