class Bindgen::Parser::Document
- Bindgen::Parser::Document
- Reference
- Object
Overview
Document as returned by the clang tool.
Included Modules
- JSON::Serializable
Defined in:
bindgen/parser/document.crConstructors
- .new(pull : 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
- #enums : Enum::Collection
- #functions : Method::Collection
- #macros : Macro::Collection
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.