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: resourceparser.go
    path of file: ./repos/encore/v2/parser/resource/resourceparser
    
    the code of the file until where you have to start completion: package resourceparser

import (
	"go/ast"

	"encr.dev/pkg/option"
	"encr.dev/pkg/paths"
	"encr.dev/v2/internals/parsectx"
	"encr.dev/v2/internals/pkginfo"
	"encr.dev/v2/internals/schema"
	"encr.dev/v2/parser/resource"
)

type Parser struct {
	Name string

	// InterestingImports are the imports paths that the parser is interested in.
	// If a package impor
    
func (p *Pass) AddPathBind(file *pkginfo.File, boundName option.Option[*ast.Ident], path resource.Path) {
	if len(path) == 0 {
		panic("AddPathBind: empty path")
	}

	if id, ok := boundName.Get(); !ok || id.Name == "_" {
		p.binds = append(p.binds, &resource.AnonymousBind{
			Resource: resource.ResourceOrPath{Path: path},
			File:     file,
		})
	} else {
		p.binds = append(p.binds, &resource.PkgDeclBind{
			Resource:  resource.ResourceOrPath{Path: path},
			File:      file,
			BoundName: id,
		})
	}
}