Class: Maccro::DSL::AnyNode
Instance Attribute Summary
Attributes inherited from Node
#first_column, #first_lineno, #last_column, #last_lineno, #name
Instance Method Summary collapse
Methods inherited from Node
#children, #initialize, #to_code_range, #type
Methods included from ASTNodeWrapper
Constructor Details
This class inherits a constructor from Maccro::DSL::Node
Instance Method Details
#capture(ast, placeholders) ⇒ Object
84 85 86 |
# File 'lib/maccro/dsl/node.rb', line 84 def capture(ast, placeholders) placeholders[:__target__] = ast end |
#match?(node) ⇒ Boolean
80 81 82 |
# File 'lib/maccro/dsl/node.rb', line 80 def match?(node) true end |