Sha256: 0c9331a70f1f3239059867b4d6eea30b6ca9e99c957b9545012ed21a63524dd8

Contents?: true

Size: 296 Bytes

Versions: 7

Compression:

Stored size: 296 Bytes

Contents

module Stamina
  class RegLang
    module Sequence
      include Node

      def to_fa!(fa)
        f1, t1 = self.head.to_fa!(fa)
        f2, t2 = self.tail.to_fa!(fa)
        fa.connect(t1, f2, nil)
        [f1, t2]
      end

    end # module Sequence
  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/sequence.rb
stamina-induction-0.6.0 lib/stamina-induction/stamina/reg_lang/parser/sequence.rb
stamina-induction-0.5.4 lib/stamina-induction/stamina/reg_lang/parser/sequence.rb
stamina-induction-0.5.3 lib/stamina-induction/stamina/reg_lang/parser/sequence.rb
stamina-induction-0.5.2 lib/stamina-induction/stamina/reg_lang/parser/sequence.rb
stamina-induction-0.5.1 lib/stamina-induction/stamina/reg_lang/parser/sequence.rb
stamina-induction-0.5.0 lib/stamina-induction/stamina/reg_lang/parser/sequence.rb