Sha256: 73abadd92003d3d0063291b45e4ecf7c860f0a09d9b9556c3cdaa1977bb08b14

Contents?: true

Size: 591 Bytes

Versions: 4

Compression:

Stored size: 591 Bytes

Contents

# frozen_string_literal: true

require_relative 'edge'

module Rley # This module is used as a namespace
  module GFG # This module is used as a namespace
    # Represents an edge in a grammar flow graph
    # without change of the position in the input stream.
    # Responsibilities:
    # - To know the successor vertex
    class EpsilonEdge < Edge
      # The destination vertex of the edge .
      attr_reader :successor

      def initialize(thePredecessor, theSuccessor)
        super(thePredecessor, theSuccessor)
      end
    end # class
  end # module
end # module

# End of file

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rley-0.7.07 lib/rley/gfg/epsilon_edge.rb
rley-0.7.06 lib/rley/gfg/epsilon_edge.rb
rley-0.7.05 lib/rley/gfg/epsilon_edge.rb
rley-0.7.04 lib/rley/gfg/epsilon_edge.rb