class Acorn::StaticMachine

Included Modules

Defined in:

acorn/static_machine.cr

Constructors

Instance Method Summary

Macros inherited from module Acorn::TransitionTable::Consume

define_consume_method(table_id, actions_id) define_consume_method

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def accumulator : String #

[View source]
def accumulator=(accumulator : String) #

[View source]
def action(name, pattern, body) #

[View source]
def actions : Array({Symbol, String, String}) #

[View source]
def consume_method : String #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def table #

[View source]
def to_outfile(outfile) #

[View source]
def to_s(__io__ : IO) : Nil #
Description copied from class Reference

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>

[View source]
def token(name, pattern) #

[View source]