module: dylan-user rcs-header: $Header: /scm/cvs/src/d2c/compiler/parser/parser-exports.dylan,v 1.9 2003/07/02 16:21:42 housel Exp $ copyright: see below //====================================================================== // // Copyright (c) 1995, 1996, 1997 Carnegie Mellon University // Copyright (c) 1998, 1999, 2000 Gwydion Dylan Maintainers // All rights reserved. // // Use and copying of this software and preparation of derivative // works based on this software are permitted, including commercial // use, provided that the following conditions are observed: // // 1. This copyright notice must be retained in full on any copies // and on appropriate parts of any derivative works. // 2. Documentation (paper or online) accompanying any system that // incorporates this software, or any part of it, must acknowledge // the contribution of the Gwydion Project at Carnegie Mellon // University, and the Gwydion Dylan Maintainers. // // This software is made available "as is". Neither the authors nor // Carnegie Mellon University make any warranty about the software, // its performance, or its conformity to any specification. // // Bug reports should be sent to ; questions, // comments and suggestions are welcome at . // Also, see http://www.gwydiondylan.org/ for updates and documentation. // //====================================================================== define library compiler-parser use Dylan; use compiler-base; export tokenize; export source-utilities; export lexer; export parse-tree; export fragments; export parser; export macros; end; define module tokenize use common; use tokens; use source; export , get-token, unget-token, note-potential-end-point; end module tokenize; define module source-utilities use common; use utils; use source; use od-format; use compile-time-values; export , macro-source-description, , , macro-srcloc-source, , macro-srcloc-came-from, macro-srcloc-token, macro-srcloc-section, , macro-srcloc-first, macro-srcloc-last, source-location-before, source-location-after, source-location-between, source-location-spanning, simplify-source-location; end module source-utilities; define module lexer use common; use utils; use errors; use source; use compile-time-values; use platform, import: {*current-target*, platform-integer-length}; use tokens; use variables; use tokenize; export , add-feature, remove-feature, *float-precision*; end; define module fragments use common; use utils; use source; use tokens; use tokenize; use source-utilities; export , , , fragment-head, fragment-tail, , fragment-prev, fragment-next, , fragment-token, , fragment-left-token, fragment-left-srcloc, fragment-contents, fragment-right-token, fragment-right-srcloc, copy-fragment, append-fragments!, , tokenizer-potential-end-point; end; define module parse-tree use common; use utils; use tokens; use fragments; use od-format; use source; use compile-time-values; export , method-name, method-name-setter, method-parameters, method-returns, method-body, , , varlist-fixed, varlist-fixed-setter, varlist-rest, varlist-rest-setter, , paramlist-next, paramlist-next-setter, paramlist-keys, paramlist-all-keys?, , param-name, param-type, , param-keyword, param-default, , bindings-variables, bindings-expression, , , macro-call-word, macro-call-fragment, , , definition-modifiers, , , , , let-variables, let-expression, , handler-type, handler-options, handler-expression, , local-methods, , , litref-literal, , funcall-function, funcall-arguments, , dot-operand, dot-name, , varref-id, , varset-id, varset-value, , , , body-parts, , exit-name, exit-body, , if-condition, if-consequent, if-alternate, , method-ref-method, method-ref-options, , , primitive-name, primitive-operands, , uwp-body, uwp-cleanup, , defmacro-name, defmacro-main-rule-set, defmacro-auxiliary-rule-sets, , rule-set-rules, , , rule-set-name, rule-set-body-variable?, rule-set-body-variable?-setter, rule-set-processed-intermediate-words?, rule-set-processed-intermediate-words?-setter, , rule-pattern, rule-pattern-setter, rule-template, , main-rule-name, , define-rule-modifiers-pattern, define-rule-modifiers-pattern-setter, , , , , , , , , pattern-left, pattern-right, pattern-last?, , , , , , pattern-left-token, pattern-guts, pattern-right-token, , variable-name-pattern, variable-type-pattern, , bindings-variables-pattern, bindings-value-pattern, , pattern-name, , , patvar-name, patvar-constraint, patvar-constraint-setter, patvar-at-end?, patvar-at-end?-setter, , plistpat-rest, plistpat-rest-setter, plistpat-keys, plistpat-all-keys?, , patkey-default, patkey-all?,