antlr3recognizersharedstate.h man page

include/antlr3recognizersharedstate.h — While the C runtime does not need to model the state of multiple lexers and parsers in the same way as the Java runtime does it is no overhead to reflect that model.

Synopsis

#include <antlr3defs.h>

Data Structures

struct ANTLR3_RECOGNIZER_SHARED_STATE_struct
All the data elements required to track the current state of any recognizer (lexer, parser, tree parser).

Typedefs

typedef struct ANTLR3_RECOGNIZER_SHARED_STATE_struct ANTLR3_RECOGNIZER_SHARED_STATE
All the data elements required to track the current state of any recognizer (lexer, parser, tree parser).

Detailed Description

While the C runtime does not need to model the state of multiple lexers and parsers in the same way as the Java runtime does it is no overhead to reflect that model.

In fact the C runtime has always been able to share recognizer state.

This 'class' therefore defines all the elements of a recognizer (either lexer, parser or tree parser) that are need to track the current recognition state. Multiple recognizers may then share this state, for instance when one grammar imports another.

Typedef Documentation

typedef struct ANTLR3_RECOGNIZER_SHARED_STATE_struct

ANTLR3_RECOGNIZER_SHARED_STATE"

All the data elements required to track the current state of any recognizer (lexer, parser, tree parser). May be share between multiple recognizers such that grammar inheritance is easily supported.

Author

Generated automatically by Doxygen for ANTLR3C from the source code.

Info

Tue Oct 4 2016 Version 3.3.1 ANTLR3C