func (e *GoModError) Position() ast.Position {
	return e.pos
}
Position returns the position of error in the go.mod file.
package compiler
import (
	"fmt"
	"io"
	"io/fs"
	"reflect"
	"unicode"
	"unicode/utf8"
	"github.com/open2b/scriggo/ast"
	"github.com/open2b/scriggo/internal/runtime"
	"github.com/open2b/scriggo/native"
)
var formatTypeName = [...]string{"string", "html", "css", "js", "json", "markdown"}
const (
	internalOperatorZero = ast.OperatorExtendedNot + iota + 1
	internalOperatorNotZero
)
type Error interface {
	error
	Position() ast.Position
	Path() string
	Message() string
}
type Options struct {
	AllowGoStmt          bool
	NoParseShortShowStmt bool
	DollarIdentifier bool
	FormatTypes map[ast.Format]reflect.Type
	Globals     native.Declarations
	Importer native.Importer
	MDConverter Converter
	TreeTransformer func(*ast.Tree) error
}
type GoModError struct {
	path string
	pos  ast.Position
	msg  string
}
func (e *GoModError) Error() string {
	return fmt.Sprintf("%s:%s: %s", e.path, e.pos, e.msg)
}
func (e *GoModError) Message() string {
	return e.msg
}
func (e *GoModError) Path() string {
	return e.path
}