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.cr
cltk/parser/msgpack.cr

Class Method Summary

Instance Method Summary

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

Instance methods inherited from class Object

in?(collection : Array | Set) in?

Class Method Detail

def self.new(id : Int32) #

[View source]
def self.new(__temp_76 : MessagePack::Unpacker) #

[View source]

Instance Method Detail

def id : Int32 #

[View source]
def id=(_id : Int32) #

[View source]
def to_msgpack(packer : MessagePack::Packer) #

[View source]
def to_s #

@return [String] String representation of this action.


[View source]