Class: Koto::Parser::Builders::Default

Inherits:
Parser::Builders::Default
  • Object
show all
Defined in:
lib/koto/parser/builders/default.rb

Instance Method Summary collapse

Instance Method Details

#n(type, children, location) ⇒ Object



6
7
8
# File 'lib/koto/parser/builders/default.rb', line 6

def n(type, children, location)
  AST::Node.new(type, children, :location => location)
end