diff options
author | Yale AI Dept <ai@nebula.cs.yale.edu> | 1993-07-14 13:08:00 -0500 |
---|---|---|
committer | Duncan McGreggor <duncan.mcgreggor@rackspace.com> | 1993-07-14 13:08:00 -0500 |
commit | 4e987026148fe65c323afbc93cd560c07bf06b3f (patch) | |
tree | 26ae54177389edcbe453d25a00c38c2774e8b7d4 /ast/ast-td.scm |
Import to github.
Diffstat (limited to 'ast/ast-td.scm')
-rw-r--r-- | ast/ast-td.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ast/ast-td.scm b/ast/ast-td.scm new file mode 100644 index 0000000..cf70016 --- /dev/null +++ b/ast/ast-td.scm @@ -0,0 +1,20 @@ +;;; ast-td.scm -- define ast type descriptor object +;;; +;;; author : Sandra Loosemore +;;; date : 6 Oct 1992 +;;; + + +;;; Give the type descriptors for AST nodes extra slots to hold walker +;;; functions. + +(define-struct ast-td + (include type-descriptor) + (slots + (cfn-walker (type (maybe procedure)) (default '#f)) + (cfn-simple-transform-walker (type (maybe procedure)) (default '#f)) + (depend-walker (type (maybe procedure)) (default '#f)) + (ast-to-flic-walker (type (maybe procedure)) (default '#f)) + (scope-walker (type (maybe procedure)) (default '#f)) + (type-walker (type (maybe procedure)) (default '#f)) + (collect-pattern-vars-walker (type (maybe procedure)) (default '#f)))) |