abstract class Bindgen::Processor::Base
- Bindgen::Processor::Base
- Reference
- Object
Overview
Base-class for all processors.
The processor Runner
will instantiate all processors first, then call
#process
in order as configured.
All processors are automatically made available as their
String#underscore
d name through in the processors
configuration.
If your processor only requires to act on specific graph nodes, you can
simply override the corresponding #visit_X
method. See FilterMethods
for an example of this.
Included Modules
Direct Known Subclasses
- Bindgen::Processor::AutoContainerInstantiation
- Bindgen::Processor::BlockOverloads
- Bindgen::Processor::CopyStructs
- Bindgen::Processor::CppWrapper
- Bindgen::Processor::CrystalBinding
- Bindgen::Processor::CrystalWrapper
- Bindgen::Processor::DefaultConstructor
- Bindgen::Processor::DumpGraph
- Bindgen::Processor::Enums
- Bindgen::Processor::ExternC
- Bindgen::Processor::FilterMethods
- Bindgen::Processor::FunctionClass
- Bindgen::Processor::Functions
- Bindgen::Processor::Inheritance
- Bindgen::Processor::InstanceProperties
- Bindgen::Processor::InstantiateContainers
- Bindgen::Processor::Macros
- Bindgen::Processor::Operators
- Bindgen::Processor::Qt
- Bindgen::Processor::SanityCheck
- Bindgen::Processor::VirtualOverride
Defined in:
bindgen/processor/base.crConstructors
Instance Method Summary
-
#process(graph : Graph::Container, doc : Parser::Document)
Runs the processor.
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
Instance Method Detail
Runs the processor. You may change graph as you see fit.