class Bindgen::Processor::CrystalBinding
- Bindgen::Processor::CrystalBinding
- Bindgen::Processor::Base
- Reference
- Object
Overview
Processor to write lib
bindings to the functions created by the
CppWrapper
processor.
Defined in:
bindgen/processor/crystal_binding.crConstant Summary
-
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 aVoid
result.
Constructors
Class Method Summary
-
.logger
Processor to write
lib
bindings to the functions created by theCppWrapper
processor.
Instance Method Summary
-
#logger
Processor to write
lib
bindings to the functions created by theCppWrapper
processor. -
#process(graph : Graph::Container, _doc : Parser::Document)
Runs the processor.
-
#visit_class(klass)
Visits a
Graph::Class
. -
#visit_library(library)
Visits a
Graph::Library
. -
#visit_method(method)
Visits a
Graph::Method
. -
#visit_platform_specific(specific)
Visits a
Graph::PlatformSpecific
.
Instance methods inherited from class Bindgen::Processor::Base
process(graph : Graph::Container, doc : Parser::Document)
process
Constructor methods inherited from class Bindgen::Processor::Base
new(config : Configuration, db : TypeDatabase)
new
Instance methods inherited from module Bindgen::Graph::Visitor
visit_alias(alias_name)
visit_alias,
visit_children(container : Container)
visit_children,
visit_class(klass)
visit_class,
visit_constant(constant)
visit_constant,
visit_enum(enumeration)
visit_enum,
visit_library(library)
visit_library,
visit_method(method)
visit_method,
visit_namespace(ns)
visit_namespace,
visit_node(node : Node)
visit_node,
visit_node?(node : Node)
visit_node?,
visit_platform_specific(specific)
visit_platform_specific,
visit_struct(structure)
visit_struct,
visit_union(structure)
visit_union
Constructor Detail
Class Method Detail
Processor to write lib
bindings to the functions created by the
CppWrapper
processor.
Instance Method Detail
Runs the processor. You may change graph as you see fit.
Visits a Graph::Class
. The default implementation calls
#visit_children
to visit all child nodes.
Visits a Graph::Library
. The default implementation calls
#visit_children
to visit all child nodes.
Visits a Graph::Method
.
Visits a Graph::PlatformSpecific
.