Lines Matching defs:Scope
70 func ParseAndEval(filename string, r io.Reader, scope *Scope) (file *File, errs []error) {
78 func Parse(filename string, r io.Reader, scope *Scope) (file *File, errs []error) {
94 func newParser(r io.Reader, scope *Scope) *parser {
700 type Scope struct { struct
701 vars map[string]*Assignment
702 inheritedVars map[string]*Assignment
705 func NewScope(s *Scope) *Scope {
723 func (s *Scope) Add(assignment *Assignment) error {
737 func (s *Scope) Remove(name string) {
742 func (s *Scope) Get(name string) (*Assignment, bool) {
754 func (s *Scope) String() string {