class Bindgen::Parser::Document
- Bindgen::Parser::Document
- Reference
- Object
Overview
Document as returned by the clang tool.
Defined in:
bindgen/parser/document.crConstructors
- .new(__temp_147 : JSON::PullParser)
-
.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.
Instance Method Summary
- #classes : Class::Collection
- #classes=(_classes : Class::Collection)
- #enums : Enum::Collection
- #enums=(_enums : Enum::Collection)
- #functions : Method::Collection
- #functions=(_functions : Method::Collection)
- #macros : Macro::Collection
- #macros=(_macros : Macro::Collection)
- #to_json(json : JSON::Builder)
Constructor Detail
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.