func (r *Resolver) define(name token.Token) {
	if len(r.scopes) == 0 {
		return
	}
	r.scopes[len(r.scopes)-1][name.StringValue].resolved = true
	r.scopes[len(r.scopes)-1][name.StringValue].tkns = append(r.scopes[len(r.scopes)-1][name.StringValue].tkns, name)
}
// define marks the name in the innermost scope as fully initialised and ready for
// use
define marks the name in the innermost scope as fully initialised and ready for
use
// define marks the name in the innermost scope as fully initialised and ready for // use
func (r *Resolver) define(name token.Token) {
	if len(r.scopes) == 0 {
		return
	}
	r.scopes[len(r.scopes)-1][name.StringValue].resolved = true
	r.scopes[len(r.scopes)-1][name.StringValue].tkns = append(r.scopes[len(r.scopes)-1][name.StringValue].tkns, name)
}
func ( r * Resolver ) define ( name token . Token ) { if len ( r . scopes ) == 0 { return } r . scopes [ len ( r . scopes ) - 1 ] [ name . StringValue ] . resolved = true r . scopes [ len ( r . scopes ) - 1 ] [ name . StringValue ] . tkns = append ( r . scopes [ len ( r . scopes ) - 1 ] [ name . StringValue ] . tkns , name ) }
define marks the name in the innermost scope as fully initialised and ready for
use
define marks the name in the innermost scope as fully initialised and ready for use