Class: Opal::AST::Builder

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

Instance Method Summary collapse

Instance Method Details

#n(type, children, location) ⇒ Object



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

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