ANTLR3_BASE_TREE_ADAPTOR_struct - Online Linux Manual PageSection : 3
Updated : Tue Jan 26 2021
Source : Version 3.3.1
Note : ANTLR3C
NAMEANTLR3_BASE_TREE_ADAPTOR_struct
SYNOPSIS
#include <antlr3basetreeadaptor.h>
Data Fieldsvoid(* addChild )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t, void *child)
void(* addChildToken )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t, pANTLR3_COMMON_TOKEN child)
void *(* becomeRoot )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *newRoot, void *oldRoot)
void *(* becomeRootToken )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *newRoot, void *oldRoot)
void *(* create )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, pANTLR3_COMMON_TOKEN payload)
pANTLR3_COMMON_TOKEN(* createToken )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, ANTLR3_UINT32 tokenType, pANTLR3_UINT8 text)
pANTLR3_COMMON_TOKEN(* createTokenFromToken )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, pANTLR3_COMMON_TOKEN fromToken)
void *(* createTypeText )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, ANTLR3_UINT32 tokenType, pANTLR3_UINT8 text)
void *(* createTypeToken )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken)
void *(* createTypeTokenText )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken, pANTLR3_UINT8 text)
pANTLR3_DEBUG_EVENT_LISTENER debugger
If set to something other than NULL, then this structure is points to an instance of the debugger interface. void(* deleteChild )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t, ANTLR3_UINT32 i)
void *(* dupNode )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *treeNode)
void *(* dupTree )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *tree)
void *(* dupTreeTT )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t, void *tree)
void *(* errorNode )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, pANTLR3_TOKEN_STREAM tnstream, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_TOKEN stopToken, pANTLR3_EXCEPTION e)
void(* free )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor)
void *(* getChild )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t, ANTLR3_UINT32 i)
ANTLR3_UINT32(* getChildCount )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *)
ANTLR3_INT32(* getChildIndex )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t)
void *(* getParent )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *child)
pANTLR3_STRING(* getText )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t)
pANTLR3_COMMON_TOKEN(* getToken )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t)
ANTLR3_MARKER(* getTokenStartIndex )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t)
ANTLR3_MARKER(* getTokenStopIndex )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t)
ANTLR3_UINT32(* getType )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t)
ANTLR3_UINT32(* getUniqueID )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *)
ANTLR3_BOOLEAN(* isNilNode )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t)
pANTLR3_STRING(* makeDot )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *theTree)
Produce a DOT (see graphviz freeware suite) from a base tree. void *(* nilNode )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor)
void(* replaceChildren )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stopChildIndex, void *t)
Replace from start to stop child index of parent with t, which might be a list. void *(* rulePostProcessing )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *root)
void(* setChild )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t, ANTLR3_UINT32 i, void *child)
void(* setChildIndex )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t, ANTLR3_UINT32 i)
void(* setDebugEventListener )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, pANTLR3_DEBUG_EVENT_LISTENER debugger)
void(* setParent )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *child, void *parent)
void(* setText )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, pANTLR3_STRING t)
void(* setText8 )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, pANTLR3_UINT8 t)
void(* setTokenBoundaries )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_TOKEN stopToken)
void(* setType )(struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t, ANTLR3_UINT32 type)
pANTLR3_STRING_FACTORY strFactory
We need a string factory for creating imaginary tokens, we take this from the stream we are supplied to walk. void * super
Pointer to any enclosing structure/interface that contains this structure. pANTLR3_TOKEN_FACTORY tokenFactory
Field Documentation
void(* ANTLR3_BASE_TREE_ADAPTOR_struct::addChild) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t, void *child)Referenced by addChildToken(), antlr3BaseTreeAdaptorInit(), dbgAddChildToken(), and dupTreeTT().
void(* ANTLR3_BASE_TREE_ADAPTOR_struct::addChildToken) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t, pANTLR3_COMMON_TOKEN child)Referenced by antlr3BaseTreeAdaptorInit().
void*(* ANTLR3_BASE_TREE_ADAPTOR_struct::becomeRoot) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *newRoot, void *oldRoot)Referenced by antlr3BaseTreeAdaptorInit(), becomeRootToken(), and dbgBecomeRootToken().
void*(* ANTLR3_BASE_TREE_ADAPTOR_struct::becomeRootToken) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *newRoot, void *oldRoot)Referenced by antlr3BaseTreeAdaptorInit().
void*(* ANTLR3_BASE_TREE_ADAPTOR_struct::create) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, pANTLR3_COMMON_TOKEN payload)Referenced by addChildToken(), ANTLR3_TREE_ADAPTORDebugNew(), ANTLR3_TREE_ADAPTORNew(), becomeRootToken(), createTypeText(), createTypeToken(), createTypeTokenText(), dbgAddChildToken(), dbgBecomeRootToken(), dbgNil(), nextNodeToken(), nilNode(), and setDebugEventListener().
pANTLR3_COMMON_TOKEN(* ANTLR3_BASE_TREE_ADAPTOR_struct::createToken) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, ANTLR3_UINT32 tokenType, pANTLR3_UINT8 text)Referenced by ANTLR3_TREE_ADAPTORNew(), and createTypeText().
pANTLR3_COMMON_TOKEN(* ANTLR3_BASE_TREE_ADAPTOR_struct::createTokenFromToken) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, pANTLR3_COMMON_TOKEN fromToken)Referenced by ANTLR3_TREE_ADAPTORNew(), createTypeToken(), and createTypeTokenText().
void*(* ANTLR3_BASE_TREE_ADAPTOR_struct::createTypeText) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, ANTLR3_UINT32 tokenType, pANTLR3_UINT8 text)Referenced by antlr3BaseTreeAdaptorInit(), and errorNode().
void*(* ANTLR3_BASE_TREE_ADAPTOR_struct::createTypeToken) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken)Referenced by antlr3BaseTreeAdaptorInit().
void*(* ANTLR3_BASE_TREE_ADAPTOR_struct::createTypeTokenText) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken, pANTLR3_UINT8 text)Referenced by antlr3BaseTreeAdaptorInit().
pANTLR3_DEBUG_EVENT_LISTENER ANTLR3_BASE_TREE_ADAPTOR_struct::debuggerIf set to something other than NULL, then this structure is points to an instance of the debugger interface. In general, the debugger is only referenced internally in recovery/error operations so that it does not cause overhead by having to check this pointer in every function/method Referenced by dbgAddChild(), dbgAddChildToken(), dbgBecomeRoot(), dbgBecomeRootToken(), dbgCreate(), dbgCreateTypeText(), dbgCreateTypeToken(), dbgCreateTypeTokenText(), dbgNil(), dbgSetTokenBoundaries(), and simulateTreeConstruction().
void(* ANTLR3_BASE_TREE_ADAPTOR_struct::deleteChild) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t, ANTLR3_UINT32 i)Referenced by ANTLR3_TREE_ADAPTORNew().
void*(* ANTLR3_BASE_TREE_ADAPTOR_struct::dupNode) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *treeNode)Referenced by ANTLR3_TREE_ADAPTORNew(), dupTree(), nextNode(), and toTreeNode().
void*(* ANTLR3_BASE_TREE_ADAPTOR_struct::dupTree) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *tree)Referenced by antlr3BaseTreeAdaptorInit().
void*(* ANTLR3_BASE_TREE_ADAPTOR_struct::dupTreeTT) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t, void *tree)Referenced by antlr3BaseTreeAdaptorInit(), dbgDupTree(), dupTree(), and dupTreeTT().
void*(* ANTLR3_BASE_TREE_ADAPTOR_struct::errorNode) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, pANTLR3_TOKEN_STREAM tnstream, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_TOKEN stopToken, pANTLR3_EXCEPTION e)Referenced by ANTLR3_TREE_ADAPTORNew().
void(* ANTLR3_BASE_TREE_ADAPTOR_struct::free) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor)Referenced by ANTLR3_TREE_ADAPTORNew(), antlr3CommonTreeNodeStreamFree(), and antlr3CommonTreeNodeStreamNew().
void*(* ANTLR3_BASE_TREE_ADAPTOR_struct::getChild) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t, ANTLR3_UINT32 i)Referenced by ANTLR3_TREE_ADAPTORNew(), antlr3BaseTreeAdaptorInit(), defineDotEdges(), defineDotNodes(), dupTreeTT(), fillBuffer(), and simulateTreeConstruction().
ANTLR3_UINT32(* ANTLR3_BASE_TREE_ADAPTOR_struct::getChildCount) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *)Referenced by ANTLR3_TREE_ADAPTORNew(), antlr3BaseTreeAdaptorInit(), defineDotEdges(), defineDotNodes(), dupTreeTT(), and simulateTreeConstruction().
ANTLR3_INT32(* ANTLR3_BASE_TREE_ADAPTOR_struct::getChildIndex) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t)Referenced by ANTLR3_TREE_ADAPTORNew().
void*(* ANTLR3_BASE_TREE_ADAPTOR_struct::getParent) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *child)Referenced by ANTLR3_TREE_ADAPTORNew().
pANTLR3_STRING(* ANTLR3_BASE_TREE_ADAPTOR_struct::getText) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t)Referenced by ANTLR3_TREE_ADAPTORNew(), antlr3BaseTreeAdaptorInit(), createNode(), defineDotEdges(), defineDotNodes(), errorNode(), makeDot(), and serializeNode().
pANTLR3_COMMON_TOKEN(* ANTLR3_BASE_TREE_ADAPTOR_struct::getToken) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t)Referenced by serializeNode().
ANTLR3_MARKER(* ANTLR3_BASE_TREE_ADAPTOR_struct::getTokenStartIndex) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t)Referenced by ANTLR3_TREE_ADAPTORNew(), and serializeNode().
ANTLR3_MARKER(* ANTLR3_BASE_TREE_ADAPTOR_struct::getTokenStopIndex) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t)Referenced by ANTLR3_TREE_ADAPTORNew().
ANTLR3_UINT32(* ANTLR3_BASE_TREE_ADAPTOR_struct::getType) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t)Referenced by ANTLR3_TREE_ADAPTORNew(), antlr3BaseTreeAdaptorInit(), createNode(), and serializeNode().
ANTLR3_UINT32(* ANTLR3_BASE_TREE_ADAPTOR_struct::getUniqueID) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *)Referenced by addChild(), antlr3BaseTreeAdaptorInit(), becomeRoot(), createNode(), createNodeTok(), errorNode(), nilNode(), serializeNode(), and setTokenBoundaries().
ANTLR3_BOOLEAN(* ANTLR3_BASE_TREE_ADAPTOR_struct::isNilNode) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t)Referenced by antlr3BaseTreeAdaptorInit(), and fillBuffer().
pANTLR3_STRING(* ANTLR3_BASE_TREE_ADAPTOR_struct::makeDot) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *theTree)Produce a DOT (see graphviz freeware suite) from a base tree. Referenced by antlr3BaseTreeAdaptorInit().
void*(* ANTLR3_BASE_TREE_ADAPTOR_struct::nilNode) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor)Referenced by antlr3BaseTreeAdaptorInit().
void(* ANTLR3_BASE_TREE_ADAPTOR_struct::replaceChildren) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stopChildIndex, void *t)Replace from start to stop child index of parent with t, which might be a list. Number of children may be different after this call.
If parent is null, don't do anything; must be at root of overall tree. Can't replace whatever points to the parent externally. Do nothing. Referenced by ANTLR3_TREE_ADAPTORNew(), and replaceChildren().
void*(* ANTLR3_BASE_TREE_ADAPTOR_struct::rulePostProcessing) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *root)Referenced by antlr3BaseTreeAdaptorInit().
void(* ANTLR3_BASE_TREE_ADAPTOR_struct::setChild) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t, ANTLR3_UINT32 i, void *child)Referenced by ANTLR3_TREE_ADAPTORNew().
void(* ANTLR3_BASE_TREE_ADAPTOR_struct::setChildIndex) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t, ANTLR3_UINT32 i)Referenced by ANTLR3_TREE_ADAPTORNew(), and dupTreeTT().
void(* ANTLR3_BASE_TREE_ADAPTOR_struct::setDebugEventListener) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, pANTLR3_DEBUG_EVENT_LISTENER debugger)Referenced by ANTLR3_TREE_ADAPTORNew().
void(* ANTLR3_BASE_TREE_ADAPTOR_struct::setParent) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *child, void *parent)Referenced by ANTLR3_TREE_ADAPTORNew(), and dupTreeTT().
void(* ANTLR3_BASE_TREE_ADAPTOR_struct::setText) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, pANTLR3_STRING t)Referenced by antlr3BaseTreeAdaptorInit().
void(* ANTLR3_BASE_TREE_ADAPTOR_struct::setText8) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, pANTLR3_UINT8 t)Referenced by antlr3BaseTreeAdaptorInit().
void(* ANTLR3_BASE_TREE_ADAPTOR_struct::setTokenBoundaries) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_TOKEN stopToken)Referenced by ANTLR3_TREE_ADAPTORDebugNew(), ANTLR3_TREE_ADAPTORNew(), and setDebugEventListener().
void(* ANTLR3_BASE_TREE_ADAPTOR_struct::setType) (struct ANTLR3_BASE_TREE_ADAPTOR_struct *adaptor, void *t, ANTLR3_UINT32 type)Referenced by antlr3BaseTreeAdaptorInit().
pANTLR3_STRING_FACTORY ANTLR3_BASE_TREE_ADAPTOR_struct::strFactoryWe need a string factory for creating imaginary tokens, we take this from the stream we are supplied to walk. Referenced by ANTLR3_TREE_ADAPTORNew(), createToken(), createTokenFromToken(), and makeDot().
void* ANTLR3_BASE_TREE_ADAPTOR_struct::superPointer to any enclosing structure/interface that contains this structure. Referenced by add(), ANTLR3_TREE_ADAPTORNew(), create(), ctaFree(), freeNodeRS(), freeRS(), and replaceChildren().
pANTLR3_TOKEN_FACTORY ANTLR3_BASE_TREE_ADAPTOR_struct::tokenFactoryReferenced by ANTLR3_TREE_ADAPTORNew(), createToken(), createTokenFromToken(), and ctaFree().
AuthorGenerated automatically by Doxygen for ANTLR3C from the source code. 0
Johanes Gumabo
Data Size : 70,459 byte
man-ANTLR3_BASE_TREE_ADAPTOR_struct.3Build : 2024-12-29, 07:25 :
Visitor Screen : x
Visitor Counter ( page / site ) : 4 / 257,547
Visitor ID : :
Visitor IP : 3.137.214.16 :
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.29
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.