Class: Rley::GFG::EpsilonEdge

Inherits:
Edge
  • Object
show all
Defined in:
lib/rley/gfg/epsilon_edge.rb

Overview

Represents an edge in a grammar flow graph without change of the position in the input stream. Responsibilities:

  • To know the successor vertex

Instance Attribute Summary collapse

Method Summary

Methods inherited from Edge

#initialize, #inspect, #to_s

Constructor Details

This class inherits a constructor from Rley::GFG::Edge

Instance Attribute Details

#successorObject (readonly)

The destination vertex of the edge.



13
14
15
# File 'lib/rley/gfg/epsilon_edge.rb', line 13

def successor
  @successor
end