struct Murcure::Protos::ContextActionModify
- Murcure::Protos::ContextActionModify
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
murcure/utils/protos.crConstant Summary
-
FIELDS =
{1 => {name: :action, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :text, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :context, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :operation, pb_type: ContextActionModify::Operation, crystal_type: ContextActionModify::Operation, cast_type: ContextActionModify::Operation?, native: false, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(action : String, text : String | Nil = nil, context : UInt32 | Nil = nil, operation : ContextActionModify::Operation | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #action : String
- #action=(action : String)
- #context : UInt32 | Nil
- #context=(context : UInt32 | Nil)
- #operation : ContextActionModify::Operation | Nil
- #operation=(operation : ContextActionModify::Operation | Nil)
- #text : String | Nil
- #text=(text : String | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(action : String, text : String | Nil = nil, context : UInt32 | Nil = nil, operation : ContextActionModify::Operation | Nil = nil)
#