You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: interpreter.go
    path of file: ./repos/marketstore/sqlparser
    
    the code of the file until where you have to start completion: package sqlparser

import (
	"fmt"

	. "github.com/antlr/antlr4/runtime/Go/antlr"

	. "github.com/alpacahq/marketstore/v4/sqlparser/parser"
)

// BuildQueryTree returns the query tree built from the parse tree.
func BuildQueryTree(sourceString string) (tree IMSTree, err error) {
	input := NewInputStream(sourceString)
	lexer := 
    
func BuildQueryTree(sourceString string) (tree IMSTree, err error) {
	input := NewInputStream(sourceString)
	lexer := NewSQLBaseLexer(input)
	lexErr := new(DescriptiveErrorListener)
	lexer.RemoveErrorListeners()
	lexer.AddErrorListener(lexErr)

	tokens := NewCommonTokenStream(lexer, TokenDefaultChannel)
	if lexErr.err != nil {
		fmt.Println(lexErr.err.Error())
		return nil, lexErr.err
	}

	parser := NewSQLBaseParser(tokens)
	parser.BuildParseTrees = true
	parseErr := new(DescriptiveErrorListener)
	parser.AddErrorListener(parseErr)

	// This is how we can print the ANTLR grammar parsed syntax
	//	fmt.Println(ast.statementSource)
	//	fmt.Println(parser.Statements().ToStringTree([]string{"\n"}, parser))

	tree = NewStatementsParse(parser.Statements(), sourceString)

	if parseErr.err != nil {
		fmt.Println(parseErr.err.Error())
		return nil, parseErr.err
	}
	return tree, nil
}