class WinMD::Include

Defined in:

winmd/template/include.cr

Constant Summary

EXTERNAL_REFS_FILENAME = "external_refs.cr"

Filename of the single consolidated file that holds placeholder aliases for foreign (non-Windows.Win32) namespaces. Lives at the lib root.

Constructors

Instance Method Summary

Constructor Detail

def self.new(api : String, file : WinMD::File) #

api will be a string like "System.Com" tfile is the current TFile being processed.


[View source]

Instance Method Detail

def ==(other : String) #

[View source]
def ==(other : Include) #

[View source]
def api : String #

[View source]
def file : WinMD::File #

[View source]
def filename : String #

[View source]
def foreign? #

True if the included api lives outside the projected Win32 namespace tree. The importer remaps foreign WinRT namespaces (Windows.Foundation etc.) onto a WinRT.* prefix, so api refs that survived projection with that marker are the ones to consolidate.


[View source]
def path : String #

[View source]
def qualified_path #

[View source]
def render #

[View source]
def resolve_path #

[View source]
def same_file : Bool #

[View source]