CCCC - C and C++ Code Counter  9999-git
CCCC Development version (post-3.1.4)
Classes | Macros | Enumerations | Functions | Variables
cccc_tok.h File Reference
#include "cccc.h"
#include "AToken.h"
Include dependency graph for cccc_tok.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ANTLRToken
 

Macros

#define MY_TOK(t)   ((ANTLRToken*)(t))
 

Enumerations

enum  ANTLRTokenType { DUMMY, DEFINITION }
 

Functions

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

Variables

ANTLRToken currentLexerToken
 

Macro Definition Documentation

#define MY_TOK (   t)    ((ANTLRToken*)(t))

Definition at line 86 of file cccc_tok.h.

Enumeration Type Documentation

Enumerator
DUMMY 
DEFINITION 

Definition at line 37 of file cccc_tok.h.

37 { DUMMY,DEFINITION };
Definition: cccc_tok.h:37

Function Documentation

ostream& operator<< ( ostream &  ,
ANTLRToken  
)

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 }

Here is the call graph for this function:

Variable Documentation

ANTLRToken currentLexerToken

Definition at line 34 of file cccc_tok.cc.