Lines Matching defs:Scope
89 func ParseAndEval(filename string, r io.Reader, scope *Scope) (file *File, errs []error) {
97 func Parse(filename string, r io.Reader, scope *Scope) (file *File, errs []error) {
122 func newParser(r io.Reader, scope *Scope) *parser {
915 type Scope struct { struct
916 vars map[string]*Assignment
917 inheritedVars map[string]*Assignment
920 func NewScope(s *Scope) *Scope {
938 func (s *Scope) Add(assignment *Assignment) error {
952 func (s *Scope) Remove(name string) {
957 func (s *Scope) Get(name string) (*Assignment, bool) {
969 func (s *Scope) String() string {