ANTLR3_STRING_FACTORY_struct - Online Linux Manual PageSection : 3
Updated : Tue Jan 26 2021
Source : Version 3.3.1
Note : ANTLR3C

NAMEANTLR3_STRING_FACTORY_struct − Definition of the string factory interface, which creates and tracks strings for you of various shapes and sizes​.

SYNOPSIS
#include <antlr3string​.h>

Data Fieldsvoid(* close )(struct ANTLR3_STRING_FACTORY_struct *factory)
Pointer to function that closes the factory​.
void(* destroy )(struct ANTLR3_STRING_FACTORY_struct *factory, pANTLR3_STRING string)
Pointer to function that deletes the string altogether​.
ANTLR3_UINT32 index
pANTLR3_STRING(* newPtr )(struct ANTLR3_STRING_FACTORY_struct *factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size)
Pointer to function that manufactures a string from a given pointer and length​.
pANTLR3_STRING(* newPtr8 )(struct ANTLR3_STRING_FACTORY_struct *factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size)
Pointer to function that manufactures a string from a given pointer and length​.
pANTLR3_STRING(* newRaw )(struct ANTLR3_STRING_FACTORY_struct *factory)
Pointer to function that manufactures an empty string​.
pANTLR3_STRING(* newSize )(struct ANTLR3_STRING_FACTORY_struct *factory, ANTLR3_UINT32 size)
Pointer to function that manufactures a raw string with no text in it but space for size characters​.
pANTLR3_STRING(* newStr )(struct ANTLR3_STRING_FACTORY_struct *factory, pANTLR3_UINT8 string)
Pointer to function that manufactures a string from a given pointer and works out the length​.
pANTLR3_STRING(* newStr8 )(struct ANTLR3_STRING_FACTORY_struct *factory, pANTLR3_UINT8 string)
Pointer to function that manufactures a string from a given pointer and length​.
pANTLR3_STRING(* printable )(struct ANTLR3_STRING_FACTORY_struct *factory, pANTLR3_STRING string)
Pointer to function that returns a copy of the string in printable form without any control characters in it​.
pANTLR3_VECTOR strings
List of all the strings that have been allocated by the factory​.

Detailed DescriptionDefinition of the string factory interface, which creates and tracks strings for you of various shapes and sizes​.

Field Documentation

void(* ANTLR3_STRING_FACTORY_struct::close) (struct ANTLR3_STRING_FACTORY_struct *factory)Pointer to function that closes the factory​. Referenced by antlr3InputClose(), and antlr3StringFactoryNew()​.

void(* ANTLR3_STRING_FACTORY_struct::destroy) (struct ANTLR3_STRING_FACTORY_struct *factory, pANTLR3_STRING string)Pointer to function that deletes the string altogether​. Referenced by antlr3StringFactoryNew()​.

ANTLR3_UINT32 ANTLR3_STRING_FACTORY_struct::indexReferenced by antlr3StringFactoryNew(), destroy(), newRaw8(), and newRawUTF16()​.

pANTLR3_STRING(* ANTLR3_STRING_FACTORY_struct::newPtr) (struct ANTLR3_STRING_FACTORY_struct *factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size)Pointer to function that manufactures a string from a given pointer and length​. The pointer is assumed to point to characters in the same encoding as the string type, hence if this is a UTF16 string the pointer should point to UTF16 characters​. Referenced by antlr38BitSubstr(), antlr3StringFactoryNew(), antlr3UTF16Substr(), antlr3UTF32Substr(), createTokenFromToken(), newStrUTF16_UTF16(), subString8(), subStringUTF16(), toString(), and toUTF8_8()​.

pANTLR3_STRING(* ANTLR3_STRING_FACTORY_struct::newPtr8) (struct ANTLR3_STRING_FACTORY_struct *factory, pANTLR3_UINT8 string, ANTLR3_UINT32 size)Pointer to function that manufactures a string from a given pointer and length​. The pointer is assumed to point at 8 bit characters which must be converted on the fly to the encoding of the actual string​. Referenced by antlr3StringFactoryNew(), newStr8(), and newStrUTF16_8()​.

pANTLR3_STRING(* ANTLR3_STRING_FACTORY_struct::newRaw) (struct ANTLR3_STRING_FACTORY_struct *factory)Pointer to function that manufactures an empty string​. Referenced by antlr3StringFactoryNew(), newSize8(), newSizeUTF16(), toString(), toStringSS(), toStringTree(), and toStringWork()​.

pANTLR3_STRING(* ANTLR3_STRING_FACTORY_struct::newSize) (struct ANTLR3_STRING_FACTORY_struct *factory, ANTLR3_UINT32 size)Pointer to function that manufactures a raw string with no text in it but space for size characters​. Referenced by antlr3StringFactoryNew(), createNode(), errorNode(), newPtr8(), newPtrUTF16_8(), newPtrUTF16_UTF16(), printable8(), printableUTF16(), serializeNode(), and serializeToken()​.

pANTLR3_STRING(* ANTLR3_STRING_FACTORY_struct::newStr) (struct ANTLR3_STRING_FACTORY_struct *factory, pANTLR3_UINT8 string)Pointer to function that manufactures a string from a given pointer and works out the length​. The pointer is assumed to point to characters in the same encoding as the string itself, i​.e​. UTF16 if a UTF16 string and so on​. Referenced by antlr38BitReuse(), and antlr3StringFactoryNew()​.

pANTLR3_STRING(* ANTLR3_STRING_FACTORY_struct::newStr8) (struct ANTLR3_STRING_FACTORY_struct *factory, pANTLR3_UINT8 string)Pointer to function that manufactures a string from a given pointer and length​. The pointer should point to 8 bit characters regardless of the actual encoding of the string​. The 8 bit characters will be converted to the actual string encoding on the fly​. Referenced by antlr3FileStreamNew(), antlr3StringFactoryNew(), antlr3StringStreamNew(), getText(), makeDot(), and toUTF8_UTF16()​.

pANTLR3_STRING(* ANTLR3_STRING_FACTORY_struct::printable) (struct ANTLR3_STRING_FACTORY_struct *factory, pANTLR3_STRING string)Pointer to function that returns a copy of the string in printable form without any control characters in it​. Referenced by antlr3StringFactoryNew()​.

pANTLR3_VECTOR ANTLR3_STRING_FACTORY_struct::stringsList of all the strings that have been allocated by the factory​. Referenced by antlr3StringFactoryNew(), closeFactory(), destroy(), newRaw8(), and newRawUTF16()​.

AuthorGenerated automatically by Doxygen for ANTLR3C from the source code​.
0
Johanes Gumabo
Data Size   :   25,687 byte
man-ANTLR3_STRING_FACTORY_struct.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   4 / 172,384
Visitor ID   :     :  
Visitor IP   :   3.141.41.109   :  
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.