class

Bindgen::Processor::InstantiateContainers

Inherits Bindgen::Processor::Base < Bindgen::Graph::Visitor < Reference < Object

Generates a class for each to-be instantiated container type. This processor must be run before any processor that generates platform specific Calls, like Crystal or Cpp.

Constants

ASSOCIATIVE_MODULE = "BindgenHelper::AssociativeContainer"

Module for associative containers

CPP_INTEGER_TYPE = "int"

Name of the "standard" built-in integer C++ type. Required for the generated #size method, and #unsafe_at of sequential containers.

Log = ::Log.for(self)

Generates a class for each to-be instantiated container type. This processor must be run before any processor that generates platform specific Calls, like Crystal or Cpp.

OPTIONAL_MODULE = "BindgenHelper::OptionalContainer"

Module for optionals

PAIR_MODULE = "BindgenHelper::PairContainer"

Module for pairs

SEQUENTIAL_MODULE = "BindgenHelper::SequentialContainer"

Module for sequential containers

SET_MODULE = "BindgenHelper::SetContainer"

Module for sets

Instance methods

process(graph : Graph::Node, doc : Parser::Document)
Source