class Bindgen::TypeDatabase::InstanceVariableConfig

Overview

Configuration of instance variables.

Included Modules

Defined in:

bindgen/type_database.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(*, rename : Nil | String = nil, ignore : Bool = false, nilable = false) #

[View source]

Instance Method Detail

def ignore : Bool #

Ignore the property methods for this data member.


[View source]
def ignore=(ignore : Bool) #

Ignore the property methods for this data member.


[View source]
def nilable : Bool #

Whether the null pointer can be assigned to this data member.


[View source]
def nilable=(nilable : Bool) #

Whether the null pointer can be assigned to this data member.


[View source]
def rename : String | Nil #

Rename the property methods. Supports regex backreferences.


[View source]
def rename=(rename : String | Nil) #

Rename the property methods. Supports regex backreferences.


[View source]