Lines Matching refs:scope
86 func ParseAndEval(filename string, r io.Reader, scope *Scope) (file *File, errs []error) {
87 p := newParser(r, scope)
94 func Parse(filename string, r io.Reader, scope *Scope) (file *File, errs []error) {
95 p := newParser(r, scope)
105 scope *Scope member
110 func newParser(r io.Reader, scope *Scope) *parser {
112 p.scope = scope
223 if p.scope != nil {
225 if old, local := p.scope.Get(assignment.Name); old == nil {
240 err := p.scope.Add(assignment)
479 if assignment, local := p.scope.Get(text); assignment == nil {