Abstract_Syntax.module



-- Copyright (C) International Computer Science Institute, 1994.  COPYRIGHT  --
-- NOTICE: This code is provided "AS IS" WITHOUT ANY WARRANTY and is subject --
-- to the terms of the SATHER LIBRARY GENERAL PUBLIC LICENSE contained in    --
-- the file "Doc/License" of the Sather distribution.  The license is also   --
-- available from ICSI, 1947 Center St., Suite 600, Berkeley CA 94704, USA.  --
--------> Please email comments to "sather-bugs@icsi.berkeley.edu". <----------

(*

THE AS (ABSTRACT SYNTAX) CLASSES

These form the nodes of the abstract syntax tree created by the
parser.  They all subtype from $AS_NODE and correspond nearly
one-to-one with the grammatical productions in the specification.  The
AM_OUT class can be used to print any abstract syntax tree.  Some
useful abstractions are $AS_CLASS_ELT  (class elements), $AS_STMT
(statements) and $AS_EXPR (expressions).

*)

as.sa
elts.sa
stmts.sa
exprs.sa
as_out.sa