Class: Rsec::SeqOne
- Inherits:
-
Struct
- Object
- Struct
- Rsec::SeqOne
- Includes:
- Parser
- Defined in:
- lib/rsec/parsers/seq.rb
Overview
sequence combinator<br/> the result is the result of the parser at idx
Instance Attribute Summary collapse
-
#idx ⇒ Object
Returns the value of attribute idx.
-
#parsers ⇒ Object
Returns the value of attribute parsers.
Attributes included from Parser
Instance Method Summary collapse
Methods included from Parser
#&, #*, #<<, #>>, #^, #cached, #eof, #fail, #inspect, #join, #map, #maybe, #parse, #parse!, #star, #|
Instance Attribute Details
#idx ⇒ Object
Returns the value of attribute idx
17 18 19 |
# File 'lib/rsec/parsers/seq.rb', line 17 def idx @idx end |
#parsers ⇒ Object
Returns the value of attribute parsers
17 18 19 |
# File 'lib/rsec/parsers/seq.rb', line 17 def parsers @parsers end |