Lines Matching defs:Scope
74 func ParseAndEval(filename string, r io.Reader, scope *Scope) (file *File, errs []error) {
805 type Scope struct { struct
806 vars map[string]*Assignment
807 preventInheriting map[string]bool
808 parentScope *Scope
811 func NewScope(s *Scope) *Scope {
819 func (s *Scope) HandleAssignment(assignment *Assignment) error {
857 func (s *Scope) Get(name string) *Assignment {
870 func (s *Scope) GetLocal(name string) *Assignment {
882 func (s *Scope) DontInherit(name string) {
886 func (s *Scope) String() string {
892 func (s *Scope) stringInner(sb *strings.Builder) {