struct Orc::Proto::Type
  
  - Orc::Proto::Type
 - Struct
 - Value
 - Object
 
Included Modules
- Protobuf::Message
 
Defined in:
orc/definition/orc.pb.crConstant Summary
- 
        FIELDS = 
{1 => {name: :kind, pb_type: Type::Kind, crystal_type: Type::Kind, cast_type: Type::Kind?, native: false, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :subtypes, pb_type: :uint32, crystal_type: UInt32, cast_type: Array(UInt32)?, native: true, optional: true, repeated: true, default: nil, packed: true}, 3 => {name: :field_names, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 4 => {name: :maximum_length, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :precision, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :scale, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :attributes, pb_type: StringPair, crystal_type: StringPair, cast_type: Array(StringPair)?, native: false, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode) 
Constructors
- .new(buf : Protobuf::Buffer)
 - .new(kind : Type::Kind | Nil = nil, subtypes : Array(UInt32) | Nil = nil, field_names : Array(String) | Nil = nil, maximum_length : UInt32 | Nil = nil, precision : UInt32 | Nil = nil, scale : UInt32 | Nil = nil, attributes : Array(StringPair) | Nil = nil)
 
Class Method Summary
Instance Method Summary
- #[](key : String)
 - #attributes : Array(StringPair) | Nil
 - #attributes=(attributes : Array(StringPair) | Nil)
 - #field_names : Array(String) | Nil
 - #field_names=(field_names : Array(String) | Nil)
 - #kind : Type::Kind | Nil
 - #kind=(kind : Type::Kind | Nil)
 - #maximum_length : UInt32 | Nil
 - #maximum_length=(maximum_length : UInt32 | Nil)
 - #precision : UInt32 | Nil
 - #precision=(precision : UInt32 | Nil)
 - #scale : UInt32 | Nil
 - #scale=(scale : UInt32 | Nil)
 - #subtypes : Array(UInt32) | Nil
 - #subtypes=(subtypes : Array(UInt32) | Nil)
 - #to_protobuf(io : IO, embedded = false)
 - #to_protobuf
 
Constructor Detail
        
        def self.new(kind : Type::Kind | Nil = nil, subtypes : Array(UInt32) | Nil = nil, field_names : Array(String) | Nil = nil, maximum_length : UInt32 | Nil = nil, precision : UInt32 | Nil = nil, scale : UInt32 | Nil = nil, attributes : Array(StringPair) | Nil = nil)
        #