class Bindgen::Parser::Field
- Bindgen::Parser::Field
- Bindgen::Parser::Type
- Reference
- Object
Overview
A C++ struct/class field.
Defined in:
bindgen/parser/field.crConstructors
Instance Method Summary
- #access : AccessSpecifier
- #access=(_access : AccessSpecifier)
- #baseName : String
- #baseName=(_baseName : String)
-
#bit_field : Int32
Returns the bit-size of this bitfield.
-
#bit_field? : Int32 | Nil
Returns the size of this bitfield, if it is a bitfield.
- #bitField : Union(Int32, Nil)
- #bitField=(_bitField : Union(Int32, Nil))
-
#crystal_name : String
Suitable name for Crystal code
- #fullName : String
- #fullName=(_fullName : String)
- #isBuiltin : Bool
- #isBuiltin=(_isBuiltin : Bool)
- #isConst : Bool
- #isConst=(_isConst : Bool)
- #isMove : Bool
- #isMove=(_isMove : Bool)
- #isReference : Bool
- #isReference=(_isReference : Bool)
- #isVoid : Bool
- #isVoid=(_isVoid : Bool)
- #kind : Kind
- #kind=(_kind : Kind)
- #name : String
- #name=(_name : String)
- #nilable : Bool
- #nilable=(_nilable : Bool)
- #pointer : Int32
- #pointer=(_pointer : Int32)
- #private?(*args, **options)
- #private?(*args, **options, &)
- #protected?(*args, **options)
- #protected?(*args, **options, &)
- #public?(*args, **options)
- #public?(*args, **options, &)
- #template : Template | Nil
- #template=(_template : Template | Nil)
- #to_json(json : JSON::Builder)
Instance methods inherited from class Bindgen::Parser::Type
==(other : self)
==,
base_name : String
base_name,
baseName : String
baseName,
baseName=(_baseName : String)
baseName=,
builtin? : Bool
builtin?,
const? : Bool
const?,
decayed : Type | Nil
decayed,
equals_except_nil?(other : Type)
equals_except_nil?,
full_name : String
full_name,
fullName : String
fullName,
fullName=(_fullName : String)
fullName=,
hash(hasher)
hash,
isBuiltin : Bool
isBuiltin,
isBuiltin=(_isBuiltin : Bool)
isBuiltin=,
isConst : Bool
isConst,
isConst=(_isConst : Bool)
isConst=,
isMove : Bool
isMove,
isMove=(_isMove : Bool)
isMove=,
isReference : Bool
isReference,
isReference=(_isReference : Bool)
isReference=,
isVoid : Bool
isVoid,
isVoid=(_isVoid : Bool)
isVoid=,
kind : Kind
kind,
kind=(_kind : Kind)
kind=,
mangled_name
mangled_name,
move? : Bool
move?,
nilable : Bool
nilable,
nilable=(_nilable : Bool)
nilable=,
nilable? : Bool
nilable?,
pointer : Int32
pointer,
pointer=(_pointer : Int32)
pointer=,
pure_void?
pure_void?,
reference? : Bool
reference?,
template : Template | Nil
template,
template=(_template : Template | Nil)
template=,
to_json(json : JSON::Builder)
to_json,
void? : Bool
void?
Constructor methods inherited from class Bindgen::Parser::Type
new(baseName : String, fullName : String, isConst : Bool, isReference : Bool, pointer : Int32, isMove : Bool = false, isBuiltin : Bool = false, isVoid : Bool = false, kind : Bindgen::Parser::Type::Kind = Kind::Class, template : Template | Nil = nil, nilable : Bool = false)new(__temp_44 : JSON::PullParser) new