class Bindgen::Configuration::Enum
- Bindgen::Configuration::Enum
- Reference
- Object
Overview
Configuration for enum mapping
Included Modules
- YAML::Serializable
Defined in:
bindgen/configuration.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(destination : String, prefix : Bool | String = false, flags : Bindgen::Util::Tribool = Bindgen::Util::Tribool.unset, camelcase : Bool = true)
Instance Method Summary
-
#camelcase : Bool
Camelcase translation
-
#camelcase=(camelcase : Bool)
Camelcase translation
-
#destination : String
Path of the enumeration type in Crystal
-
#destination=(destination : String)
Path of the enumeration type in Crystal
-
#flags : Bindgen::Util::Tribool
Forces a specific
@[Flags]
setting -
#flags=(flags : Bindgen::Util::Tribool)
Forces a specific
@[Flags]
setting - #prefix : String | Bool
- #prefix=(prefix : String | Bool)
Constructor Detail
def self.new(destination : String, prefix : Bool | String = false, flags : Bindgen::Util::Tribool = Bindgen::Util::Tribool.unset, camelcase : Bool = true)
#