Class: Poetics::Parser::LeftRecursive
- Inherits:
-
Object
- Object
- Poetics::Parser::LeftRecursive
- Defined in:
- lib/poetics/parser/parser.rb
Instance Attribute Summary collapse
-
#detected ⇒ Object
Returns the value of attribute detected.
Instance Method Summary collapse
-
#initialize(detected = false) ⇒ LeftRecursive
constructor
A new instance of LeftRecursive.
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
#detected ⇒ Object
Returns the value of attribute detected.
203 204 205 |
# File 'lib/poetics/parser/parser.rb', line 203 def detected @detected end |