Sha256: 20d346308cf3c3e61bfb908c3a0d95daa2e8b823197c74e77793687dcfa19c62
Contents?: true
Size: 342 Bytes
Versions: 1
Compression:
Stored size: 342 Bytes
Contents
# frozen_string_literal: true require 'opal/ast/node' require 'parser/ruby23' module Opal module AST class Builder < ::Parser::Builders::Default def string_value(token) token[0] end def n(type, children, location) ::Opal::AST::Node.new(type, children, location: location) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
opal-0.11.0.rc1 | lib/opal/ast/builder.rb |