class Atomy::Code::Pattern::QuasiQuote::Constructor
Attributes
locals[R]
Public Class Methods
new(mod)
click to toggle source
Calls superclass method
Atomy::Code::Pattern::QuasiQuote::Walker::new
# File lib/atomy/code/pattern/quasi_quote.rb, line 64 def initialize(mod) super() @module = mod end
Public Instance Methods
go(x)
click to toggle source
# File lib/atomy/code/pattern/quasi_quote.rb, line 70 def go(x) x.accept(self) end
unquote(x)
click to toggle source
# File lib/atomy/code/pattern/quasi_quote.rb, line 80 def unquote(x) x.through do |p| @module.pattern(p) end end
visit(x)
click to toggle source
# File lib/atomy/code/pattern/quasi_quote.rb, line 74 def visit(x) x.through do |v| go(v) end end