Lines Matching defs:Scope
87 func ParseAndEval(filename string, r io.Reader, scope *Scope) (file *File, errs []error) {
95 func Parse(filename string, r io.Reader, scope *Scope) (file *File, errs []error) {
120 func newParser(r io.Reader, scope *Scope) *parser {
599 type Scope struct { struct
600 vars map[string]*Assignment
601 inheritedVars map[string]*Assignment
604 func NewScope(s *Scope) *Scope {
622 func (s *Scope) Add(assignment *Assignment) error {
636 func (s *Scope) Remove(name string) {
641 func (s *Scope) Get(name string) (*Assignment, bool) {
653 func (s *Scope) String() string {