class Transpec::AST::Builder

Public Instance Methods

n(type, children, source_map) click to toggle source
# File lib/transpec/ast/builder.rb, line 8
def n(type, children, source_map)
  Node.new(type, children, location: source_map)
end
string_value(token) click to toggle source
# File lib/transpec/ast/builder.rb, line 12
def string_value(token)
  value(token)
end