struct CLTK::Parser::Actions::Shift
Overview
The Shift class indicates to the parser that it should shift the current input token.
Defined in:
cltk/parser/actions.crcltk/parser/msgpack.cr
Class Method Summary
Instance Method Summary
- #id : Int32
- #id=(_id : Int32)
- #to_msgpack(packer : MessagePack::Packer)
-
#to_s
@return [String] String representation of this action.
Instance methods inherited from struct CLTK::Parser::Action
id : Int32
id,
to_msgpack(packer : MessagePack::Packer)
to_msgpack
Class methods inherited from struct CLTK::Parser::Action
from_msgpack(pull : MessagePack::Unpacker)
from_msgpack,
new(id : Int32)new(packer : MessagePack::Unpacker) new