PascalStoreWalker Class Reference
#include <PascalStoreWalker.hpp>
Inheritance diagram for PascalStoreWalker:

Public Member Functions | |
void | setCodeModel (CodeModel *model) |
CodeModel * | codeModel () |
const CodeModel * | codeModel () const |
QString | fileName () const |
void | setFileName (const QString &fileName) |
void | init () |
void | wipeout () |
PascalStoreWalker () | |
void | initializeASTFactory (antlr::ASTFactory &factory) |
int | getNumTokens () const |
const char * | getTokenName (int type) const |
void | program (RefPascalAST _t) |
void | programHeading (RefPascalAST _t) |
void | block (RefPascalAST _t) |
void | identifierList (RefPascalAST _t) |
void | identifier (RefPascalAST _t) |
void | labelDeclarationPart (RefPascalAST _t) |
void | constantDefinitionPart (RefPascalAST _t) |
void | typeDefinitionPart (RefPascalAST _t) |
void | variableDeclarationPart (RefPascalAST _t) |
Yields a list of VARDECL-rooted subtrees with VAR at the overall root. | |
void | procedureAndFunctionDeclarationPart (RefPascalAST _t) |
void | usesUnitsPart (RefPascalAST _t) |
void | compoundStatement (RefPascalAST _t) |
void | label (RefPascalAST _t) |
void | constantDefinition (RefPascalAST _t) |
void | constant (RefPascalAST _t) |
void | string (RefPascalAST _t) |
void | typeDefinition (RefPascalAST _t) |
void | type (RefPascalAST _t) |
void | formalParameterList (RefPascalAST _t) |
void | resultType (RefPascalAST _t) |
void | typeIdentifier (RefPascalAST _t) |
void | structuredType (RefPascalAST _t) |
void | unpackedStructuredType (RefPascalAST _t) |
void | arrayType (RefPascalAST _t) |
Note here that the syntactic diff between brackets disappears. | |
void | recordType (RefPascalAST _t) |
void | setType (RefPascalAST _t) |
void | fileType (RefPascalAST _t) |
void | typeList (RefPascalAST _t) |
void | fieldList (RefPascalAST _t) |
void | fixedPart (RefPascalAST _t) |
void | variantPart (RefPascalAST _t) |
void | recordSection (RefPascalAST _t) |
void | tag (RefPascalAST _t) |
void | variant (RefPascalAST _t) |
void | constList (RefPascalAST _t) |
void | variableDeclaration (RefPascalAST _t) |
void | procedureOrFunctionDeclaration (RefPascalAST _t) |
void | procedureDeclaration (RefPascalAST _t) |
void | functionDeclaration (RefPascalAST _t) |
void | formalParameterSection (RefPascalAST _t) |
void | parameterGroup (RefPascalAST _t) |
void | statement (RefPascalAST _t) |
void | unlabelledStatement (RefPascalAST _t) |
void | simpleStatement (RefPascalAST _t) |
void | structuredStatement (RefPascalAST _t) |
void | assignmentStatement (RefPascalAST _t) |
void | procedureStatement (RefPascalAST _t) |
void | gotoStatement (RefPascalAST _t) |
void | variable (RefPascalAST _t) |
A variable is an id with a suffix and can look like: id id[expr,...] id.id id.id[expr,...] id^ id^.id id^.id[expr,...] ... | |
void | expression (RefPascalAST _t) |
void | functionDesignator (RefPascalAST _t) |
void | set (RefPascalAST _t) |
void | parameterList (RefPascalAST _t) |
void | actualParameter (RefPascalAST _t) |
void | element (RefPascalAST _t) |
void | conditionalStatement (RefPascalAST _t) |
void | repetetiveStatement (RefPascalAST _t) |
void | withStatement (RefPascalAST _t) |
void | statements (RefPascalAST _t) |
void | ifStatement (RefPascalAST _t) |
void | caseStatement (RefPascalAST _t) |
void | caseListElement (RefPascalAST _t) |
void | whileStatement (RefPascalAST _t) |
void | repeatStatement (RefPascalAST _t) |
void | forStatement (RefPascalAST _t) |
void | forList (RefPascalAST _t) |
void | initialValue (RefPascalAST _t) |
void | finalValue (RefPascalAST _t) |
void | recordVariableList (RefPascalAST _t) |
RefPascalAST | getAST () |
Protected Attributes | |
RefPascalAST | returnAST |
RefPascalAST | _retTree |
Private Attributes | |
QString | m_fileName |
QStringList | m_currentScope |
int | m_currentAccess |
int | m_anon |
CodeModel * | m_model |
Static Private Attributes | |
const char * | tokenNames [] |
const int | NUM_TOKENS = 190 |
const unsigned long | _tokenSet_0_data_ [] = { 262144UL, 172032UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_0 |
const unsigned long | _tokenSet_1_data_ [] = { 512UL, 262144UL, 3641384976UL, 1UL, 0UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_1 |
const unsigned long | _tokenSet_2_data_ [] = { 0UL, 0UL, 8UL, 50331648UL, 2147483648UL, 13UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_2 |
const unsigned long | _tokenSet_3_data_ [] = { 4194432UL, 2048UL, 1107296264UL, 4152229889UL, 2155872329UL, 15UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_3 |
const unsigned long | _tokenSet_4_data_ [] = { 4194432UL, 2048UL, 1107427336UL, 4152229889UL, 2155872329UL, 15UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_4 |
const unsigned long | _tokenSet_5_data_ [] = { 272UL, 16384UL, 537133056UL, 0UL, 4888576UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_5 |
const unsigned long | _tokenSet_6_data_ [] = { 4194304UL, 0UL, 33554432UL, 1UL, 8388672UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } |
const antlr::BitSet | _tokenSet_6 |
Constructor & Destructor Documentation
|
Definition at line 11 of file PascalStoreWalker.cpp. References ANTLR_USE_NAMESPACE. |
Member Function Documentation
|
Definition at line 2656 of file PascalStoreWalker.cpp. References _retTree, actualParameter(), ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), nullAST, and RefPascalAST. Referenced by actualParameter(), and parameterList(). |
|
Note here that the syntactic diff between brackets disappears. If the brackets mean different things semantically, we need two different alternatives here. Definition at line 1064 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, arrayType(), ASTRefCount< T >::get(), nullAST, RefPascalAST, type(), and typeList(). Referenced by arrayType(), and unpackedStructuredType(). |
|
Definition at line 1898 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, assignmentStatement(), expression(), ASTRefCount< T >::get(), nullAST, RefPascalAST, and variable(). Referenced by assignmentStatement(), and simpleStatement(). |
|
Definition at line 81 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, block(), compoundStatement(), constantDefinitionPart(), ASTRefCount< T >::get(), labelDeclarationPart(), nullAST, procedureAndFunctionDeclarationPart(), RefPascalAST, typeDefinitionPart(), usesUnitsPart(), and variableDeclarationPart(). Referenced by block(), functionDeclaration(), procedureDeclaration(), and program(). |
|
Definition at line 2980 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, caseListElement(), constList(), ASTRefCount< T >::get(), nullAST, RefPascalAST, and statement(). Referenced by caseListElement(), and caseStatement(). |
|
Definition at line 2922 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, caseListElement(), caseStatement(), expression(), ASTRefCount< T >::get(), nullAST, RefPascalAST, and statements(). Referenced by caseStatement(), and conditionalStatement(). |
|
Definition at line 39 of file PascalStoreWalker.hpp. References m_model. |
|
Definition at line 38 of file PascalStoreWalker.hpp. References m_model. |
|
Definition at line 387 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, compoundStatement(), ASTRefCount< T >::get(), nullAST, RefPascalAST, and statements(). Referenced by block(), compoundStatement(), and structuredStatement(). |
|
Definition at line 2740 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, caseStatement(), conditionalStatement(), ASTRefCount< T >::get(), ifStatement(), nullAST, and RefPascalAST. Referenced by conditionalStatement(), and structuredStatement(). |
|
Definition at line 442 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, constant(), ASTRefCount< T >::get(), nullAST, and RefPascalAST. Referenced by constant(), constantDefinition(), constList(), and type(). |
|
Definition at line 418 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, constant(), constantDefinition(), ASTRefCount< T >::get(), nullAST, and RefPascalAST. Referenced by constantDefinition(), and constantDefinitionPart(). |
|
Definition at line 242 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, constantDefinition(), constantDefinitionPart(), ASTRefCount< T >::get(), nullAST, and RefPascalAST. Referenced by block(), and constantDefinitionPart(). |
|
Definition at line 1439 of file PascalStoreWalker.cpp. References _retTree, _tokenSet_2, ANTLR_USE_NAMESPACE, constant(), constList(), ASTRefCount< T >::get(), nullAST, and RefPascalAST. Referenced by caseListElement(), constList(), and variant(). |
|
Definition at line 2671 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, element(), expression(), ASTRefCount< T >::get(), nullAST, and RefPascalAST. |
|
Definition at line 2125 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, expression(), functionDesignator(), ASTRefCount< T >::get(), nullAST, RefPascalAST, set(), string(), and variable(). Referenced by actualParameter(), assignmentStatement(), caseStatement(), element(), expression(), finalValue(), ifStatement(), initialValue(), repeatStatement(), variable(), and whileStatement(). |
|
Definition at line 1217 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, fieldList(), fixedPart(), ASTRefCount< T >::get(), nullAST, RefPascalAST, and variantPart(). Referenced by fieldList(), recordType(), and variant(). |
|
Definition at line 41 of file PascalStoreWalker.hpp. References m_fileName. |
|
Definition at line 1129 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, fileType(), ASTRefCount< T >::get(), nullAST, RefPascalAST, and type(). Referenced by fileType(), and unpackedStructuredType(). |
|
Definition at line 3139 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, expression(), finalValue(), ASTRefCount< T >::get(), nullAST, and RefPascalAST. Referenced by finalValue(), and forList(). |
|
Definition at line 1278 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, fixedPart(), ASTRefCount< T >::get(), nullAST, recordSection(), and RefPascalAST. Referenced by fieldList(), and fixedPart(). |
|
Definition at line 3075 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, finalValue(), forList(), ASTRefCount< T >::get(), initialValue(), nullAST, and RefPascalAST. Referenced by forList(), and forStatement(). |
|
Definition at line 821 of file PascalStoreWalker.cpp. References _retTree, _tokenSet_0, ANTLR_USE_NAMESPACE, formalParameterList(), formalParameterSection(), ASTRefCount< T >::get(), nullAST, and RefPascalAST. Referenced by formalParameterList(), functionDeclaration(), procedureDeclaration(), and typeDefinition(). |
|
Definition at line 1634 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, formalParameterSection(), ASTRefCount< T >::get(), nullAST, parameterGroup(), and RefPascalAST. Referenced by formalParameterList(), and formalParameterSection(). |
|
Definition at line 3049 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, forList(), forStatement(), ASTRefCount< T >::get(), nullAST, RefPascalAST, and statement(). Referenced by forStatement(), and repetetiveStatement(). |
|
Definition at line 1583 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, block(), formalParameterList(), functionDeclaration(), ASTRefCount< T >::get(), nullAST, RefPascalAST, and resultType(). Referenced by functionDeclaration(), and procedureOrFunctionDeclaration(). |
|
Definition at line 2544 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, functionDesignator(), ASTRefCount< T >::get(), nullAST, parameterList(), and RefPascalAST. Referenced by expression(), and functionDesignator(). |
|
Definition at line 3184 of file PascalStoreWalker.cpp. References RefPascalAST, and returnAST. |
|
Definition at line 55 of file PascalStoreWalker.hpp. References NUM_TOKENS. Referenced by getTokenName(). |
|
Definition at line 59 of file PascalStoreWalker.hpp. References getNumTokens(), getTokenName(), and tokenNames. Referenced by getTokenName(). |
|
Definition at line 1963 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), gotoStatement(), label, nullAST, and RefPascalAST. Referenced by gotoStatement(), and simpleStatement(). |
|
Definition at line 190 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifier(), nullAST, and RefPascalAST. Referenced by identifier(), and tag(). |
|
Definition at line 153 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifierList(), nullAST, and RefPascalAST. Referenced by identifierList(), parameterGroup(), programHeading(), recordSection(), type(), usesUnitsPart(), and variableDeclaration(). |
|
Definition at line 2869 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), ifStatement(), nullAST, RefPascalAST, and statement(). Referenced by conditionalStatement(), and ifStatement(). |
|
Definition at line 44 of file PascalStoreWalker.hpp. References m_anon, m_currentAccess, and m_currentScope. |
|
Definition at line 3189 of file PascalStoreWalker.cpp. References initializeASTFactory(). Referenced by initializeASTFactory(). |
|
Definition at line 3124 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), initialValue(), nullAST, and RefPascalAST. Referenced by forList(), and initialValue(). |
|
Definition at line 402 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, and RefPascalAST. |
|
Definition at line 206 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), label, labelDeclarationPart(), nullAST, and RefPascalAST. Referenced by block(), and labelDeclarationPart(). |
|
Definition at line 1697 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifierList(), nullAST, parameterGroup(), RefPascalAST, and typeIdentifier(). Referenced by formalParameterSection(), and parameterGroup(). |
|
Definition at line 2620 of file PascalStoreWalker.cpp. References _retTree, _tokenSet_3, actualParameter(), ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, parameterList(), and RefPascalAST. Referenced by functionDesignator(), parameterList(), and procedureStatement(). |
|
Definition at line 351 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, procedureAndFunctionDeclarationPart(), procedureOrFunctionDeclaration(), and RefPascalAST. Referenced by block(), and procedureAndFunctionDeclarationPart(). |
|
Definition at line 1531 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, block(), formalParameterList(), ASTRefCount< T >::get(), nullAST, procedureDeclaration(), and RefPascalAST. Referenced by procedureDeclaration(), and procedureOrFunctionDeclaration(). |
|
Definition at line 1498 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, functionDeclaration(), ASTRefCount< T >::get(), nullAST, procedureDeclaration(), procedureOrFunctionDeclaration(), and RefPascalAST. Referenced by procedureAndFunctionDeclarationPart(), and procedureOrFunctionDeclaration(). |
|
Definition at line 1921 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, parameterList(), procedureStatement(), and RefPascalAST. Referenced by procedureStatement(), and simpleStatement(). |
|
Definition at line 15 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, block(), ASTRefCount< T >::get(), nullAST, program(), programHeading(), and RefPascalAST. Referenced by program(). |
|
Definition at line 32 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifierList(), nullAST, programHeading(), and RefPascalAST. Referenced by program(), and programHeading(). |
|
Definition at line 1346 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifierList(), nullAST, recordSection(), RefPascalAST, and type(). Referenced by fixedPart(), and recordSection(). |
|
Definition at line 1087 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, fieldList(), ASTRefCount< T >::get(), nullAST, recordType(), and RefPascalAST. Referenced by recordType(), and unpackedStructuredType(). |
|
Definition at line 3154 of file PascalStoreWalker.cpp. References _retTree, _tokenSet_6, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, recordVariableList(), RefPascalAST, and variable(). Referenced by recordVariableList(), and withStatement(). |
|
Definition at line 3026 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), nullAST, RefPascalAST, repeatStatement(), and statements(). Referenced by repeatStatement(), and repetetiveStatement(). |
|
Definition at line 2773 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, forStatement(), ASTRefCount< T >::get(), nullAST, RefPascalAST, repeatStatement(), repetetiveStatement(), and whileStatement(). Referenced by repetetiveStatement(), and structuredStatement(). |
|
Definition at line 857 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, resultType(), and typeIdentifier(). Referenced by functionDeclaration(), resultType(), and typeDefinition(). |
|
Definition at line 2586 of file PascalStoreWalker.cpp. References _retTree, _tokenSet_4, ANTLR_USE_NAMESPACE, element(), ASTRefCount< T >::get(), nullAST, RefPascalAST, and set(). Referenced by expression(), and set(). |
|
Definition at line 37 of file PascalStoreWalker.hpp. References m_model, and setCodeModel(). Referenced by setCodeModel(). |
|
Definition at line 42 of file PascalStoreWalker.hpp. References m_fileName, and setFileName(). Referenced by setFileName(). |
|
Definition at line 1108 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, setType(), and type(). Referenced by setType(), and unpackedStructuredType(). |
|
Definition at line 1811 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, assignmentStatement(), ASTRefCount< T >::get(), gotoStatement(), nullAST, procedureStatement(), RefPascalAST, and simpleStatement(). Referenced by simpleStatement(), and unlabelledStatement(). |
|
Definition at line 1720 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), label, nullAST, RefPascalAST, statement(), and unlabelledStatement(). Referenced by caseListElement(), forStatement(), ifStatement(), statement(), statements(), whileStatement(), and withStatement(). |
|
Definition at line 2835 of file PascalStoreWalker.cpp. References _retTree, _tokenSet_5, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, statement(), and statements(). Referenced by caseStatement(), compoundStatement(), repeatStatement(), and statements(). |
|
Definition at line 607 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, and string(). Referenced by expression(), and string(). |
|
Definition at line 1850 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, compoundStatement(), conditionalStatement(), ASTRefCount< T >::get(), nullAST, RefPascalAST, repetetiveStatement(), structuredStatement(), and withStatement(). Referenced by structuredStatement(), and unlabelledStatement(). |
|
Definition at line 973 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, structuredType(), and unpackedStructuredType(). Referenced by structuredType(), and type(). |
|
Definition at line 1369 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, tag(), and typeIdentifier(). Referenced by tag(), and variantPart(). |
|
Definition at line 741 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, constant(), ASTRefCount< T >::get(), identifierList(), nullAST, RefPascalAST, structuredType(), type(), and typeIdentifier(). Referenced by arrayType(), fileType(), recordSection(), setType(), type(), typeDefinition(), typeList(), and variableDeclaration(). |
|
Definition at line 623 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, formalParameterList(), ASTRefCount< T >::get(), nullAST, RefPascalAST, resultType(), type(), and typeDefinition(). Referenced by typeDefinition(), and typeDefinitionPart(). |
|
Definition at line 278 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, typeDefinition(), and typeDefinitionPart(). Referenced by block(), and typeDefinitionPart(). |
|
Definition at line 872 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, and typeIdentifier(). Referenced by parameterGroup(), resultType(), tag(), type(), and typeIdentifier(). |
|
Definition at line 1181 of file PascalStoreWalker.cpp. References _retTree, _tokenSet_1, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, type(), and typeList(). Referenced by arrayType(), and typeList(). |
|
Definition at line 1770 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, simpleStatement(), structuredStatement(), and unlabelledStatement(). Referenced by statement(), and unlabelledStatement(). |
|
Definition at line 1015 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, arrayType(), fileType(), ASTRefCount< T >::get(), nullAST, recordType(), RefPascalAST, setType(), and unpackedStructuredType(). Referenced by structuredType(), and unpackedStructuredType(). |
|
Definition at line 366 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifierList(), nullAST, RefPascalAST, and usesUnitsPart(). Referenced by block(), and usesUnitsPart(). |
|
A variable is an id with a suffix and can look like: id id[expr,...] id.id id.id[expr,...] id^ id^.id id^.id[expr,...] ... LL has a really hard time with this construct as it's naturally left-recursive. We have to turn into a simple loop rather than recursive loop, hence, the suffixes. I keep in the same rule for easy tree construction. Definition at line 1999 of file PascalStoreWalker.cpp. References _retTree, _tokenSet_3, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), nullAST, RefPascalAST, and variable(). Referenced by assignmentStatement(), expression(), recordVariableList(), and variable(). |
|
Definition at line 1475 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifierList(), nullAST, RefPascalAST, type(), and variableDeclaration(). Referenced by variableDeclaration(), and variableDeclarationPart(). |
|
Yields a list of VARDECL-rooted subtrees with VAR at the overall root.
Definition at line 315 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, variableDeclaration(), and variableDeclarationPart(). Referenced by block(), and variableDeclarationPart(). |
|
Definition at line 1416 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, constList(), fieldList(), ASTRefCount< T >::get(), nullAST, RefPascalAST, and variant(). Referenced by variant(), and variantPart(). |
|
Definition at line 1308 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, tag(), variant(), and variantPart(). Referenced by fieldList(), and variantPart(). |
|
Definition at line 3003 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), nullAST, RefPascalAST, statement(), and whileStatement(). Referenced by repetetiveStatement(), and whileStatement(). |
|
Definition at line 50 of file PascalStoreWalker.hpp. References m_model, and CodeModel::wipeout(). |
|
Definition at line 2812 of file PascalStoreWalker.cpp. References _retTree, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, recordVariableList(), RefPascalAST, statement(), and withStatement(). Referenced by structuredStatement(), and withStatement(). |
Member Data Documentation
|
|
Referenced by formalParameterList(). |
|
Definition at line 3386 of file PascalStoreWalker.cpp. |
|
Referenced by typeList(). |
|
Definition at line 3389 of file PascalStoreWalker.cpp. |
|
Referenced by constList(). |
|
Definition at line 3393 of file PascalStoreWalker.cpp. |
|
Referenced by parameterList(), and variable(). |
|
Definition at line 3396 of file PascalStoreWalker.cpp. |
|
Referenced by set(). |
|
Definition at line 3401 of file PascalStoreWalker.cpp. |
|
Referenced by statements(). |
|
Definition at line 3406 of file PascalStoreWalker.cpp. |
|
Referenced by recordVariableList(). |
|
Definition at line 3410 of file PascalStoreWalker.cpp. |
|
Definition at line 33 of file PascalStoreWalker.hpp. Referenced by init(). |
|
Definition at line 32 of file PascalStoreWalker.hpp. Referenced by init(). |
|
Definition at line 31 of file PascalStoreWalker.hpp. Referenced by init(). |
|
Definition at line 30 of file PascalStoreWalker.hpp. Referenced by fileName(), and setFileName(). |
|
Definition at line 34 of file PascalStoreWalker.hpp. Referenced by codeModel(), setCodeModel(), and wipeout(). |
|
Definition at line 142 of file PascalStoreWalker.hpp. Referenced by getNumTokens(). |
|
Definition at line 137 of file PascalStoreWalker.hpp. Referenced by getAST(). |
|
Definition at line 3192 of file PascalStoreWalker.cpp. Referenced by getTokenName(). |
The documentation for this class was generated from the following files:
- languages/pascal/PascalStoreWalker.hpp
- languages/pascal/PascalStoreWalker.cpp