antlr3lexer.h File Reference


Detailed Description

Base interface for any ANTLR3 lexer.

An ANLTR3 lexer builds from two sets of components:

A lexer class contains a character input stream, a base recognizer interface (which it will normally implement) and a token source interface (which it also implements. The Tokensource interface is called by a token consumer (such as a parser, but in theory it can be anything that wants a set of abstract tokens in place of a raw character stream.

So then, we set up a lexer in a sequence akin to:

#include <antlr3defs.h>
#include <antlr3input.h>
#include <antlr3commontoken.h>
#include <antlr3tokenstream.h>
#include <antlr3baserecognizer.h>

Include dependency graph for antlr3lexer.h:

This graph shows which files directly or indirectly include this file:


Data Structures

struct  ANTLR3_LEXER_struct

Defines

#define ANTLR3_STRING_TERMINATOR   0xFFFFFFFF

Typedefs

typedef struct ANTLR3_LEXER_struct ANTLR3_LEXER

Define Documentation

#define ANTLR3_STRING_TERMINATOR   0xFFFFFFFF

Referenced by matchs().


Typedef Documentation


Generated on Mon Nov 29 17:23:12 2010 for ANTLR3C by  doxygen 1.5.5