class Bindgen::Processor::VirtualOverride
- Bindgen::Processor::VirtualOverride
- Bindgen::Processor::Base
- Reference
- Object
Overview
Allows to override C++ virtual
methods in Crystal sub-classes.
Included Modules
Defined in:
bindgen/processor/virtual_override.crConstant Summary
-
SUPERCLASS_NAME =
"Superclass"
-
Name of the superclass wrapper structs.
Class Method Summary
-
.logger
Allows to override C++
virtual
methods in Crystal sub-classes.
Instance Method Summary
-
#logger
Allows to override C++
virtual
methods in Crystal sub-classes. -
#process(graph : Graph::Container, doc : Parser::Document)
Runs the processor.
- #visit_class(klass : Graph::Class)
-
#visit_library(_structure)
Ignore
lib
s, else the program will keep on looping on the Crystal jumptable structure.
Instance methods inherited from module Bindgen::TypeHelper
passthrough(type : Parser::Type)
passthrough,
reconfigure_pass_type(pass_by, is_ref, ptr)
reconfigure_pass_type,
type_copied?(type) : Bool
type_copied?,
type_pointer_depth(type : Parser::Type) : Int32
type_pointer_depth,
variadic_argument : Call::VariadicArgument
variadic_argument
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
Class Method Detail
Instance Method Detail
Description copied from class Bindgen::Processor::Base
Runs the processor. You may change graph as you see fit.
def visit_library(_structure)
#
Ignore lib
s, else the program will keep on looping on the Crystal
jumptable structure.