Node:Internal Naming Conventions, Previous:Transforming Expressions, Up:Front End
Names exported by FFE modules have the following (regular-expression) forms.
Note that all names beginning ffemod
or FFEmod
,
where mod is lowercase or uppercase alphanumerics, respectively,
are exported by the module ffemod
,
with the source code doing the exporting in mod.h
.
(Usually, the source code for the implementation is in mod.c
.)
Identifiers that don't fit the following forms are not considered exported, even if they are according to the C language. (For example, they might be made available to other modules solely for use within expansions of exported macros, not for use within any source code in those other modules.)
ffemod
FFEumod_[A-Z][A-Z0-9_]*
A #define
or enum
constant of the type ffemod
.
ffemod[A-Z][A-Z][a-z0-9]*
The portion of the identifier after ffemod
is
referred to as ctype
, a capitalized (mixed-case) form
of type
.
FFEumod_type[A-Z][A-Z0-9_]*[A-Z0-9]?
A #define
or enum
constant of the type
ffemodtype
,
where type is the lowercase form of ctype
in an exported typedef.
ffemod_value
ffemod_value_input
Below are names used for value and input, along with their definitions.
col
file
find
initialize
int
int
.
is
len
line
lookup
name
text
that points to a name of something.
new
find
without crashing.
pt
run
terminate
text
char *
that points to generic text.