struct Google::Protobuf::SourceCodeInfo::Location
- Google::Protobuf::SourceCodeInfo::Location
- Struct
- Value
- Object
Included Modules
Defined in:
protobufs/descriptor.pb.crConstant Summary
-
FIELDS =
{1 => {name: :path, pb_type: :int32, crystal_type: Int32, cast_type: Array(Int32)?, native: true, optional: true, repeated: true, default: nil, packed: true}, 2 => {name: :span, pb_type: :int32, crystal_type: Int32, cast_type: Array(Int32)?, native: true, optional: true, repeated: true, default: nil, packed: true}, 3 => {name: :leading_comments, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :trailing_comments, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :leading_detached_comments, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : ::Protobuf::Buffer)
- .new(path : Array(Int32) | Nil = nil, span : Array(Int32) | Nil = nil, leading_comments : String | Nil = nil, trailing_comments : String | Nil = nil, leading_detached_comments : Array(String) | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #leading_comments : String | Nil
- #leading_comments=(leading_comments : String | Nil)
- #leading_detached_comments : Array(String) | Nil
- #leading_detached_comments=(leading_detached_comments : Array(String) | Nil)
- #path : Array(Int32) | Nil
- #path=(path : Array(Int32) | Nil)
- #span : Array(Int32) | Nil
- #span=(span : Array(Int32) | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #trailing_comments : String | Nil
- #trailing_comments=(trailing_comments : String | Nil)
Instance methods inherited from module Protobuf::Message
to_slice : Bytes
to_slice
Constructor Detail
def self.new(path : Array(Int32) | Nil = nil, span : Array(Int32) | Nil = nil, leading_comments : String | Nil = nil, trailing_comments : String | Nil = nil, leading_detached_comments : Array(String) | Nil = nil)
#