Lines Matching defs:Scope
86 func ParseAndEval(filename string, r io.Reader, scope *Scope) (file *File, errs []error) {
94 func Parse(filename string, r io.Reader, scope *Scope) (file *File, errs []error) {
110 func newParser(r io.Reader, scope *Scope) *parser {
590 type Scope struct { struct
591 vars map[string]*Assignment
592 inheritedVars map[string]*Assignment
595 func NewScope(s *Scope) *Scope {
613 func (s *Scope) Add(assignment *Assignment) error {
627 func (s *Scope) Remove(name string) {
632 func (s *Scope) Get(name string) (*Assignment, bool) {
644 func (s *Scope) String() string {