class Journey::NFA::Builder - journey-1.0.4 Documentation

# class Journey::NFA::Builder

### Public Class Methods

new(ast) click to toggle source

    # File lib/journey/nfa/builder.rb, line 63
    def initialize ast
      @ast = ast
    end

### Public Instance Methods

transition_table() click to toggle source

    # File lib/journey/nfa/builder.rb, line 67
    def transition_table
      tt = TransitionTable.new
      Visitor.new(tt).accept @ast
      tt
    end