class Bindgen::Parser::Document

Overview

Document as returned by the clang tool.

Defined in:

bindgen/parser/document.cr

Constructors

Instance Method Summary

Constructor Detail

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

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 #

def classes=(_classes : Class::Collection) #

def enums : Enum::Collection #

def enums=(_enums : Enum::Collection) #

def functions : Method::Collection #

def functions=(_functions : Method::Collection) #

def macros : Macro::Collection #

def macros=(_macros : Macro::Collection) #

def to_json(json : JSON::Builder) #