Custom token streams should create one of these and then override any functions by installing their own pointers to implement the various functions.
#include <antlr3defs.h>
#include <antlr3string.h>
#include <antlr3collections.h>
#include <antlr3input.h>
#include <antlr3commontoken.h>
#include <antlr3bitset.h>
#include <antlr3debugeventlistener.h>
Data Structures | |
struct | ANTLR3_COMMON_TOKEN_STREAM_struct |
Common token stream is an implementation of ANTLR_TOKEN_STREAM for the default parsers and recognizers. More... | |
struct | ANTLR3_TOKEN_SOURCE_struct |
Definition of a token source, which has a pointer to a function that returns the next token (using a token factory if it is going to be efficient) and a pointer to an ANTLR3_INPUT_STREAM. More... | |
struct | ANTLR3_TOKEN_STREAM_struct |
Definition of the ANTLR3 common token stream interface. More... | |
Typedefs | |
typedef struct ANTLR3_COMMON_TOKEN_STREAM_struct | ANTLR3_COMMON_TOKEN_STREAM |
typedef struct ANTLR3_TOKEN_SOURCE_struct | ANTLR3_TOKEN_SOURCE |
typedef struct ANTLR3_TOKEN_STREAM_struct | ANTLR3_TOKEN_STREAM |
typedef struct ANTLR3_COMMON_TOKEN_STREAM_struct ANTLR3_COMMON_TOKEN_STREAM |
typedef struct ANTLR3_TOKEN_SOURCE_struct ANTLR3_TOKEN_SOURCE |
typedef struct ANTLR3_TOKEN_STREAM_struct ANTLR3_TOKEN_STREAM |