include/antlr3lexer.h - Online Linux Manual PageSection : 3
Updated : Tue Jan 26 2021
Source : Version 3.3.1
Note : ANTLR3C

NAMEinclude/antlr3lexer.h − Base interface for any ANTLR3 lexer​.

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

Data Structuresstruct ANTLR3_LEXER_struct

Macros#define ANTLR3_STRING_TERMINATOR 0xFFFFFFFF

Typedefstypedef struct ANTLR3_LEXER_struct ANTLR3_LEXER

Detailed DescriptionBase interface for any ANTLR3 lexer​. An ANLTR3 lexer builds from two sets of components: • The runtime components that provide common functionality such as traversing character streams, building tokens for output and so on​. • The generated rules and struutre of the actual lexer, which call upon the runtime 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: • Create a character stream (something which implements ANTLR3_INPUT_STREAM) and initialize it​. • Create a lexer interface and tell it where it its input stream is​. This will cause the creation of a base recognizer class, which it will override with its own implementations of some methods​. The lexer creator can also then in turn override anything it likes​. • The lexer token source interface is then passed to some interface that knows how to use it, byte calling for a next token​. • When a next token is called, let ze lexing begin​.

Macro Definition Documentation

#define ANTLR3_STRING_TERMINATOR 0xFFFFFFFF

Typedef Documentation

typedef struct ANTLR3_LEXER_struct ANTLR3_LEXER

AuthorGenerated automatically by Doxygen for ANTLR3C from the source code​.
0
Johanes Gumabo
Data Size   :   9,616 byte
man-antlr3lexer.h.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 239,043
Visitor ID   :     :  
Visitor IP   :   18.224.38.176   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.