Sha256: cf1241545c8a9083f451d3704d904d4e2145254d68f2d021af256c922210f569

Contents?: true

Size: 573 Bytes

Versions: 11

Compression:

Stored size: 573 Bytes

Contents

# frozen_string_literal: true

require_relative 'non_terminal_vertex'

module Rley # This module is used as a namespace
  module GFG # This module is used as a namespace
    # TODO: change definition.
    # Represents a specialized vertex in a grammar flow graph
    # that is associated to a given non-terminal symbol.
    # Responsibilities (in addition to inherited ones):
    # - Know its related non-terminal symbol
    class EndVertex < NonTerminalVertex
      def label
        "#{non_terminal}."
      end
    end # class
  end # module
end # module

# End of file

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rley-0.8.11 lib/rley/gfg/end_vertex.rb
rley-0.8.10 lib/rley/gfg/end_vertex.rb
rley-0.8.09 lib/rley/gfg/end_vertex.rb
rley-0.8.08 lib/rley/gfg/end_vertex.rb
rley-0.8.06 lib/rley/gfg/end_vertex.rb
rley-0.8.05 lib/rley/gfg/end_vertex.rb
rley-0.8.03 lib/rley/gfg/end_vertex.rb
rley-0.8.02 lib/rley/gfg/end_vertex.rb
rley-0.8.01 lib/rley/gfg/end_vertex.rb
rley-0.8.00 lib/rley/gfg/end_vertex.rb
rley-0.7.08 lib/rley/gfg/end_vertex.rb