CCCC - C and C++ Code Counter  9999-git
CCCC Development version (post-3.1.4)
Functions | Variables
cccc_tok.cc File Reference
#include "cccc.h"
#include "cccc_tok.h"
Include dependency graph for cccc_tok.cc:

Go to the source code of this file.

Functions

ostream & operator<< (ostream &out, ANTLRToken &t)
 

Variables

int toks_alloc1 =0
 
int toks_alloc2 =0
 
int toks_alloc3 =0
 
int toks_freed =0
 
ANTLRToken currentLexerToken
 

Function Documentation

ostream& operator<< ( ostream &  out,
ANTLRToken t 
)

Definition at line 166 of file cccc_tok.cc.

166  {
167  int i;
168 
169  out << "TOK: " << t.getTokenTypeName()
170  << " " << t.getText()
171  << " " << t.getLine()
172  << " " << t.getNestingLevel();
173 
174  out << endl;
175  return out;
176 }
const char * getTokenTypeName()
Definition: cccc_tok.cc:161
int getNestingLevel()
Definition: cccc_tok.h:81

Here is the call graph for this function:

Variable Documentation

ANTLRToken currentLexerToken

Definition at line 34 of file cccc_tok.cc.

int toks_alloc1 =0

Definition at line 32 of file cccc_tok.cc.

int toks_alloc2 =0

Definition at line 32 of file cccc_tok.cc.

int toks_alloc3 =0

Definition at line 32 of file cccc_tok.cc.

int toks_freed =0

Definition at line 32 of file cccc_tok.cc.