struct CLTK::Parser::Accept

Overview

The Accept class indicates to the parser that it should accept the current parse tree.

Defined in:

cltk/parser/actions.cr

Constructors

Instance Method Summary

Instance methods inherited from struct CLTK::Parser::Action

id : Int32 id

Constructor methods inherited from struct CLTK::Parser::Action

new(id : Int32) new

Instance methods inherited from class Object

in?(collection : Array | Set) in?

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]