IBabelPackage Interface
Provides access to the package from within a Babel language service, specifically for loading and parsing a file.
IBabelPackage : IDispatch
Methods in Vtable Order
The following table shows the methods of this interface.
Method |
Description |
---|---|
Returns the IScope Interface object for a file given a file name and project. |
Remarks
This interface is used to provide global access to generating a scope for the specified file name.
Notes for Implementers
This interface is implemented on the Babel Package VSPackage class along with the IVsPackage interface.
Notes for Callers
Call this interface to have the Babel Package load the scope for a particular file (a scope is the result of parsing a file). A pointer to this interface is obtained by calling the IParseSink::GetPackage Method method. This interface can also be obtained by calling the QueryService method on the service provider with the service ID of the Babel package service (SID_IBabelPackage) and the interface ID of the IBabelPackage interface (IID_IBabelPackage); this is what the IParseSink::GetPackage method does.
Requirements
Header: BabelService.idl