Symbol.h File Reference
Go to the source code of this file.
|
Enumerations |
| enum | SYMBOL_CLASS {
UNDEFINED_CLASS = 0,
PROGRAM_CLASS,
FUNCTION_CLASS,
SUBROUTINE_CLASS,
VARIABLE_CLASS,
SYMBOLIC_CONSTANT_CLASS,
BLOCK_DATA_CLASS,
NAMELIST_CLASS
} |
| | The SYMBOL_CLASS enumeration defines the possible types of Symbol's. More...
|
| enum | EXTERNAL_BOOL {
IS_EXTERNAL = 1,
NOT_EXTERNAL = 0
} |
| enum | INTRINSIC_BOOL {
IS_INTRINSIC = 1,
NOT_INTRINSIC = 0
} |
| enum | INITIAL_BOOL {
IS_INITIALIZED = 1,
NOT_INITIALIZED = 0
} |
| enum | FORMAL_BOOL {
IS_FORMAL = 1,
NOT_FORMAL = 0
} |
| enum | ALLOC_BOOL {
IS_ALLOCATABLE = 1,
NOT_ALLOCATABLE = 0
} |
| enum | SAVED_BOOL {
IS_SAVED = 1,
NOT_SAVED = 0
} |
| enum | GLOBAL_BOOL {
IS_GLOBAL = 1,
NOT_GLOBAL = 0
} |
Functions |
| Symbol * | make_symbol (const char *name, const BinRep &binstr) |
| | Note: This function does NOT fill in the data fields properly-- it just gives them dummy values for now.
|
| char * | upcase_ch (const char *string) |
Enumeration Type Documentation
|
|
The SYMBOL_CLASS enumeration defines the possible types of Symbol's.
- Enumeration values:
-
| UNDEFINED_CLASS |
|
| PROGRAM_CLASS |
A program unit starting with the PROGRAM statement. |
| FUNCTION_CLASS |
|
| SUBROUTINE_CLASS |
|
| VARIABLE_CLASS |
|
| SYMBOLIC_CONSTANT_CLASS |
i.e. defined in a parameter stmt |
| BLOCK_DATA_CLASS |
|
| NAMELIST_CLASS |
Note to programmer: If this enum is changed in any way, make sure to update the corresponding entries in the class_name[] array in Symbol.cc. |
Definition at line 65 of file Symbol.h. |
|
|
- Enumeration values:
-
Definition at line 82 of file Symbol.h. |
|
|
- Enumeration values:
-
| IS_INTRINSIC |
|
| NOT_INTRINSIC |
|
Definition at line 87 of file Symbol.h. |
|
|
- Enumeration values:
-
| IS_INITIALIZED |
|
| NOT_INITIALIZED |
|
Definition at line 92 of file Symbol.h. |
|
|
- Enumeration values:
-
Definition at line 97 of file Symbol.h. |
|
|
- Enumeration values:
-
| IS_ALLOCATABLE |
|
| NOT_ALLOCATABLE |
|
Definition at line 102 of file Symbol.h. |
|
|
- Enumeration values:
-
Definition at line 107 of file Symbol.h. |
|
|
- Enumeration values:
-
Definition at line 112 of file Symbol.h. |
Function Documentation
| Symbol* make_symbol |
( |
const char * |
name, |
|
|
const BinRep & |
binstr |
|
) |
|
|
| char* upcase_ch |
( |
const char * |
string |
) |
|
|
|