Class: Twostroke::AST::Regexp
Instance Attribute Summary collapse
-
#regexp ⇒ Object
Returns the value of attribute regexp.
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Twostroke::AST::Base
Instance Attribute Details
#regexp ⇒ Object
Returns the value of attribute regexp.
3 4 5 |
# File 'lib/twostroke/ast/regexp.rb', line 3 def regexp @regexp end |
Instance Method Details
#collapse ⇒ Object
5 6 7 |
# File 'lib/twostroke/ast/regexp.rb', line 5 def collapse self end |
#walk {|_self| ... } ⇒ Object
9 10 11 |
# File 'lib/twostroke/ast/regexp.rb', line 9 def walk(&bk) yield self end |