Bindgen::Processor::CrystalBinding
Inherits Bindgen::Processor::Base < Bindgen::Graph::Visitor < Reference < Object
Processor to write lib bindings to the functions created by the
CppWrapper processor.
Constants
Log = ::Log.for(self)
Processor to write lib bindings to the functions created by the
CppWrapper processor.
PLATFORM = Graph::Platform::CrystalBinding
VOID_RESULT = Call::Result.new(type: Parser::Type::VOID, type_name: "Void", reference: false, pointer: 0, nilable: false)
A Call::Result pointing to a Void result.
Constructors
new(_config, db)
SourceInstance methods
process(graph : Graph::Container, _doc : Parser::Document)
Runs the processor. You may change graph as you see fit.
visit_class(klass)
Visits a Graph::Class. The default implementation calls
#visit_children to visit all child nodes.
visit_library(library)
Visits a Graph::Library. The default implementation calls
#visit_children to visit all child nodes.