Sha256: 106057244a8bfa27aa5b444d1ba99a0bbda17bcd5904059d7331f1438c3f6794

Contents?: true

Size: 299 Bytes

Versions: 7

Compression:

Stored size: 299 Bytes

Contents

module Stamina
  class RegLang
    module Symbol
      include Node

      def to_fa!(fa)
        from, to = fa.add_n_states(2, :initial => false, :accepting => false)
        fa.connect(from, to, to_s)
        [from, to]
      end

    end # module Symbol
  end # class RegLang
end # module Stamina

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
stamina-induction-0.6.1 lib/stamina-induction/stamina/reg_lang/parser/symbol.rb
stamina-induction-0.6.0 lib/stamina-induction/stamina/reg_lang/parser/symbol.rb
stamina-induction-0.5.4 lib/stamina-induction/stamina/reg_lang/parser/symbol.rb
stamina-induction-0.5.3 lib/stamina-induction/stamina/reg_lang/parser/symbol.rb
stamina-induction-0.5.2 lib/stamina-induction/stamina/reg_lang/parser/symbol.rb
stamina-induction-0.5.1 lib/stamina-induction/stamina/reg_lang/parser/symbol.rb
stamina-induction-0.5.0 lib/stamina-induction/stamina/reg_lang/parser/symbol.rb