#include "cccc.h"
#include "cccc_itm.h"
#include "cccc_utl.h"
#include "cccc_db.h"
#include "cccc_tok.h"
#include "AParser.h"
#include "ATokPtr.h"
#include <cassert>
#include <iomanip>
Go to the source code of this file.
|
void | insert_enum (ostream &os, int e) |
|
void | extract_enum (istream &is, int &e) |
|
ostream & | operator<< (ostream &os, AugmentedBool ab) |
|
istream & | operator>> (istream &is, AugmentedBool &ab) |
|
ostream & | operator<< (ostream &os, Visibility v) |
|
istream & | operator>> (istream &is, Visibility &v) |
|
ostream & | operator<< (ostream &os, UseType ut) |
|
istream & | operator>> (istream &is, UseType &ut) |
|
static void | toktrace (ANTLRAbstractToken *tok) |
|
static void | rectrace (const char *rulename, const char *dir_indic, int guessing, ANTLRAbstractToken *tok) |
|
#define DEBUG_EXTENT_STREAMS 1 |
void extract_enum |
( |
istream & |
is, |
|
|
int & |
e |
|
) |
| |
void insert_enum |
( |
ostream & |
os, |
|
|
int |
e |
|
) |
| |
Definition at line 69 of file cccc_utl.cc.
void insert_enum(ostream &os, int e)
ostream& operator<< |
( |
ostream & |
os, |
|
|
Visibility |
v |
|
) |
| |
Definition at line 79 of file cccc_utl.cc.
void insert_enum(ostream &os, int e)
ostream& operator<< |
( |
ostream & |
os, |
|
|
UseType |
ut |
|
) |
| |
Definition at line 89 of file cccc_utl.cc.
void insert_enum(ostream &os, int e)
Definition at line 74 of file cccc_utl.cc.
void extract_enum(istream &is, int &e)
istream& operator>> |
( |
istream & |
is, |
|
|
Visibility & |
v |
|
) |
| |
Definition at line 84 of file cccc_utl.cc.
void extract_enum(istream &is, int &e)
istream& operator>> |
( |
istream & |
is, |
|
|
UseType & |
ut |
|
) |
| |
Definition at line 94 of file cccc_utl.cc.
void extract_enum(istream &is, int &e)
static void rectrace |
( |
const char * |
rulename, |
|
|
const char * |
dir_indic, |
|
|
int |
guessing, |
|
|
ANTLRAbstractToken * |
tok |
|
) |
| |
|
static |
Definition at line 481 of file cccc_utl.cc.
486 static int trace_depth=0;
490 setw(trace_depth*4+1) <<
"" << dir_indic
491 <<
"?" << rulename << endl);
495 trace_depth=((
ANTLRToken*) tok)->getNestingLevel();
497 setw(trace_depth*4)<<
"" << dir_indic << rulename << endl);
#define DbgMsg(DF, OS, X)
static void toktrace |
( |
ANTLRAbstractToken * |
tok | ) |
|
|
static |
Definition at line 460 of file cccc_utl.cc.
466 std::setw(6) << tok->getLine()
467 << std::setw(4) << (int)tok->getType()
468 << std::setiosflags(ios::left)
469 << std::resetiosflags(ios::right)
470 << std::setw(20) << tok->getText()
#define DbgMsg(DF, OS, X)