Package antlr3-C-devel

Header files for the C bindings for ANTLR-generated parsers

http://www.antlr3.org/

Library Functions (Section 3)
antlr3-apiclasses
The API classes are divided into the typdefs (and their underlying structs) that are the containers for each 'object' within the ANTLR3C runtime, and their...
antlr3-apiimplementations
API implementation functions are the default implementation of each of the methods in a particular typedef structure. They are generally grouped together in the...
antlr3-apistructures
These structures (and the typedefs that you use to reference them and their pointers) are the C equivalent of objects. They correspond (roughly) to the Java...
ANTLR3_ARBORETUM
typedef struct ANTLR3_ARBORETUM_struct * pANTLR3_ARBORETUM Pointer to an instantiation of 'class' ANTLR3_ARBORETUM.
ANTLR3_ARBORETUM_struct
ANTLR3 Tree factory interface to create lots of trees efficiently rather than creating and freeing lots of little bits of memory.
antlr3-atsections
A C targeted grammar can make use of special annotations within a grammar file, which are prefixed with the @ character. These sections cause the the placement...
antlr3-atsections.dox
Generated automatically by Doxygen for ANTLR3C from the source code.
ANTLR3_BASE_RECOGNIZER
This is the definition of the base recognizer interface, instantiations of which are referred to via pANTLR3_BASE_RECOGNIZER. In general you will not refer to...
antlr3baserecognizer.c
Contains the base functions that all recognizers require. Any function can be overridden by a lexer/parser/tree parser or by the ANTLR3 programmer.
antlr3baserecognizer.h
Defines the basic structure to support recognizing by either a lexer, parser, or tree parser.
ANTLR3_BASE_RECOGNIZER_struct
Base tracking context structure for all types of recognizers.
ANTLR3_BASE_TREE
typedef struct ANTLR3_BASE_TREE_struct * pANTLR3_BASE_TREE Pointer to an instantiation of 'class' ANTLR3_BASE_TREE.
ANTLR3_BASE_TREE_ADAPTOR
typedef struct ANTLR3_BASE_TREE_ADAPTOR_struct * pANTLR3_BASE_TREE_ADAPTOR Pointer to an instantiation of 'class' #ANTLR3_BASE_TREE_ADAPTOR.
antlr3basetreeadaptor.c
Contains the base functions that all tree adaptors start with. this implementation can then be overridden by any higher implementation.
antlr3basetreeadaptor.h
Definition of the ANTLR3 base tree adaptor.
ANTLR3_BASE_TREE_ADAPTOR_struct
#include <antlr3basetreeadaptor.h>Data Fieldsvoid(* addChild )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t, void *child) void(* addChildToken...
antlr3basetree.c
#include <antlr3basetree.h>Functionsstatic void addChild (pANTLR3_BASE_TREE tree, pANTLR3_BASE_TREE child) static void addChildren (pANTLR3_BASE_TREE tree...
antlr3basetree.h
Definition of the ANTLR3 base tree.
ANTLR3_BASE_TREE_struct
A generic tree implementation with no payload. You must subclass to actually have any user data. ANTLR v3 uses a list of children approach instead of the...
ANTLR3_BITSET
typedef struct ANTLR3_BITSET_struct * pANTLR3_BITSET Pointer to an instantiation of 'class' ANTLR3_BITSET.
antlr3bitset.c
Contains the C implementation of ANTLR3 bitsets as adapted from Terence Parr's Java implementation.
antlr3bitset.h
Defines the basic structures of an ANTLR3 bitset. this is a C version of the cut down Bitset class provided with the java version of antlr 3.
ANTLR3_BITSET_LIST_struct
#include <antlr3bitset.h>Data FieldspANTLR3_BITWORD bits Pointer to the allocated array of bits for this bit set, which is an array of 64 bit elements (of the...
ANTLR3_BITSET_struct
#include <antlr3bitset.h>Data Fieldsvoid(* add )(struct ANTLR3_BITSET_struct *bitset, ANTLR3_INT32 bit) ANTLR3_BITSET_LIST blist The actual bits themselves...
antlr3-build
Building From Source
antlr3-build.dox
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-buildrec
The antlr tool jar, run against a grammar file that targets the C language, will generate the following files according to whether your grammar file contains a...
antlr3-buildrec.dox
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-changes31
In previous releases the return value from both the generated constructors and built in constructor functions would return a value of -1 or -2 if a problem...
antlr3-changes31.dox
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3collections.c
Provides a number of useful functions that are roughly equivalent to java HashTable and List for the purposes of Antlr 3 C runtime. Also useable by the C...
antlr3collections.h
#include <antlr3defs.h> #include <antlr3bitset.h>Data Structuresstruct ANTLR3_HASH_BUCKET_struct Internal structure of a hash table bucket, which tracks all...
ANTLR3_COMMON_TOKEN
typedef struct ANTLR3_COMMON_TOKEN_struct * pANTLR3_COMMON_TOKEN Pointer to an instantiation of 'class' ANTLR3_COMMON_TOKEN.
antlr3commontoken.c
#include <antlr3.h>FunctionsANTLR3_API pANTLR3_COMMON_TOKEN antlr3CommonTokenNew (ANTLR3_UINT32 ttype) ANTLR3_API void antlr3SetTokenAPI (pANTLR3_COMMON_TOKEN...
antlr3commontoken.h
Defines the interface for a common token. All token streams should provide their tokens using an instance of this common token. A custom pointer is provided...
ANTLR3_COMMON_TOKEN_STREAM
typedef struct ANTLR3_COMMON_TOKEN_STREAM_struct * pANTLR3_COMMON_TOKEN_STREAM Pointer to an instantiation of 'class' ANTLR3_COMMON_TOKEN_STREAM.
ANTLR3_COMMON_TOKEN_STREAM_struct
Common token stream is an implementation of ANTLR_TOKEN_STREAM for the default parsers and recognizers. You may of course build your own implementation if you...
ANTLR3_COMMON_TOKEN_struct
The definition of an ANTLR3 common token structure, which all implementations of a token stream should provide, installing any further structures in the custom...
ANTLR3_COMMON_TREE
typedef struct ANTLR3_COMMON_TREE_struct * pANTLR3_COMMON_TREE Pointer to an instantiation of 'class' ANTLR3_COMMON_TREE.
ANTLR3_COMMON_TREE_ADAPTOR
typedef struct ANTLR3_COMMON_TREE_ADAPTOR_struct * pANTLR3_COMMON_TREE_ADAPTOR Pointer to an instantiation of 'class' ANTLR3_COMMON_TREE_ADAPTOR.
antlr3commontreeadaptor.c
This is the standard tree adaptor used by the C runtime unless the grammar source file says to use anything different. It embeds a BASE_TREE to which it adds...
antlr3commontreeadaptor.h
Definition of the ANTLR3 common tree adaptor.
ANTLR3_COMMON_TREE_ADAPTOR_struct
#include <antlr3commontreeadaptor.h>Data FieldspANTLR3_ARBORETUM arboretum Tree factory for producing new nodes as required without needing to track memory...
antlr3commontree.c
#include <antlr3commontree.h>FunctionsANTLR3_API pANTLR3_ARBORETUM antlr3ArboretumNew (pANTLR3_STRING_FACTORY strFactory) ANTLR3_API pANTLR3_COMMON_TREE...
antlr3commontree.h
#include <antlr3defs.h> #include <antlr3basetree.h> #include <antlr3commontoken.h>Data Structuresstruct ANTLR3_ARBORETUM_struct ANTLR3 Tree factory interface to...
ANTLR3_COMMON_TREE_NODE_STREAM
typedef struct ANTLR3_COMMON_TREE_NODE_STREAM_struct * pANTLR3_COMMON_TREE_NODE_STREAM Pointer to an instantiation of 'class' ANTLR3_COMMON_TREE_NODE_STREAM.
antlr3commontreenodestream.c
Defines the implementation of the common node stream the default tree node stream used by ANTLR.
antlr3commontreenodestream.h
Definition of the ANTLR3 common tree node stream.
ANTLR3_COMMON_TREE_NODE_STREAM_struct
#include <antlr3commontreenodestream.h>Data FieldsANTLR3_MARKER absoluteNodeIndex What node index did we just consume? i=0..n-1 for n node trees...
ANTLR3_COMMON_TREE_struct
Interface for an ANTLR3 common tree which is what gets passed around by the AST producing parser.
antlr3convertutf.c
#include 'antlr3convertutf.h'FunctionsConversionResult ConvertUTF16toUTF32 (const UTF16 **sourceStart, const UTF16 *sourceEnd, UTF32 **targetStart, UTF32...
antlr3convertutf.h
#include <antlr3defs.h>Macros#define halfBase ((UTF32)0x0010000UL) #define halfMask ((UTF32)0x3FFUL) #define halfShift ((UTF32)10) #define UNI_MAX_BMP...
ANTLR3_CYCLIC_DFA
typedef struct ANTLR3_CYCLIC_DFA_struct * pANTLR3_CYCLIC_DFA Pointer to an instantiation of 'class' ANTLR3_CYCLIC_DFA.
antlr3cyclicdfa.c
#include <antlr3defs.h> #include <antlr3cyclicdfa.h>FunctionsANTLR3_API ANTLR3_INT32 antlr3dfapredict (void *ctx, pANTLR3_BASE_RECOGNIZER rec...
antlr3cyclicdfa.h
#include <antlr3baserecognizer.h> #include <antlr3intstream.h>Data Structuresstruct ANTLR3_CYCLIC_DFA_struct Definition of a cyclic dfa structure such that it...
ANTLR3_CYCLIC_DFA_struct
Definition of a cyclic dfa structure such that it can be initialized at compile time and have only a single runtime function that can deal with all cyclic dfa...
ANTLR3_DEBUG_EVENT_LISTENER
typedef struct ANTLR3_DEBUG_EVENT_LISTENER_struct * pANTLR3_DEBUG_EVENT_LISTENER Pointer to an instantiation of 'class' ANTLR3_DEBUG_EVENT_LISTENER.
antlr3debugeventlistener.h
The definition of all debugging events that a recognizer can trigger.
ANTLR3_DEBUG_EVENT_LISTENER_struct
The ANTLR3 debugging interface for communicating with ANLTR Works. Function comments mostly taken from the Java version.
antlr3debughandlers.c
Provides the debugging functions invoked by a recognizer built using the debug generator mode of the antlr tool. See antlr3debugeventlistener.h for...
antlr3defs.h
Basic type and constant definitions for ANTLR3 Runtime.
antlr3-doxygengroups.dox
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3encodings.c
#include <antlr3.h>FunctionsANTLR3_API ANTLR3_UCHAR antlr3c8toAntlrc (ANTLR3_INT8 inc) Provides basic utility functions to convert between the various Unicode...
antlr3encodings.h
#include <antlr3defs.h>
antlr3errors.h
Macros#define ANTLR3_CHARSTREAM_EOF 0xFFFFFFFF Indicates end of character stream and is an invalid Unicode code point. #define ANTLR3_ERR_BASE 0 #define...
ANTLR3_EXCEPTION
typedef struct ANTLR3_EXCEPTION_struct * pANTLR3_EXCEPTION Pointer to an instantiation of 'class' ANTLR3_EXCEPTION.
antlr3exception.c
Contains default functions for creating and destroying as well as otherwise handling ANTLR3 standard exception structures.
antlr3exception.h
Contains the definition of a basic ANTLR3 exception structure created by a recognizer when errors are found/predicted.
ANTLR3_EXCEPTION_struct
Base structure for an ANTLR3 exception tracker.
antlr3filestream.c
The ANTLR3 C filestream is used when the source character stream is a filesystem based input set and all the characters in the filestream can be loaded at once...
antlr3filestream.h
#include <antlr3defs.h>FunctionsANTLR3_API void antlr3Fclose (ANTLR3_FDSC fd) Close an operating system file and free any handles etc. ANTLR3_API ANTLR3_FDSC...
antlr3-generate
Generating C
antlr3-generate.dox
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3.h
#include <antlr3defs.h> #include <antlr3errors.h> #include <antlr3exception.h> #include <antlr3encodings.h> #include <antlr3string.h> #include <antlr3input.h>...
ANTLR3_HASH_BUCKET
typedef struct ANTLR3_HASH_BUCKET_struct * pANTLR3_HASH_BUCKET Pointer to an instantiation of 'class' ANTLR3_HASH_BUCKET.
ANTLR3_HASH_BUCKET_struct
Internal structure of a hash table bucket, which tracks all keys that hash to the same bucket.
ANTLR3_HASH_ENTRY
typedef struct ANTLR3_HASH_ENTRY_struct * pANTLR3_HASH_ENTRY Pointer to an instantiation of 'class' ANTLR3_HASH_ENTRY.
ANTLR3_HASH_ENTRY_struct
Internal structure representing an element in a hash bucket. Stores the original key so that duplicate keys can be rejected if necessary, and contains function...
ANTLR3_HASH_ENUM
typedef struct ANTLR3_HASH_ENUM_struct * pANTLR3_HASH_ENUM Pointer to an instantiation of 'class' ANTLR3_HASH_ENUM.
ANTLR3_HASH_ENUM_struct
Internal structure representing an enumeration of a table. This is returned by antlr3Enumeration() Allows the programmer to traverse the table in hash order...
ANTLR3_HASH_KEY_struct
#include <antlr3collections.h>Data Fieldsunion { ANTLR3_INTKEY iKey used if type is ANTLR3_HASH_TYPE_INT pANTLR3_UINT8 sKey Used if type is...
ANTLR3_HASH_TABLE
typedef struct ANTLR3_HASH_TABLE_struct * pANTLR3_HASH_TABLE Pointer to an instantiation of 'class' ANTLR3_HASH_TABLE.
ANTLR3_HASH_TABLE_struct
Structure that tracks a hash table.
antlr3input.h
Defines the basic structures used to manipulate character streams from any input source. Any character size and encoding can in theory be used, so long as a set...
ANTLR3_INPUT_STREAM
typedef struct ANTLR3_INPUT_STREAM_struct * pANTLR3_INPUT_STREAM Pointer to an instantiation of 'class' ANTLR3_INPUT_STREAM.
antlr3inputstream.c
Base functions to initialize and manipulate any input stream.
ANTLR3_INPUT_STREAM_struct
Master context structure for an ANTLR3 C runtime based input stream.
antlr3interfaces.h
Declarations for all the antlr3 C runtime interfaces/classes. This allows the structures that define the interfaces to contain pointers to each other without...
antlr3-interop
The main way to interact with the generated code is via action code placed within { and } characters in your rules. In general, you are advised to keep the code...
antlr3-interop.dox
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3intstream.c
Implementation of superclass elements of an ANTLR3 int stream. The only methods required are an allocator and a destructor.
antlr3intstream.h
Defines the the class interface for an antlr3 INTSTREAM. Certain functionality (such as DFAs for instance) abstract the stream of tokens or characters in to a...
ANTLR3_INT_STREAM_struct
#include <antlr3intstream.h>Data FieldsANTLR3_UINT32(* _LA )(struct ANTLR3_INT_STREAM_struct *intStream, ANTLR3_INT32 i) Get ANTLR3_UINT32 at current input...
ANTLR3_INT_TRIE
typedef struct ANTLR3_INT_TRIE_struct * pANTLR3_INT_TRIE Pointer to an instantiation of 'class' ANTLR3_INT_TRIE.
ANTLR3_INT_TRIE_NODE_struct
Structure that defines an element/node in an ANTLR3_INT_TRIE.
ANTLR3_INT_TRIE_struct
Structure that defines an ANTLR3_INT_TRIE. For this particular implementation, as you might expect, the key is turned into a 'string' by looking at bit(key...
antlr3-knownissues.dox
Generated automatically by Doxygen for ANTLR3C from the source code.
ANTLR3_LEXER
typedef struct ANTLR3_LEXER_struct * pANTLR3_LEXER Pointer to an instantiation of 'class' ANTLR3_LEXER.
antlr3lexer.c
Base implementation of an antlr 3 lexer. An ANTLR3 lexer implements a base recongizer, a token source and a lexer interface. It constructs a base recognizer...
antlr3lexer.h
Base interface for any ANTLR3 lexer.
ANTLR3_LEXER_struct
#include <antlr3lexer.h>Data Fieldsvoid * ctx A generated lexer has an mTokens() function, which needs the context pointer of the generated lexer, not the base...
ANTLR3_LEX_STATE
typedef struct ANTLR3_LEX_STATE_struct * pANTLR3_LEX_STATE Pointer to an instantiation of 'class' ANTLR3_LEX_STATE.
ANTLR3_LEX_STATE_struct
Structure for track lex input states as part of mark() and rewind() of lexer.
ANTLR3_LIST
typedef struct ANTLR3_LIST_struct * pANTLR3_LIST Pointer to an instantiation of 'class' ANTLR3_LIST.
ANTLR3_LIST_struct
Structure that represents a LIST collection.
antlr3-mainpage.dox
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3memory.h
#include <antlr3defs.h>
antlr3-pANTLR3_ARBORETUM
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_BASE_RECOGNIZER
The base recognizer interface is implemented by all higher level recognizers such as pANTLR3_PARSER and provides methods common to all recognizers.
antlr3-pANTLR3_BASE_TREE
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_BASE_TREE_ADAPTOR
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_BITSET
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_COMMON_TOKEN
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_COMMON_TOKEN_STREAM
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_COMMON_TREE
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_COMMON_TREE_ADAPTOR
file antlr3commontreeadaptor.c This is the standard tree adaptor used by the C runtime unless the grammar source file says to use anything different.
antlr3-pANTLR3_COMMON_TREE_NODE_STREAM
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_CYCLIC_DFA
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_DEBUG_EVENT_LISTENER
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_EXCEPTION
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_HASH_BUCKET
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_HASH_ENTRY
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_HASH_ENUM
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_HASH_TABLE
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_INPUT_STREAM
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-PANTLR3_INT_STREAM
ANTLR3_API pANTLR3_INT_STREAM antlr3IntStreamNew () static void freeStream (pANTLR3_INT_STREAM stream)
antlr3-pANTLR3_INT_TRIE
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_LEXER
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_LEX_STATE
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_LIST
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_PARSER
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_PARSE_TREE
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_RECOGNIZER_SHARED_STATE
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_REWRITE_RULE_ELEMENT_STREAM
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_STACK
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_STRING
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_STRING_FACTORY
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_TOKEN_FACTORY
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_TOKEN_SOURCE
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_TOKEN_STREAM
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_TREE_NODE_STREAM
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_TREE_PARSER
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_TREE_WALK_STATE
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_VECTOR
Generated automatically by Doxygen for ANTLR3C from the source code.
antlr3-pANTLR3_VECTOR_FACTORY
Generated automatically by Doxygen for ANTLR3C from the source code.
ANTLR3_PARSER
typedef struct ANTLR3_PARSER_struct * pANTLR3_PARSER Pointer to an instantiation of 'class' ANTLR3_PARSER.
antlr3parser.c
Implementation of the base functionality for an ANTLR3 parser.
antlr3parser.h
Base implementation of an ANTLR3 parser.
ANTLR3_PARSER_struct
This is the main interface for an ANTLR3 parser.
ANTLR3_PARSE_TREE
typedef struct ANTLR3_PARSE_TREE_struct * pANTLR3_PARSE_TREE Pointer to an instantiation of 'class' ANTLR3_PARSE_TREE.
antlr3parsetree.h
Abstraction of Common tree to provide payload and string representation of node. Todo
ANTLR3_PARSE_TREE_struct
#include <antlr3parsetree.h>Data FieldsANTLR3_BASE_TREE baseTree An encapsulated BASE TREE strcuture (NOT a pointer) that perfoms a lot of the dirty work of...
ANTLR3_RECOGNIZER_SHARED_STATE
typedef struct ANTLR3_RECOGNIZER_SHARED_STATE_struct * pANTLR3_RECOGNIZER_SHARED_STATE Pointer to an instantiation of 'class' ANTLR3_RECOGNIZER_SHARED_STATE.
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...
ANTLR3_RECOGNIZER_SHARED_STATE_struct
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...
ANTLR3_REWRITE_RULE_ELEMENT_STREAM
typedef struct ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct * pANTLR3_REWRITE_RULE_ELEMENT_STREAM Pointer to an instantiation of 'class'...
ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct
A generic list of elements tracked in an alternative to be used in a -> rewrite rule. In the C implementation, all tree oriented streams return a pointer to the...
antlr3rewritestreams.c
Implementation of token/tree streams that are used by the tree re-write rules to manipulate the tokens and trees produced by rules that are subject to rewrite...
antlr3rewritestreams.h
#include <antlr3defs.h> #include <antlr3collections.h> #include <antlr3commontreeadaptor.h> #include <antlr3baserecognizer.h>Data Structuresstruct...
antlr3-runtime
Under the Modules menu tree you will find the entry API Classes. This section is further divided into typedefs and structs and the standard runtime supplied...
antlr3-runtime.dox
Generated automatically by Doxygen for ANTLR3C from the source code.
ANTLR3_STACK
typedef struct ANTLR3_STACK_struct * pANTLR3_STACK Pointer to an instantiation of 'class' ANTLR3_STACK.
ANTLR3_STACK_struct
Structure that represents a Stack collection.
ANTLR3_STRING
typedef struct ANTLR3_STRING_struct * pANTLR3_STRING Pointer to an instantiation of 'class' ANTLR3_STRING.
antlr3string.c
Implementation of the ANTLR3 string and string factory classes.
ANTLR3_STRING_FACTORY
typedef struct ANTLR3_STRING_FACTORY_struct * pANTLR3_STRING_FACTORY Pointer to an instantiation of 'class' ANTLR3_STRING_FACTORY.
ANTLR3_STRING_FACTORY_struct
Definition of the string factory interface, which creates and tracks strings for you of various shapes and sizes.
antlr3string.h
Simple string interface allows indiscriminate allocation of strings such that they can be allocated all over the place and released in one chunk via a string...
ANTLR3_STRING_struct
Base string class tracks the allocations and provides simple string tracking functions. Mostly you can work directly on the string for things that don't...
antlr3-todo
No description.
ANTLR3_TOKEN_FACTORY
typedef struct ANTLR3_TOKEN_FACTORY_struct * pANTLR3_TOKEN_FACTORY Pointer to an instantiation of 'class' ANTLR3_TOKEN_FACTORY.
ANTLR3_TOKEN_FACTORY_struct
ANTLR3 Token factory interface to create lots of tokens efficiently rather than creating and freeing lots of little bits of memory.
ANTLR3_TOKEN_SOURCE
typedef struct ANTLR3_TOKEN_SOURCE_struct * pANTLR3_TOKEN_SOURCE Pointer to an instantiation of 'class' ANTLR3_TOKEN_SOURCE.
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...
ANTLR3_TOKEN_STREAM
typedef struct ANTLR3_TOKEN_STREAM_struct * pANTLR3_TOKEN_STREAM Pointer to an instantiation of 'class' ANTLR3_TOKEN_STREAM.
antlr3tokenstream.c
Default implementation of CommonTokenStream.
antlr3tokenstream.h
Defines the interface for an ANTLR3 common token stream. Custom token streams should create one of these and then override any functions by installing their own...
ANTLR3_TOKEN_STREAM_struct
Definition of the ANTLR3 common token stream interface.
ANTLR3_TOPO_struct
A topological sort system that given a set of dependencies of a node m on node n, can sort them in dependency order. This is a generally useful utility object...
ANTLR3_TREE_NODE_STREAM
typedef struct ANTLR3_TREE_NODE_STREAM_struct * pANTLR3_TREE_NODE_STREAM Pointer to an instantiation of 'class' ANTLR3_TREE_NODE_STREAM.
ANTLR3_TREE_NODE_STREAM_struct
#include <antlr3commontreenodestream.h>Data FieldspANTLR3_BASE_TREE(* _LT )(struct ANTLR3_TREE_NODE_STREAM_struct *tns, ANTLR3_INT32 k) Get tree node at current...
ANTLR3_TREE_PARSER
typedef struct ANTLR3_TREE_PARSER_struct * pANTLR3_TREE_PARSER Pointer to an instantiation of 'class' ANTLR3_TREE_PARSER.
antlr3treeparser.c
Implementation of the tree parser and overrides for the base recognizer.
antlr3treeparser.h
#include <antlr3defs.h> #include <antlr3baserecognizer.h> #include <antlr3commontreenodestream.h>Data Structuresstruct ANTLR3_TREE_PARSER_struct Internal...
ANTLR3_TREE_PARSER_struct
Internal structure representing an element in a hash bucket. Stores the original key so that duplicate keys can be rejected if necessary, and contains function...
ANTLR3_TREE_WALK_STATE
typedef struct ANTLR3_TREE_WALK_STATE_struct * pANTLR3_TREE_WALK_STATE Pointer to an instantiation of 'class' ANTLR3_TREE_WALK_STATE.
ANTLR3_TREE_WALK_STATE_struct
This structure is used to save the state information in the treenodestream when walking ahead with cyclic DFA or for syntactic predicates, we need to record the...
ANTLR3_TRIE_ENTRY_struct
Structure that holds the payload entry in an ANTLR3_INT_TRIE or ANTLR3_STRING_TRIE.
antlr3-using.dox
Generated automatically by Doxygen for ANTLR3C from the source code.
ANTLR3_VECTOR
typedef struct ANTLR3_VECTOR_struct * pANTLR3_VECTOR Pointer to an instantiation of 'class' ANTLR3_VECTOR.
ANTLR3_VECTOR_ELEMENT_struct
#include <antlr3collections.h>Public Member Functionsvoid (ANTLR3_CDECL *freeptr)(void *)Data Fieldsvoid * element
ANTLR3_VECTOR_FACTORY
typedef struct ANTLR3_VECTOR_FACTORY_struct * pANTLR3_VECTOR_FACTORY Pointer to an instantiation of 'class' ANTLR3_VECTOR_FACTORY.
ANTLR3_VECTOR_FACTORY_struct
Structure that tracks vectors in a vector and auto deletes the vectors in the vector factory when closed.
ANTLR3_VECTOR_struct
#include <antlr3collections.h>Public Member Functionsvoid (ANTLR3_CDECL *free)(struct ANTLR3_VECTOR_struct *vector)Data FieldsANTLR3_UINT32(* add )(struct...