Class: Transpec::AST::Builder

Inherits:
Parser::Builders::Default
  • Object
show all
Defined in:
lib/transpec/ast/builder.rb

Instance Method Summary collapse

Instance Method Details

#n(type, children, source_map) ⇒ Object



8
9
10
# File 'lib/transpec/ast/builder.rb', line 8

def n(type, children, source_map)
  Node.new(type, children, location: source_map)
end