Doxygen
Loading...
Searching...
No Matches
JavaCC.h File Reference
#include <string>
#include <memory>
#include <cassert>
#include <functional>
+ Include dependency graph for JavaCC.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ReaderStream
 
struct  JJEnter< T >
 
struct  JJExit< T >
 

Macros

#define JAVACC_CHAR_TYPE   char
 
#define JAVACC_STRING_TYPE   std::basic_string<JAVACC_CHAR_TYPE>
 
#define JAVACC_SIMPLE_STRING   std::basic_string<char>
 
#define MAX(a, b)
 
#define MIN(a, b)
 

Typedefs

typedef JAVACC_CHAR_TYPE JJChar
 
typedef JAVACC_STRING_TYPE JJString
 
typedef JAVACC_STRING_TYPE JJStringBuffer
 
typedef JAVACC_SIMPLE_STRING JJSimpleString
 

Variables

const JAVACC_CHAR_TYPE EMPTY [] = { 0 }
 

Macro Definition Documentation

◆ JAVACC_CHAR_TYPE

#define JAVACC_CHAR_TYPE   char

Definition at line 12 of file JavaCC.h.

Referenced by ReaderStream::read().

◆ JAVACC_SIMPLE_STRING

#define JAVACC_SIMPLE_STRING   std::basic_string<char>

Definition at line 19 of file JavaCC.h.

◆ JAVACC_STRING_TYPE

#define JAVACC_STRING_TYPE   std::basic_string<JAVACC_CHAR_TYPE>

Definition at line 16 of file JavaCC.h.

◆ MAX

#define MAX ( a,
b )
Value:
((a)>=(b)?(a):(b))

Definition at line 38 of file JavaCC.h.

◆ MIN

#define MIN ( a,
b )
Value:
((a)<=(b)?(a):(b))

Definition at line 41 of file JavaCC.h.

Typedef Documentation

◆ JJChar

Definition at line 21 of file JavaCC.h.

◆ JJSimpleString

Definition at line 24 of file JavaCC.h.

◆ JJString

Definition at line 22 of file JavaCC.h.

◆ JJStringBuffer

Definition at line 23 of file JavaCC.h.

Variable Documentation

◆ EMPTY

const JAVACC_CHAR_TYPE EMPTY[] = { 0 }

Definition at line 35 of file JavaCC.h.

35{ 0 };