Sha256: e6852811514b71676bd27dd971a1b2b5ff7b5d73167178c894ccbb5d56c8dbf6
Contents?: true
Size: 635 Bytes
Versions: 28
Compression:
Stored size: 635 Bytes
Contents
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 StartVertex < NonTerminalVertex def initialize(aNonTerminal) super(aNonTerminal) end def label() return ".#{non_terminal}" end end # class end # module end # module # End of file
Version data entries
28 entries across 28 versions & 1 rubygems