Linux Manuals session 3

Section 3: library functions

  • |

    antlr3-toStringWork (3) Linux Manual Page

    src/antlr3commontreenodestream.c – Defines the implementation of the common node stream the default tree node stream used by ANTLR. Synopsis #include <antlr3commontreenodestream.h> Functions static ANTLR3_UINT32 _LA (pANTLR3_INT_STREAM is, ANTLR3_INT32 i) static pANTLR3_BASE_TREE _LT (pANTLR3_TREE_NODE_STREAM tns, ANTLR3_INT32 k) static void addNavigationNode (pANTLR3_COMMON_TREE_NODE_STREAM ctns, ANTLR3_UINT32 ttype) static void antlr3CommonTreeNodeStreamFree (pANTLR3_COMMON_TREE_NODE_STREAM ctns) Free up any resources that belong to…

  • |

    antlr3-toStringTree (3) Linux Manual Page

    src/antlr3basetree.c – Synopsis #include <antlr3basetree.h> Functions static void addChild (pANTLR3_BASE_TREE tree, pANTLR3_BASE_TREE child) static void addChildren (pANTLR3_BASE_TREE tree, pANTLR3_LIST kids) Add all elements of the supplied list as children of this node. ANTLR3_API pANTLR3_BASE_TREE antlr3BaseTreeNew (pANTLR3_BASE_TREE tree) static void * deleteChild (pANTLR3_BASE_TREE tree, ANTLR3_UINT32 i) static void * dupTree (pANTLR3_BASE_TREE tree) static void freshenPACIndexes (pANTLR3_BASE_TREE…

  • |

    antlr3-toStringTT (3) Linux Manual Page

    src/antlr3tokenstream.c – Default implementation of CommonTokenStream. Synopsis #include <antlr3tokenstream.h> Functions static ANTLR3_UINT32 _LA (pANTLR3_INT_STREAM is, ANTLR3_INT32 i) ANTLR3_API pANTLR3_COMMON_TOKEN_STREAM antlr3CommonTokenDebugStreamSourceNew (ANTLR3_UINT32 hint, pANTLR3_TOKEN_SOURCE source, pANTLR3_DEBUG_EVENT_LISTENER debugger) ANTLR3_API pANTLR3_COMMON_TOKEN_STREAM antlr3CommonTokenStreamNew (ANTLR3_UINT32 hint) ANTLR3_API pANTLR3_COMMON_TOKEN_STREAM antlr3CommonTokenStreamSourceNew (ANTLR3_UINT32 hint, pANTLR3_TOKEN_SOURCE source) static void antlr3CTSFree (pANTLR3_COMMON_TOKEN_STREAM stream) static void antlr3TokenStreamFree (pANTLR3_TOKEN_STREAM stream) ANTLR3_API pANTLR3_TOKEN_STREAM antlr3TokenStreamNew () static void consume…

  • |

    antlr3-toStringSS (3) Linux Manual Page

    src/antlr3commontreenodestream.c – Defines the implementation of the common node stream the default tree node stream used by ANTLR. Synopsis #include <antlr3commontreenodestream.h> Functions static ANTLR3_UINT32 _LA (pANTLR3_INT_STREAM is, ANTLR3_INT32 i) static pANTLR3_BASE_TREE _LT (pANTLR3_TREE_NODE_STREAM tns, ANTLR3_INT32 k) static void addNavigationNode (pANTLR3_COMMON_TREE_NODE_STREAM ctns, ANTLR3_UINT32 ttype) static void antlr3CommonTreeNodeStreamFree (pANTLR3_COMMON_TREE_NODE_STREAM ctns) Free up any resources that belong to…

  • |

    antlr3-toString (3) Linux Manual Page

    src/antlr3commontoken.c – Synopsis #include <antlr3.h> Functions ANTLR3_API pANTLR3_COMMON_TOKEN antlr3CommonTokenNew (ANTLR3_UINT32 ttype) ANTLR3_API void antlr3SetTokenAPI (pANTLR3_COMMON_TOKEN token) ANTLR3_API pANTLR3_TOKEN_FACTORY antlr3TokenFactoryNew (pANTLR3_INPUT_STREAM input) static void factoryClose (pANTLR3_TOKEN_FACTORY factory) static ANTLR3_UINT32 getChannel (pANTLR3_COMMON_TOKEN token) static ANTLR3_INT32 getCharPositionInLine (pANTLR3_COMMON_TOKEN token) static ANTLR3_UINT32 getLine (pANTLR3_COMMON_TOKEN token) static ANTLR3_MARKER getStartIndex (pANTLR3_COMMON_TOKEN token) static ANTLR3_MARKER getStopIndex (pANTLR3_COMMON_TOKEN token) static pANTLR3_STRING getText (pANTLR3_COMMON_TOKEN…

  • |

    antlr3-toIntList (3) Linux Manual Page

    ANTLR3_BITSET_struct – Synopsis #include <antlr3bitset.h> Data Fields void(* add )(struct ANTLR3_BITSET_struct *bitset, ANTLR3_INT32 bit) ANTLR3_BITSET_LIST blist The actual bits themselves. pANTLR3_BITSET(* bor )(struct ANTLR3_BITSET_struct *bitset1, struct ANTLR3_BITSET_struct *bitset2) void(* borInPlace )(struct ANTLR3_BITSET_struct *bitset, struct ANTLR3_BITSET_struct *bitset2) pANTLR3_BITSET(* clone )(struct ANTLR3_BITSET_struct *inSet) ANTLR3_BOOLEAN(* equals )(struct ANTLR3_BITSET_struct *bitset1, struct ANTLR3_BITSET_struct *bitset2) void(* free )(struct ANTLR3_BITSET_struct *bitset) void(*…

  • |

    antlr3-toInt32_8 (3) Linux Manual Page

    src/antlr3string.c – Implementation of the ANTLR3 string and string factory classes. Synopsis #include <antlr3string.h> Functions static pANTLR3_UINT8 addc16 (pANTLR3_STRING string, ANTLR3_UINT32 c) static pANTLR3_UINT8 addc8 (pANTLR3_STRING string, ANTLR3_UINT32 c) static pANTLR3_UINT8 addi16 (pANTLR3_STRING string, ANTLR3_INT32 i) static pANTLR3_UINT8 addi8 (pANTLR3_STRING string, ANTLR3_INT32 i) ANTLR3_API pANTLR3_STRING_FACTORY antlr3StringFactoryNew () ANTLR3_API pANTLR3_STRING_FACTORY antlr3UCS2StringFactoryNew () Create a string factory…

  • |

    antlr3-toInt32_16 (3) Linux Manual Page

    src/antlr3string.c – Implementation of the ANTLR3 string and string factory classes. Synopsis #include <antlr3string.h> Functions static pANTLR3_UINT8 addc16 (pANTLR3_STRING string, ANTLR3_UINT32 c) static pANTLR3_UINT8 addc8 (pANTLR3_STRING string, ANTLR3_UINT32 c) static pANTLR3_UINT8 addi16 (pANTLR3_STRING string, ANTLR3_INT32 i) static pANTLR3_UINT8 addi8 (pANTLR3_STRING string, ANTLR3_INT32 i) ANTLR3_API pANTLR3_STRING_FACTORY antlr3StringFactoryNew () ANTLR3_API pANTLR3_STRING_FACTORY antlr3UCS2StringFactoryNew () Create a string factory…

  • |

    antlr3-toInt32 (3) Linux Manual Page

    ANTLR3_STRING_struct – Base string class tracks the allocations and provides simple string tracking functions. Synopsis #include <antlr3string.h> Data Fields pANTLR3_UINT8(* addc )(struct ANTLR3_STRING_struct *string, ANTLR3_UINT32 c) Pointer to function that adds a single character to the end of the string, in the encoding of the string – 8 bit, 16 bit, utf-8 etc. pANTLR3_UINT8(* addi…

  • |

    antlr3-to8_8 (3) Linux Manual Page

    NAME src/antlr3string.c – Implementation of the ANTLR3 string and string factory classes. SYNOPSIS #include <antlr3string.h> Functions static pANTLR3_UINT8 addc16 (pANTLR3_STRING string, ANTLR3_UINT32 c) static pANTLR3_UINT8 addc8 (pANTLR3_STRING string, ANTLR3_UINT32 c) static pANTLR3_UINT8 addi16 (pANTLR3_STRING string, ANTLR3_INT32 i) static pANTLR3_UINT8 addi8 (pANTLR3_STRING string, ANTLR3_INT32 i) ANTLR3_API pANTLR3_STRING_FACTORY antlr3StringFactoryNew () ANTLR3_API pANTLR3_STRING_FACTORY antlr3UCS2StringFactoryNew () Create a string…

  • |

    antlr3-to8_16 (3) Linux Manual Page

    NAME src/antlr3string.c – Implementation of the ANTLR3 string and string factory classes. SYNOPSIS #include <antlr3string.h> Functions static pANTLR3_UINT8 addc16 (pANTLR3_STRING string, ANTLR3_UINT32 c) static pANTLR3_UINT8 addc8 (pANTLR3_STRING string, ANTLR3_UINT32 c) static pANTLR3_UINT8 addi16 (pANTLR3_STRING string, ANTLR3_INT32 i) static pANTLR3_UINT8 addi8 (pANTLR3_STRING string, ANTLR3_INT32 i) ANTLR3_API pANTLR3_STRING_FACTORY antlr3StringFactoryNew () ANTLR3_API pANTLR3_STRING_FACTORY antlr3UCS2StringFactoryNew () Create a string…

  • |

    antlr3-to8 (3) Linux Manual Page

    NAME ANTLR3_STRING_struct – Base string class tracks the allocations and provides simple string tracking functions. SYNOPSIS #include <antlr3string.h> Data Fields pANTLR3_UINT8(* addc )(struct ANTLR3_STRING_struct *string, ANTLR3_UINT32 c) Pointer to function that adds a single character to the end of the string, in the encoding of the string – 8 bit, 16 bit, utf-8 etc. pANTLR3_UINT8(*…

  • |

    antlr3-tnstream (3) Linux Manual Page

    NAME ANTLR3_COMMON_TREE_NODE_STREAM_struct – SYNOPSIS #include <antlr3commontreenodestream.h> Data Fields ANTLR3_MARKER absoluteNodeIndex What node index did we just consume? i=0..n-1 for n node trees. pANTLR3_BASE_TREE_ADAPTOR adaptor Pointer to tree adaptor interface that manipulates/builds the tree. void(* addLookahead )(struct ANTLR3_COMMON_TREE_NODE_STREAM_struct *ctns, pANTLR3_BASE_TREE node) void(* addNavigationNode )(struct ANTLR3_COMMON_TREE_NODE_STREAM_struct *ctns, ANTLR3_UINT32 ttype) ANTLR3_INT32 currentChildIndex Which child are we currently visiting?…

  • |

    antlr3-tindex (3) Linux Manual Page

    NAME src/antlr3commontreenodestream.c – Defines the implementation of the common node stream the default tree node stream used by ANTLR. SYNOPSIS #include <antlr3commontreenodestream.h> Functions static ANTLR3_UINT32 _LA (pANTLR3_INT_STREAM is, ANTLR3_INT32 i) static pANTLR3_BASE_TREE _LT (pANTLR3_TREE_NODE_STREAM tns, ANTLR3_INT32 k) static void addNavigationNode (pANTLR3_COMMON_TREE_NODE_STREAM ctns, ANTLR3_UINT32 ttype) static void antlr3CommonTreeNodeStreamFree (pANTLR3_COMMON_TREE_NODE_STREAM ctns) Free up any resources that belong…

  • |

    antlr3-thisPool (3) Linux Manual Page

    ANTLR3_ARBORETUM_struct – ANTLR3 Tree factory interface to create lots of trees efficiently rather than creating and freeing lots of little bits of memory. Synopsis #include <antlr3commontree.h> Data Fields void(* close )(struct ANTLR3_ARBORETUM_struct *factory) Pointer to a function the destroys the factory. pANTLR3_BASE_TREE(* newFromToken )(struct ANTLR3_ARBORETUM_struct *factory, pANTLR3_COMMON_TOKEN token) pANTLR3_BASE_TREE(* newFromTree )(struct ANTLR3_ARBORETUM_struct *factory, pANTLR3_COMMON_TREE tree)…

  • |

    antlr3-textState (3) Linux Manual Page

    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 pointer element of this structure. Synopsis #include <antlr3commontoken.h> Data Fields ANTLR3_UINT32 channel The virtual channel that this token exists in. ANTLR3_INT32 charPosition The character position in the line that…

  • |

    antlr3-text (3) Linux Manual Page

    NAME 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 pointer element of this structure. SYNOPSIS #include <antlr3commontoken.h> Data Fields ANTLR3_UINT32 channel The virtual channel that this token exists in. ANTLR3_INT32 charPosition The character position in the line…

  • |

    antlr3-terminate (3) Linux Manual Page

    NAME src/antlr3debughandlers.c – Provides the debugging functions invoked by a recognizer built using the debug generator mode of the antlr tool. SYNOPSIS #include <antlr3.h> Functions static void ack (pANTLR3_DEBUG_EVENT_LISTENER delboy) static void addChild (pANTLR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE root, pANTLR3_BASE_TREE child) ANTLR3_API pANTLR3_DEBUG_EVENT_LISTENER antlr3DebugListenerNew () Create and initialize a new debug event listener that can be connected…

  • |

    antlr3-targetExhausted (3) Linux Manual Page

    include/antlr3convertutf.h – Synopsis #include <antlr3defs.h> Defines #define UNI_MAX_BMP (UTF32)0x0000FFFF #define UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF #define UNI_MAX_UTF16 (UTF32)0x0010FFFF #define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF #define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD Typedefs typedef ANTLR3_UINT16 UTF16 typedef ANTLR3_UINT32 UTF32 typedef ANTLR3_UINT8 UTF8 Enumerations enum ConversionFlags { strictConversion = 0, lenientConversion } enum ConversionResult { conversionOK, sourceExhausted, targetExhausted, sourceIllegal } Functions ConversionResult ConvertUTF16toUTF32 (const UTF16 **sourceStart, const…

  • |

    antlr3-tail (3) Linux Manual Page

    NAME ANTLR3_COMMON_TREE_NODE_STREAM_struct – SYNOPSIS #include <antlr3commontreenodestream.h> Data Fields ANTLR3_MARKER absoluteNodeIndex What node index did we just consume? i=0..n-1 for n node trees. pANTLR3_BASE_TREE_ADAPTOR adaptor Pointer to tree adaptor interface that manipulates/builds the tree. void(* addLookahead )(struct ANTLR3_COMMON_TREE_NODE_STREAM_struct *ctns, pANTLR3_BASE_TREE node) void(* addNavigationNode )(struct ANTLR3_COMMON_TREE_NODE_STREAM_struct *ctns, ANTLR3_UINT32 ttype) ANTLR3_INT32 currentChildIndex Which child are we currently visiting?…