Class: Poetics::Parser::LeftRecursive

Inherits:
Object
  • Object
show all
Defined in:
lib/poetics/parser/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detected = false) ⇒ LeftRecursive

Returns a new instance of LeftRecursive.



199
200
201
# File 'lib/poetics/parser/parser.rb', line 199

def initialize(detected=false)
  @detected = detected
end

Instance Attribute Details

#detectedObject

Returns the value of attribute detected.



203
204
205
# File 'lib/poetics/parser/parser.rb', line 203

def detected
  @detected
end