class Bindgen::Parser::Document

Overview

Document as returned by the clang tool.

Included Modules

Defined in:

bindgen/parser/document.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(enums : Hash(String, Bindgen::Parser::Enum) = Enum::Collection.new, classes : Hash(String, Bindgen::Parser::Class) = Class::Collection.new, macros : Array(Bindgen::Parser::Macro) = Macro::Collection.new, functions : Array(Bindgen::Parser::Method) = Method::Collection.new) #

For testing purposes.


[View source]

Instance Method Detail

def classes : Class::Collection #

[View source]
def enums : Enum::Collection #

[View source]
def functions : Method::Collection #

[View source]
def macros : Macro::Collection #

[View source]