next up previous
Next: Type Analysis Up: Name Analysis Previous: Labeled Statements

Support code

Name.h[37]:

#ifndef NAME_H
#define NAME_H

#include "eliproto.h"
#include "envmod.h"
#include "intList.h"

extern Environment AddPackage ELI_ARG((Environment, Environment));
extern int FullyQualifiedName ELI_ARG((intList));

#endif
This macro is attached to a product file.

Name.head[38]:
#include "Name.h"
This macro is attached to a product file.

A type-c file implements the operations and data structures of the abstract data types:

Name.c[39]:

#include "pdl_gen.h"
#include "Strings.h"
#include "MakeName.h"
#include "PkgAlgScope.h"
#include "Name.h"

Environment
#if PROTO_OK
AddPackage(Environment pkg, Environment env)
#else
AddPackage(pkg, env) Environment pkg, env;
#endif
Environment AddPackage(Environment pkg, Environment env)[13]

static void
#if PROTO_OK
MakeFQName(intList rep)
#else
MakeFQName(rep) intList rep;
#endif
void MakeFQName(intList rep)[29]

int
#if PROTO_OK
FullyQualifiedName(intList rep)
#else
FullyQualifiedName(rep) intList rep;
#endif
int FullyQualifiedName(intList rep)[28]
This macro is attached to a product file.



2008-09-11