![]() |
|
An element of compilation passed to and from plugins. More...
#include <cbackend.h>
Public Member Functions | |
| CElement (const char *filename, int filenameValid, CNode *code) | |
| Constructor for class. More... | |
| const char * | Filename () |
| Access method for filename tagging this compilation unit. More... | |
| CNode * | Code () |
| Access method for parse tree for this compilation unit. More... | |
| void | Code (CNode *code) |
| Method to set parse tree for this compilation unit. More... | |
An element of compilation passed to and from plugins.
Each element contains a parse tree and optionally a filename. The filename may represent the input file for the compilation unit or may have been synthetically generated by a plugin. The dump plugin is configurable so that all elements may be dumped to a single file (using -o <filename>) or dumped to a directory using the tagged filenames (using -dir <directory>).
|
inline |
Constructor for class.
| filename | a filename tagging the compilation unit. |
| filenameValid | non-zero when filename is valid. |
| code | a pointer to the parse tree for the compilation unit. |
|
inline |
Access method for parse tree for this compilation unit.
|
inline |
Method to set parse tree for this compilation unit.
| code | a pointer to parse tree. |
|
inline |
Access method for filename tagging this compilation unit.
1.8.13