abstract struct CLTK::Parser::Action

Overview

The Action class is used to indicate what action the parser should take given a current state and input token.

Direct Known Subclasses

Defined in:

cltk/parser/actions.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

in?(collection : Array | Set) in?

Constructor Detail

def self.new(id : Int32) #

@param [Integer] id ID of this action.


[View source]

Instance Method Detail

def id : Int32 #

@return [Integer] ID of this action.


[View source]