Bindgen::Generator::CrystalLib
Inherits Bindgen::Graph::Visitor < Bindgen::Generator::Base < Reference < Object
Generator for Crystal lib. Automatically invoked by Crystal.
Constants
PLATFORM = Graph::Platform::CrystalBinding
Instance methods
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.
write(node : Graph::Container)
Writes the node to the output file(s). Make sure to call
#begin_section before writing any data.