class Maccro::DSL::AnyNode

Public Instance Methods

capture(ast, placeholders) click to toggle source
# File lib/maccro/dsl/node.rb, line 84
def capture(ast, placeholders)
  placeholders[:__target__] = ast
end
match?(node) click to toggle source
# File lib/maccro/dsl/node.rb, line 80
def match?(node)
  true
end