#include <Statement.h>
Inheritance diagram for Statement:


Public Member Functions | |
| Statement (token_v &) | |
| ~Statement () | |
| void | Display () |
Definition at line 29 of file Statement.h.
|
|
File ......... Statement.cpp Published .... 2004-05-17 Author ....... grymse@alhem.net Definition at line 33 of file Statement.cpp. References token_v.
00034 :Sequence(tok) 00035 { 00036 } |
|
|
Definition at line 39 of file Statement.cpp.
00040 {
00041 }
|
|
|
Reimplemented from Sequence. Definition at line 44 of file Statement.cpp. References config, Sequence::GetExpr(), Sequence::GetFile(), Sequence::GetLine(), Sequence::IsExtern(), and Sequence::Tab().
00045 {
00046 if (IsExtern())
00047 return;
00048 if (config["-xml"] == "true")
00049 {
00050 printf("<statement file=\"%s\" line=\"%d\" value=\"%s\" />\n",
00051 GetFile().c_str(),
00052 GetLine(),
00053 GetExpr().c_str());
00054 return;
00055 }
00056 if (config["-dot"] == "true")
00057 return;
00058 Tab();
00059 printf("%s",GetExpr().c_str());
00060 printf("\n");
00061 }
|
1.3.6