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



11
12
13
# File 'opal/lib/opal/ast/builder.rb', line 11

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