class Bindgen::ConfigReader::Loader

Overview

Loader for named files. Used by Parser to get referenced external dependencies. See Parser.loader to install a custom loader.

Defined in:

bindgen/config_reader/loader.cr

Constant Summary

ABSOLUTE_RX = /^(?:[\\\/]|[a-z0-9]+:)/i

Regular expression matching the start of an absolute path

Instance Method Summary

Instance Method Detail

def load(base_file : String, dependency : String) #

Loads the dependency required by base_file. Returns the read data, and the full path to the loaded file.


[View source]