1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-12 20:27:30 +08:00
otto/scope.go
Steven Hartland 98effe01d8
chore: update ci versions (#519)
Update go, golangci-lint and action versions.

Address new lint failures flagged by updated golangci-lint version.
2024-04-13 17:05:50 +01:00

21 lines
340 B
Go

package otto
// An ECMA-262 ExecutionContext.
type scope struct {
lexical stasher
variable stasher
this *object
outer *scope
frame frame
depth int
eval bool
}
func newScope(lexical stasher, variable stasher, this *object) *scope {
return &scope{
lexical: lexical,
variable: variable,
this: this,
}
}