Class: Rley::GFG::EpsilonEdge
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
-
#successor ⇒ Object
readonly
The destination vertex of the edge .
Instance Method Summary collapse
-
#initialize(thePredecessor, theSuccessor) ⇒ EpsilonEdge
constructor
A new instance of EpsilonEdge.
Methods inherited from Edge
Constructor Details
#initialize(thePredecessor, theSuccessor) ⇒ EpsilonEdge
Returns a new instance of EpsilonEdge.
13 14 15 |
# File 'lib/rley/gfg/epsilon_edge.rb', line 13 def initialize(thePredecessor, theSuccessor) super(thePredecessor, theSuccessor) end |
Instance Attribute Details
#successor ⇒ Object (readonly)
The destination vertex of the edge .
11 12 13 |
# File 'lib/rley/gfg/epsilon_edge.rb', line 11 def successor @successor end |