KDevelop API Documentation

PascalParser Class Reference

#include <PascalParser.hpp>

Inheritance diagram for PascalParser:

LLkParser PascalTokenTypes List of all members.

Public Member Functions

void resetErrors ()
unsigned int numberOfErrors () const
void setProblemReporter (ProblemReporter *r)
void reportError (const antlr::RecognitionException &ex)
void reportError (const std::string &errorMessage)
void reportMessage (const std::string &message)
void initializeASTFactory (antlr::ASTFactory &factory)
 PascalParser (antlr::TokenBuffer &tokenBuf)
 PascalParser (antlr::TokenStream &lexer)
 PascalParser (const antlr::ParserSharedInputState &state)
int getNumTokens () const
const char * getTokenName (int type) const
const char *const * getTokenNames () const
void compilationUnit ()
void program ()
void library ()
void unit ()
void programHeading ()
void usesClause ()
void block ()
void identifier ()
void libraryBlock ()
void exportsClause ()
void declarationPart ()
void statementPart ()
void exportsList ()
void exportsEntry ()
void integerConstant ()
void stringConstant ()
void identifierList ()
void interfacePart ()
void implementationPart ()
void initializationPart ()
void finalizationPart ()
void realizationPart ()
void constantDeclarationPart ()
void typeDeclarationPart ()
void procedureHeadersPart ()
void statement ()
void labelDeclarationPart ()
void resourcestringDeclarationPart ()
void variableDeclarationPart ()
void procedureAndFunctionDeclarationPart ()
void label ()
void constantDeclaration ()
void typedConstantDeclaration ()
void stringConstantDeclaration ()
void string ()
void typeDeclaration ()
void variableDeclaration ()
void type ()
void procedureAndFunctionDeclaration ()
void procedureDeclaration ()
void functionDeclaration ()
void constructorDeclaration ()
void destructorDeclaration ()
void compoundStatement ()
void procedureHeader ()
void subroutineBlock ()
void functionHeader ()
void qualifiedMethodIdentifier ()
void formalParameterList ()
void modifiers ()
void externalDirective ()
void functionHeaderEnding ()
void parameterDeclaration ()
void valueParameter ()
void variableParameter ()
void constantParameter ()
void untypedParameterPart ()
void callModifiers ()
void expression ()
void typedConstant ()
void constant ()
void recordConstant ()
void arrayConstant ()
void proceduralConstant ()
void addressConstant ()
void simpleType ()
void subrangeTypeOrTypeIdentifier ()
void enumeratedType ()
void stringType ()
void structuredType ()
void pointerType ()
void proceduralType ()
void ordinalType ()
void realType ()
void typeIdentifier ()
void subrangeType ()
void assignedEnumList ()
void unsignedInteger ()
void arrayType ()
void recordType ()
void objectType ()
void classType ()
void setType ()
void fileType ()
void arrayIndexType ()
void arraySubrangeType ()
void fieldList ()
void fixedField ()
void variantPart ()
void variant ()
void proceduralTypePart1 ()
void heritage ()
void componentList ()
void objectVisibilitySpecifier ()
void fieldDefinition ()
void methodDefinition ()
void constructorHeader ()
void destructorHeader ()
void methodDirectives ()
void classComponentList ()
void classVisibilitySpecifier ()
void classMethodDefinition ()
void propertyDefinition ()
void classMethodDirectives ()
void directiveVariants ()
void propertyInterface ()
void propertySpecifiers ()
void propertyParameterList ()
void readSpecifier ()
void writeSpecifier ()
void defaultSpecifier ()
void fieldOrMethod ()
void simpleExpression ()
void expressionSign ()
void term ()
void factor ()
void identifierOrValueTypecastOrFunctionCall ()
void unsignedConstant ()
void setConstructor ()
void addressFactor ()
void expressions ()
void functionCall ()
void actualParameterList ()
void setGroup ()
void valueTypecast ()
void simpleStatement ()
void structuredStatement ()
void assignmentStatement ()
void procedureStatement ()
void gotoStatement ()
void raiseStatement ()
void identifierOrArrayIdentifier ()
void assignmentOperator ()
void repetitiveStatement ()
void conditionalStatement ()
void exceptionStatement ()
void withStatement ()
void ifStatement ()
void caseStatement ()
void forStatement ()
void repeatStatement ()
void whileStatement ()
void caseListElement ()
void constList ()
void forList ()
void initialValue ()
void finalValue ()
void recordVariableList ()
void variable ()
 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 operatorDefinition ()
void assignmentOperatorDefinition ()
void arithmeticOperatorDefinition ()
void comparisonOperatorDefinition ()
void tryStatement ()
void statements ()
void exceptOrFinallyPart ()
void exceptionHandlers ()
void exceptionHandler ()
void sign ()
void constantChr ()
void unsignedNumber ()
void unsignedReal ()
RefPascalAST getAST ()

Protected Member Functions

 PascalParser (antlr::TokenBuffer &tokenBuf, int k)
 PascalParser (antlr::TokenStream &lexer, int k)

Protected Attributes

RefPascalAST returnAST

Private Attributes

unsigned int m_numberOfErrors
ProblemReporterm_problemReporter

Static Private Attributes

const char * tokenNames []
const int NUM_TOKENS = 190
const unsigned long _tokenSet_0_data_ [] = { 2UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_0
const unsigned long _tokenSet_1_data_ [] = { 1073741824UL, 177924UL, 0UL, 192UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_1
const unsigned long _tokenSet_2_data_ [] = { 100663296UL, 177990UL, 0UL, 192UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_2
const unsigned long _tokenSet_3_data_ [] = { 121634818UL, 177988UL, 0UL, 192UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_3
const unsigned long _tokenSet_4_data_ [] = { 994050050UL, 706736UL, 101056512UL, 4294963649UL, 833972167UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_4
const unsigned long _tokenSet_5_data_ [] = { 67108864UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_5
const unsigned long _tokenSet_6_data_ [] = { 33554432UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_6
const unsigned long _tokenSet_7_data_ [] = { 100663296UL, 68UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_7
const unsigned long _tokenSet_8_data_ [] = { 184549376UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_8
const unsigned long _tokenSet_9_data_ [] = { 788529154UL, 177988UL, 0UL, 127424UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_9
const unsigned long _tokenSet_10_data_ [] = { 1056964610UL, 177988UL, 0UL, 192UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_10
const unsigned long _tokenSet_11_data_ [] = { 16777216UL, 16416UL, 67108864UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_11
const unsigned long _tokenSet_12_data_ [] = { 0UL, 2UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_12
const unsigned long _tokenSet_13_data_ [] = { 33554432UL, 68UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_13
const unsigned long _tokenSet_14_data_ [] = { 33554432UL, 128UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_14
const unsigned long _tokenSet_15_data_ [] = { 0UL, 168450UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_15
const unsigned long _tokenSet_16_data_ [] = { 50331648UL, 128UL, 0UL, 0UL, 805584896UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_16
const unsigned long _tokenSet_17_data_ [] = { 100663296UL, 177988UL, 0UL, 192UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_17
const unsigned long _tokenSet_18_data_ [] = { 184549376UL, 16512UL, 0UL, 0UL, 805584896UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_18
const unsigned long _tokenSet_19_data_ [] = { 100663296UL, 177990UL, 0UL, 192UL, 0UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_19
const unsigned long _tokenSet_20_data_ [] = { 100663296UL, 177988UL, 0UL, 192UL, 0UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_20
const unsigned long _tokenSet_21_data_ [] = { 1061158914UL, 720868UL, 67239936UL, 4294840768UL, 825581575UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_21
const unsigned long _tokenSet_22_data_ [] = { 16777216UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_22
const unsigned long _tokenSet_23_data_ [] = { 16777216UL, 2080UL, 67108864UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_23
const unsigned long _tokenSet_24_data_ [] = { 0UL, 4UL, 536870920UL, 0UL, 206215168UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_24
const unsigned long _tokenSet_25_data_ [] = { 121634818UL, 178116UL, 0UL, 192UL, 805584896UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_25
const unsigned long _tokenSet_26_data_ [] = { 16777216UL, 1818406UL, 67108864UL, 192UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_26
const unsigned long _tokenSet_27_data_ [] = { 117440514UL, 177988UL, 0UL, 192UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_27
const unsigned long _tokenSet_28_data_ [] = { 16777216UL, 16400UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_28
const unsigned long _tokenSet_29_data_ [] = { 16777216UL, 16416UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_29
const unsigned long _tokenSet_30_data_ [] = { 16777216UL, 32UL, 67108864UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_30
const unsigned long _tokenSet_31_data_ [] = { 0UL, 426000UL, 3657039864UL, 50331907UL, 2147483648UL, 13UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_31
const unsigned long _tokenSet_32_data_ [] = { 188743680UL, 524448UL, 67239936UL, 0UL, 825581568UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_32
const unsigned long _tokenSet_33_data_ [] = { 0UL, 0UL, 8UL, 50331648UL, 2147483648UL, 13UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_33
const unsigned long _tokenSet_34_data_ [] = { 16777216UL, 16UL, 8UL, 0UL, 0UL, 12UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_34
const unsigned long _tokenSet_35_data_ [] = { 0UL, 16UL, 8UL, 50331648UL, 2147483648UL, 13UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_35
const unsigned long _tokenSet_36_data_ [] = { 0UL, 16UL, 33554440UL, 50331648UL, 2147483768UL, 15UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_36
const unsigned long _tokenSet_37_data_ [] = { 16777216UL, 2064UL, 100663304UL, 4294836224UL, 2147483775UL, 15UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_37
const unsigned long _tokenSet_38_data_ [] = { 184549378UL, 182304UL, 67239936UL, 4544UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_38
const unsigned long _tokenSet_39_data_ [] = { 150994944UL, 32UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_39
const unsigned long _tokenSet_40_data_ [] = { 150994944UL, 2080UL, 67108864UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_40
const unsigned long _tokenSet_41_data_ [] = { 318767104UL, 165936UL, 67108864UL, 127424UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_41
const unsigned long _tokenSet_42_data_ [] = { 0UL, 32UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_42
const unsigned long _tokenSet_43_data_ [] = { 792723458UL, 720868UL, 67239936UL, 4294963648UL, 825581575UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_43
const unsigned long _tokenSet_44_data_ [] = { 0UL, 2064UL, 100794376UL, 4294836224UL, 2147483775UL, 15UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_44
const unsigned long _tokenSet_45_data_ [] = { 134217728UL, 0UL, 67108864UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_45
const unsigned long _tokenSet_46_data_ [] = { 33554432UL, 32UL, 536870912UL, 0UL, 0UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_46
const unsigned long _tokenSet_47_data_ [] = { 50331648UL, 32UL, 536870912UL, 0UL, 0UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_47
const unsigned long _tokenSet_48_data_ [] = { 33554432UL, 2260992UL, 0UL, 6640UL, 0UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_48
const unsigned long _tokenSet_49_data_ [] = { 0UL, 163840UL, 0UL, 192UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_49
const unsigned long _tokenSet_50_data_ [] = { 33554432UL, 163840UL, 0UL, 4544UL, 0UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_50
const unsigned long _tokenSet_51_data_ [] = { 33554432UL, 163840UL, 0UL, 192UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_51
const unsigned long _tokenSet_52_data_ [] = { 0UL, 163840UL, 0UL, 4544UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_52
const unsigned long _tokenSet_53_data_ [] = { 33554432UL, 163840UL, 0UL, 4544UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_53
const unsigned long _tokenSet_54_data_ [] = { 33554432UL, 163840UL, 0UL, 127424UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_54
const unsigned long _tokenSet_55_data_ [] = { 0UL, 16384UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_55
const unsigned long _tokenSet_56_data_ [] = { 33554432UL, 163840UL, 0UL, 119232UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_56
const unsigned long _tokenSet_57_data_ [] = { 33554432UL, 163840UL, 0UL, 102848UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_57
const unsigned long _tokenSet_58_data_ [] = { 188743680UL, 526496UL, 67239936UL, 16646144UL, 825581568UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_58
const unsigned long _tokenSet_59_data_ [] = { 188743680UL, 526496UL, 67239936UL, 268304384UL, 825581568UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_59
const unsigned long _tokenSet_60_data_ [] = { 188743680UL, 526512UL, 67239936UL, 4294836224UL, 825581575UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_60
const unsigned long _tokenSet_61_data_ [] = { 188743680UL, 526496UL, 67239936UL, 4294836224UL, 825581575UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_61
const unsigned long _tokenSet_62_data_ [] = { 50331648UL, 128UL, 0UL, 0UL, 805584960UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_62
const unsigned long _tokenSet_63_data_ [] = { 0UL, 0UL, 33816576UL, 0UL, 1920UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_63
const unsigned long _tokenSet_64_data_ [] = { 50331648UL, 144UL, 0UL, 0UL, 805584896UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_64
const unsigned long _tokenSet_65_data_ [] = { 0UL, 0UL, 262144UL, 0UL, 1920UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_65
const unsigned long _tokenSet_66_data_ [] = { 121634818UL, 178132UL, 570425352UL, 50331840UL, 4233025656UL, 15UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_66
const unsigned long _tokenSet_67_data_ [] = { 50331648UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_67
const unsigned long _tokenSet_68_data_ [] = { 0UL, 0UL, 0UL, 0UL, 65536UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_68
const unsigned long _tokenSet_69_data_ [] = { 0UL, 0UL, 0UL, 0UL, 3145728UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_69
const unsigned long _tokenSet_70_data_ [] = { 134217728UL, 0UL, 0UL, 0UL, 65536UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_70
const unsigned long _tokenSet_71_data_ [] = { 0UL, 0UL, 0UL, 0UL, 0UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_71
const unsigned long _tokenSet_72_data_ [] = { 33554432UL, 0UL, 0UL, 0UL, 805306368UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_72
const unsigned long _tokenSet_73_data_ [] = { 50331648UL, 0UL, 0UL, 0UL, 16384UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_73
const unsigned long _tokenSet_74_data_ [] = { 0UL, 0UL, 8UL, 0UL, 0UL, 12UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_74
const unsigned long _tokenSet_75_data_ [] = { 1061158914UL, 720868UL, 67239936UL, 4294840768UL, 825581575UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_75
const unsigned long _tokenSet_76_data_ [] = { 188743682UL, 706720UL, 67239936UL, 4294840768UL, 825581575UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const antlr::BitSet _tokenSet_76

Constructor & Destructor Documentation

PascalParser::PascalParser antlr::TokenBuffer &  tokenBuf,
int  k
[protected]
 

Definition at line 8 of file PascalParser.cpp.

References ANTLR_USE_NAMESPACE, and PascalParser().

Referenced by PascalParser().

PascalParser::PascalParser antlr::TokenBuffer &  tokenBuf  ) 
 

Definition at line 13 of file PascalParser.cpp.

References ANTLR_USE_NAMESPACE, and PascalParser().

PascalParser::PascalParser antlr::TokenStream &  lexer,
int  k
[protected]
 

Definition at line 18 of file PascalParser.cpp.

References ANTLR_USE_NAMESPACE, and PascalParser().

PascalParser::PascalParser antlr::TokenStream &  lexer  ) 
 

Definition at line 23 of file PascalParser.cpp.

References ANTLR_USE_NAMESPACE, and PascalParser().

PascalParser::PascalParser const antlr::ParserSharedInputState state  ) 
 

Definition at line 28 of file PascalParser.cpp.

References ANTLR_USE_NAMESPACE, ParserSharedInputState, and PascalParser().


Member Function Documentation

void PascalParser::actualParameterList  ) 
 

Definition at line 7267 of file PascalParser.cpp.

References _tokenSet_62, ANTLR_USE_NAMESPACE, expressions(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by functionCall(), and procedureStatement().

void PascalParser::addressConstant  ) 
 

Definition at line 3744 of file PascalParser.cpp.

References _tokenSet_16, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by raiseStatement().

void PascalParser::addressFactor  ) 
 

Definition at line 7151 of file PascalParser.cpp.

References _tokenSet_61, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by factor().

void PascalParser::arithmeticOperatorDefinition  ) 
 

Definition at line 8796 of file PascalParser.cpp.

References _tokenSet_71, ANTLR_USE_NAMESPACE, formalParameterList(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by operatorDefinition().

void PascalParser::arrayConstant  ) 
 

Definition at line 3626 of file PascalParser.cpp.

References _tokenSet_39, ANTLR_USE_NAMESPACE, constant(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by typedConstant().

void PascalParser::arrayIndexType  ) 
 

Definition at line 4800 of file PascalParser.cpp.

References _tokenSet_36, _tokenSet_44, _tokenSet_45, ANTLR_USE_NAMESPACE, arraySubrangeType(), enumeratedType(), expression(), ASTRefCount< T >::get(), nullAST, ordinalType(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by arrayType().

void PascalParser::arraySubrangeType  ) 
 

Definition at line 4862 of file PascalParser.cpp.

References _tokenSet_45, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by arrayIndexType().

void PascalParser::arrayType  ) 
 

Definition at line 4465 of file PascalParser.cpp.

References _tokenSet_23, ANTLR_USE_NAMESPACE, arrayIndexType(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and type().

Referenced by structuredType().

void PascalParser::assignedEnumList  ) 
 

Definition at line 4385 of file PascalParser.cpp.

References _tokenSet_42, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by enumeratedType().

void PascalParser::assignmentOperator  ) 
 

Definition at line 7774 of file PascalParser.cpp.

References _tokenSet_36, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by assignmentStatement().

void PascalParser::assignmentOperatorDefinition  ) 
 

Definition at line 8769 of file PascalParser.cpp.

References _tokenSet_71, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and valueParameter().

Referenced by operatorDefinition().

void PascalParser::assignmentStatement  ) 
 

Definition at line 7529 of file PascalParser.cpp.

References _tokenSet_16, ANTLR_USE_NAMESPACE, assignmentOperator(), expression(), ASTRefCount< T >::get(), identifierOrArrayIdentifier(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by simpleStatement().

void PascalParser::block  ) 
 

Definition at line 388 of file PascalParser.cpp.

References _tokenSet_3, ANTLR_USE_NAMESPACE, declarationPart(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and statementPart().

Referenced by program(), and subroutineBlock().

void PascalParser::callModifiers  ) 
 

Definition at line 3198 of file PascalParser.cpp.

References _tokenSet_23, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by classMethodDirectives(), methodDirectives(), modifiers(), and proceduralType().

void PascalParser::caseListElement  ) 
 

Definition at line 8297 of file PascalParser.cpp.

References _tokenSet_67, ANTLR_USE_NAMESPACE, constList(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and statement().

Referenced by caseStatement().

void PascalParser::caseStatement  ) 
 

Definition at line 8053 of file PascalParser.cpp.

References _tokenSet_16, _tokenSet_33, ANTLR_USE_NAMESPACE, caseListElement(), expression(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and statement().

Referenced by conditionalStatement().

void PascalParser::classComponentList  ) 
 

Definition at line 5622 of file PascalParser.cpp.

References _tokenSet_52, _tokenSet_6, ANTLR_USE_NAMESPACE, classMethodDefinition(), fieldDefinition(), ASTRefCount< T >::get(), nullAST, propertyDefinition(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by classType().

void PascalParser::classMethodDefinition  ) 
 

Definition at line 5792 of file PascalParser.cpp.

References _tokenSet_53, ANTLR_USE_NAMESPACE, classMethodDirectives(), constructorHeader(), destructorHeader(), functionHeader(), ASTRefCount< T >::get(), nullAST, procedureHeader(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by classComponentList().

void PascalParser::classMethodDirectives  ) 
 

Definition at line 5956 of file PascalParser.cpp.

References _tokenSet_53, ANTLR_USE_NAMESPACE, callModifiers(), directiveVariants(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by classMethodDefinition().

void PascalParser::classType  ) 
 

Definition at line 4646 of file PascalParser.cpp.

References _tokenSet_23, ANTLR_USE_NAMESPACE, classComponentList(), classVisibilitySpecifier(), ASTRefCount< T >::get(), heritage(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by structuredType().

void PascalParser::classVisibilitySpecifier  ) 
 

Definition at line 5743 of file PascalParser.cpp.

References _tokenSet_6, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by classType().

void PascalParser::comparisonOperatorDefinition  ) 
 

Definition at line 8854 of file PascalParser.cpp.

References _tokenSet_71, ANTLR_USE_NAMESPACE, formalParameterList(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by operatorDefinition().

void PascalParser::compilationUnit  ) 
 

Definition at line 33 of file PascalParser.cpp.

References _tokenSet_0, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), library(), nullAST, program(), RefPascalAST, reportError(), returnAST, ASTPair::root, and unit().

Referenced by PascalSupportPart::parse().

void PascalParser::componentList  ) 
 

Definition at line 5177 of file PascalParser.cpp.

References _tokenSet_49, _tokenSet_6, ANTLR_USE_NAMESPACE, fieldDefinition(), ASTRefCount< T >::get(), methodDefinition(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by objectType().

void PascalParser::compoundStatement  ) 
 

Definition at line 2091 of file PascalParser.cpp.

References _tokenSet_24, _tokenSet_25, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and statement().

Referenced by statementPart(), and structuredStatement().

void PascalParser::conditionalStatement  ) 
 

Definition at line 7901 of file PascalParser.cpp.

References _tokenSet_16, ANTLR_USE_NAMESPACE, caseStatement(), ASTRefCount< T >::get(), ifStatement(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by structuredStatement().

void PascalParser::constant  ) 
 

Definition at line 3458 of file PascalParser.cpp.

References _tokenSet_38, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, constantChr(), ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, sign(), string(), and unsignedNumber().

Referenced by arrayConstant(), constList(), defaultSpecifier(), recordConstant(), subrangeType(), subrangeTypeOrTypeIdentifier(), typedConstant(), and variant().

void PascalParser::constantChr  ) 
 

Definition at line 9299 of file PascalParser.cpp.

References _tokenSet_75, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and unsignedInteger().

Referenced by constant(), stringConstant(), and unsignedConstant().

void PascalParser::constantDeclaration  ) 
 

Definition at line 1605 of file PascalParser.cpp.

References _tokenSet_19, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by constantDeclarationPart().

void PascalParser::constantDeclarationPart  ) 
 

Definition at line 1203 of file PascalParser.cpp.

References _tokenSet_2, ANTLR_USE_NAMESPACE, constantDeclaration(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and typedConstantDeclaration().

Referenced by declarationPart(), and interfacePart().

void PascalParser::constantParameter  ) 
 

Definition at line 3086 of file PascalParser.cpp.

References _tokenSet_30, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifierList(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and untypedParameterPart().

Referenced by parameterDeclaration().

void PascalParser::constList  ) 
 

Definition at line 8331 of file PascalParser.cpp.

References _tokenSet_55, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, constant(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by caseListElement().

void PascalParser::constructorDeclaration  ) 
 

Definition at line 2033 of file PascalParser.cpp.

References _tokenSet_17, ANTLR_USE_NAMESPACE, constructorHeader(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and subroutineBlock().

Referenced by procedureAndFunctionDeclaration().

void PascalParser::constructorHeader  ) 
 

Definition at line 5408 of file PascalParser.cpp.

References _tokenSet_22, ANTLR_USE_NAMESPACE, formalParameterList(), ASTRefCount< T >::get(), identifier(), nullAST, qualifiedMethodIdentifier(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by classMethodDefinition(), constructorDeclaration(), and methodDefinition().

void PascalParser::declarationPart  ) 
 

Definition at line 516 of file PascalParser.cpp.

References _tokenSet_7, ANTLR_USE_NAMESPACE, constantDeclarationPart(), ASTRefCount< T >::get(), labelDeclarationPart(), nullAST, procedureAndFunctionDeclarationPart(), RefPascalAST, reportError(), resourcestringDeclarationPart(), returnAST, ASTPair::root, typeDeclarationPart(), and variableDeclarationPart().

Referenced by block(), implementationPart(), and libraryBlock().

void PascalParser::defaultSpecifier  ) 
 

Definition at line 6430 of file PascalParser.cpp.

References _tokenSet_53, ANTLR_USE_NAMESPACE, constant(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by propertySpecifiers().

void PascalParser::destructorDeclaration  ) 
 

Definition at line 2062 of file PascalParser.cpp.

References _tokenSet_17, ANTLR_USE_NAMESPACE, destructorHeader(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and subroutineBlock().

Referenced by procedureAndFunctionDeclaration().

void PascalParser::destructorHeader  ) 
 

Definition at line 5456 of file PascalParser.cpp.

References _tokenSet_22, ANTLR_USE_NAMESPACE, formalParameterList(), ASTRefCount< T >::get(), identifier(), nullAST, qualifiedMethodIdentifier(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by classMethodDefinition(), destructorDeclaration(), and methodDefinition().

void PascalParser::directiveVariants  ) 
 

Definition at line 6051 of file PascalParser.cpp.

References _tokenSet_22, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), integerConstant(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and stringConstant().

Referenced by classMethodDirectives().

void PascalParser::enumeratedType  ) 
 

Definition at line 3877 of file PascalParser.cpp.

References _tokenSet_40, ANTLR_USE_NAMESPACE, assignedEnumList(), ASTRefCount< T >::get(), identifier(), identifierList(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by arrayIndexType(), and type().

void PascalParser::exceptionHandler  ) 
 

Definition at line 9207 of file PascalParser.cpp.

References _tokenSet_73, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and statement().

Referenced by exceptionHandlers().

void PascalParser::exceptionHandlers  ) 
 

Definition at line 9116 of file PascalParser.cpp.

References _tokenSet_6, ANTLR_USE_NAMESPACE, exceptionHandler(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and statements().

Referenced by exceptOrFinallyPart().

void PascalParser::exceptionStatement  ) 
 

Definition at line 7944 of file PascalParser.cpp.

References _tokenSet_16, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and tryStatement().

Referenced by structuredStatement().

void PascalParser::exceptOrFinallyPart  ) 
 

Definition at line 9016 of file PascalParser.cpp.

References _tokenSet_6, ANTLR_USE_NAMESPACE, exceptionHandlers(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and statements().

Referenced by tryStatement().

void PascalParser::exportsClause  ) 
 

Definition at line 486 of file PascalParser.cpp.

References _tokenSet_6, ANTLR_USE_NAMESPACE, exportsList(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by library().

void PascalParser::exportsEntry  ) 
 

Definition at line 679 of file PascalParser.cpp.

References _tokenSet_8, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifier(), integerConstant(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and stringConstant().

Referenced by exportsList().

void PascalParser::exportsList  ) 
 

Definition at line 622 of file PascalParser.cpp.

References _tokenSet_6, ANTLR_USE_NAMESPACE, exportsEntry(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by exportsClause().

void PascalParser::expression  ) 
 

Definition at line 3283 of file PascalParser.cpp.

References _tokenSet_32, ANTLR_USE_NAMESPACE, expressionSign(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and simpleExpression().

Referenced by arrayIndexType(), arraySubrangeType(), assignedEnumList(), assignmentStatement(), caseStatement(), constantDeclaration(), expressions(), factor(), finalValue(), identifierOrArrayIdentifier(), identifierOrValueTypecastOrFunctionCall(), ifStatement(), initialValue(), proceduralConstant(), repeatStatement(), setGroup(), valueTypecast(), variable(), and whileStatement().

void PascalParser::expressions  ) 
 

Definition at line 7176 of file PascalParser.cpp.

References _tokenSet_42, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by actualParameterList(), and identifierOrValueTypecastOrFunctionCall().

void PascalParser::expressionSign  ) 
 

Definition at line 6602 of file PascalParser.cpp.

References _tokenSet_36, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by expression().

void PascalParser::externalDirective  ) 
 

Definition at line 2712 of file PascalParser.cpp.

References _tokenSet_27, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), integerConstant(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and stringConstant().

Referenced by subroutineBlock().

void PascalParser::factor  ) 
 

Definition at line 6757 of file PascalParser.cpp.

References _tokenSet_60, _tokenSet_61, addressFactor(), ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), identifier(), identifierOrValueTypecastOrFunctionCall(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, setConstructor(), and unsignedConstant().

Referenced by term().

void PascalParser::fieldDefinition  ) 
 

Definition at line 5313 of file PascalParser.cpp.

References _tokenSet_50, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifierList(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and type().

Referenced by classComponentList(), and componentList().

void PascalParser::fieldList  ) 
 

Definition at line 4891 of file PascalParser.cpp.

References _tokenSet_46, ANTLR_USE_NAMESPACE, fixedField(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and variantPart().

Referenced by recordType(), and variant().

void PascalParser::fieldOrMethod  ) 
 

Definition at line 6511 of file PascalParser.cpp.

References _tokenSet_56, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by readSpecifier(), and writeSpecifier().

void PascalParser::fileType  ) 
 

Definition at line 4769 of file PascalParser.cpp.

References _tokenSet_23, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and type().

Referenced by structuredType().

void PascalParser::finalizationPart  ) 
 

Definition at line 1111 of file PascalParser.cpp.

References _tokenSet_6, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and statement().

Referenced by unit().

void PascalParser::finalValue  ) 
 

Definition at line 8464 of file PascalParser.cpp.

References _tokenSet_68, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by forList().

void PascalParser::fixedField  ) 
 

Definition at line 4934 of file PascalParser.cpp.

References _tokenSet_46, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifierList(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and type().

Referenced by fieldList().

void PascalParser::forList  ) 
 

Definition at line 8384 of file PascalParser.cpp.

References _tokenSet_68, ANTLR_USE_NAMESPACE, finalValue(), ASTRefCount< T >::get(), initialValue(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by forStatement().

void PascalParser::formalParameterList  ) 
 

Definition at line 2597 of file PascalParser.cpp.

References _tokenSet_29, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, parameterDeclaration(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by arithmeticOperatorDefinition(), comparisonOperatorDefinition(), constructorHeader(), destructorHeader(), functionHeader(), functionHeaderEnding(), and procedureHeader().

void PascalParser::forStatement  ) 
 

Definition at line 8143 of file PascalParser.cpp.

References _tokenSet_16, ANTLR_USE_NAMESPACE, forList(), ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and statement().

Referenced by repetitiveStatement().

void PascalParser::functionCall  ) 
 

Definition at line 7216 of file PascalParser.cpp.

References _tokenSet_62, actualParameterList(), ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by raiseStatement().

void PascalParser::functionDeclaration  ) 
 

Definition at line 2004 of file PascalParser.cpp.

References _tokenSet_17, ANTLR_USE_NAMESPACE, functionHeader(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and subroutineBlock().

Referenced by procedureAndFunctionDeclaration().

void PascalParser::functionHeader  ) 
 

Definition at line 2330 of file PascalParser.cpp.

References _tokenSet_26, ANTLR_USE_NAMESPACE, formalParameterList(), ASTRefCount< T >::get(), identifier(), modifiers(), nullAST, qualifiedMethodIdentifier(), RefPascalAST, reportError(), returnAST, ASTPair::root, and type().

Referenced by classMethodDefinition(), functionDeclaration(), methodDefinition(), proceduralTypePart1(), and procedureHeadersPart().

void PascalParser::functionHeaderEnding  ) 
 

Definition at line 2831 of file PascalParser.cpp.

References _tokenSet_0, ANTLR_USE_NAMESPACE, formalParameterList(), ASTRefCount< T >::get(), modifiers(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and type().

RefPascalAST PascalParser::getAST  ) 
 

Definition at line 9400 of file PascalParser.cpp.

References RefPascalAST, and returnAST.

Referenced by PascalSupportPart::parse().

int PascalParser::getNumTokens void   )  const [inline]
 

Definition at line 73 of file PascalParser.hpp.

References NUM_TOKENS.

Referenced by getTokenName().

const char* PascalParser::getTokenName int  type  )  const [inline]
 

Definition at line 77 of file PascalParser.hpp.

References getNumTokens(), getTokenName(), and tokenNames.

Referenced by getTokenName().

const char* const* PascalParser::getTokenNames  )  const [inline]
 

Definition at line 82 of file PascalParser.hpp.

References tokenNames.

void PascalParser::gotoStatement  ) 
 

Definition at line 7611 of file PascalParser.cpp.

References _tokenSet_16, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), label(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by simpleStatement().

void PascalParser::heritage  ) 
 

Definition at line 5151 of file PascalParser.cpp.

References _tokenSet_48, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by classType(), and objectType().

void PascalParser::identifier  ) 
 

Definition at line 416 of file PascalParser.cpp.

References _tokenSet_4, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by addressFactor(), assignedEnumList(), constant(), constantDeclaration(), constructorHeader(), destructorHeader(), enumeratedType(), exceptionHandler(), exportsEntry(), factor(), fieldOrMethod(), forStatement(), functionCall(), functionHeader(), heritage(), identifierList(), identifierOrArrayIdentifier(), identifierOrValueTypecastOrFunctionCall(), library(), operatorDefinition(), procedureHeader(), procedureStatement(), programHeading(), propertyDefinition(), qualifiedMethodIdentifier(), recordConstant(), stringConstantDeclaration(), typedConstant(), typedConstantDeclaration(), typeDeclaration(), typeIdentifier(), unit(), variable(), and variantPart().

void PascalParser::identifierList  ) 
 

Definition at line 865 of file PascalParser.cpp.

References _tokenSet_11, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by constantParameter(), enumeratedType(), fieldDefinition(), fixedField(), programHeading(), usesClause(), valueParameter(), variableDeclaration(), and variableParameter().

void PascalParser::identifierOrArrayIdentifier  ) 
 

Definition at line 7715 of file PascalParser.cpp.

References _tokenSet_65, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by assignmentStatement().

void PascalParser::identifierOrValueTypecastOrFunctionCall  ) 
 

Definition at line 6926 of file PascalParser.cpp.

References _tokenSet_61, ANTLR_USE_NAMESPACE, expression(), expressions(), ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by factor().

void PascalParser::ifStatement  ) 
 

Definition at line 8003 of file PascalParser.cpp.

References _tokenSet_16, _tokenSet_24, _tokenSet_66, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and statement().

Referenced by conditionalStatement().

void PascalParser::implementationPart  ) 
 

Definition at line 1004 of file PascalParser.cpp.

References _tokenSet_13, ANTLR_USE_NAMESPACE, declarationPart(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and usesClause().

Referenced by unit().

void PascalParser::initializationPart  ) 
 

Definition at line 1065 of file PascalParser.cpp.

References _tokenSet_14, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and statement().

Referenced by unit().

void PascalParser::initializeASTFactory antlr::ASTFactory &  factory  ) 
 

Definition at line 9405 of file PascalParser.cpp.

References initializeASTFactory().

Referenced by initializeASTFactory(), and PascalSupportPart::parse().

void PascalParser::initialValue  ) 
 

Definition at line 8440 of file PascalParser.cpp.

References _tokenSet_69, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by forList().

void PascalParser::integerConstant  ) 
 

Definition at line 760 of file PascalParser.cpp.

References _tokenSet_9, ASTPair::advanceChildToEnd(), ANTLR_USE_NAMESPACE, ASTPair::child, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, sign(), and unsignedInteger().

Referenced by directiveVariants(), exportsEntry(), externalDirective(), and propertyInterface().

void PascalParser::interfacePart  ) 
 

Definition at line 918 of file PascalParser.cpp.

References _tokenSet_12, ANTLR_USE_NAMESPACE, constantDeclarationPart(), ASTRefCount< T >::get(), nullAST, procedureHeadersPart(), RefPascalAST, reportError(), returnAST, ASTPair::root, typeDeclarationPart(), and usesClause().

Referenced by unit().

void PascalParser::label  ) 
 

Definition at line 1581 of file PascalParser.cpp.

References _tokenSet_18, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and unsignedInteger().

Referenced by gotoStatement(), labelDeclarationPart(), and statement().

void PascalParser::labelDeclarationPart  ) 
 

Definition at line 1422 of file PascalParser.cpp.

References _tokenSet_17, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), label(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by declarationPart().

void PascalParser::library  ) 
 

Definition at line 143 of file PascalParser.cpp.

References _tokenSet_0, ANTLR_USE_NAMESPACE, exportsClause(), ASTRefCount< T >::get(), identifier(), libraryBlock(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and usesClause().

Referenced by compilationUnit().

void PascalParser::libraryBlock  ) 
 

Definition at line 442 of file PascalParser.cpp.

References _tokenSet_5, ANTLR_USE_NAMESPACE, declarationPart(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and statementPart().

Referenced by library().

void PascalParser::methodDefinition  ) 
 

Definition at line 5343 of file PascalParser.cpp.

References _tokenSet_51, ANTLR_USE_NAMESPACE, constructorHeader(), destructorHeader(), functionHeader(), ASTRefCount< T >::get(), methodDirectives(), nullAST, procedureHeader(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by componentList().

void PascalParser::methodDirectives  ) 
 

Definition at line 5504 of file PascalParser.cpp.

References _tokenSet_51, ANTLR_USE_NAMESPACE, callModifiers(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by methodDefinition().

void PascalParser::modifiers  ) 
 

Definition at line 2639 of file PascalParser.cpp.

References _tokenSet_22, ANTLR_USE_NAMESPACE, callModifiers(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and stringConstant().

Referenced by functionHeader(), functionHeaderEnding(), and procedureHeader().

unsigned int PascalParser::numberOfErrors  )  const [inline]
 

Definition at line 36 of file PascalParser.hpp.

References m_numberOfErrors.

Referenced by PascalSupportPart::parse().

void PascalParser::objectType  ) 
 

Definition at line 4560 of file PascalParser.cpp.

References _tokenSet_23, ANTLR_USE_NAMESPACE, componentList(), ASTRefCount< T >::get(), heritage(), nullAST, objectVisibilitySpecifier(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by structuredType().

void PascalParser::objectVisibilitySpecifier  ) 
 

Definition at line 5270 of file PascalParser.cpp.

References _tokenSet_6, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by objectType().

void PascalParser::operatorDefinition  ) 
 

Definition at line 8690 of file PascalParser.cpp.

References _tokenSet_0, ANTLR_USE_NAMESPACE, arithmeticOperatorDefinition(), assignmentOperatorDefinition(), comparisonOperatorDefinition(), ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, subroutineBlock(), and type().

void PascalParser::ordinalType  ) 
 

Definition at line 4174 of file PascalParser.cpp.

References _tokenSet_40, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by arrayIndexType(), setType(), and simpleType().

void PascalParser::parameterDeclaration  ) 
 

Definition at line 2914 of file PascalParser.cpp.

References _tokenSet_30, ANTLR_USE_NAMESPACE, constantParameter(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, valueParameter(), and variableParameter().

Referenced by formalParameterList(), and propertyParameterList().

void PascalParser::pointerType  ) 
 

Definition at line 4085 of file PascalParser.cpp.

References _tokenSet_23, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and typeIdentifier().

Referenced by type().

void PascalParser::proceduralConstant  ) 
 

Definition at line 3720 of file PascalParser.cpp.

References _tokenSet_22, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by typedConstant().

void PascalParser::proceduralType  ) 
 

Definition at line 4115 of file PascalParser.cpp.

References _tokenSet_23, ANTLR_USE_NAMESPACE, callModifiers(), ASTRefCount< T >::get(), nullAST, proceduralTypePart1(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by type().

void PascalParser::proceduralTypePart1  ) 
 

Definition at line 5086 of file PascalParser.cpp.

References _tokenSet_23, ANTLR_USE_NAMESPACE, functionHeader(), ASTRefCount< T >::get(), nullAST, procedureHeader(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by proceduralType().

void PascalParser::procedureAndFunctionDeclaration  ) 
 

Definition at line 1914 of file PascalParser.cpp.

References _tokenSet_17, ANTLR_USE_NAMESPACE, constructorDeclaration(), destructorDeclaration(), functionDeclaration(), ASTRefCount< T >::get(), nullAST, procedureDeclaration(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by procedureAndFunctionDeclarationPart().

void PascalParser::procedureAndFunctionDeclarationPart  ) 
 

Definition at line 1557 of file PascalParser.cpp.

References _tokenSet_17, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, procedureAndFunctionDeclaration(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by declarationPart().

void PascalParser::procedureDeclaration  ) 
 

Definition at line 1975 of file PascalParser.cpp.

References _tokenSet_17, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, procedureHeader(), RefPascalAST, reportError(), returnAST, ASTPair::root, and subroutineBlock().

Referenced by procedureAndFunctionDeclaration().

void PascalParser::procedureHeader  ) 
 

Definition at line 2191 of file PascalParser.cpp.

References _tokenSet_26, ANTLR_USE_NAMESPACE, formalParameterList(), ASTRefCount< T >::get(), identifier(), modifiers(), nullAST, qualifiedMethodIdentifier(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by classMethodDefinition(), methodDefinition(), proceduralTypePart1(), procedureDeclaration(), and procedureHeadersPart().

void PascalParser::procedureHeadersPart  ) 
 

Definition at line 1295 of file PascalParser.cpp.

References _tokenSet_15, ANTLR_USE_NAMESPACE, functionHeader(), ASTRefCount< T >::get(), nullAST, procedureHeader(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by interfacePart().

void PascalParser::procedureStatement  ) 
 

Definition at line 7561 of file PascalParser.cpp.

References _tokenSet_16, actualParameterList(), ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by simpleStatement().

void PascalParser::program  ) 
 

Definition at line 85 of file PascalParser.cpp.

References _tokenSet_0, ANTLR_USE_NAMESPACE, block(), ASTRefCount< T >::get(), nullAST, programHeading(), RefPascalAST, reportError(), returnAST, ASTPair::root, and usesClause().

Referenced by compilationUnit().

void PascalParser::programHeading  ) 
 

Definition at line 304 of file PascalParser.cpp.

References _tokenSet_1, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifier(), identifierList(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by program().

void PascalParser::propertyDefinition  ) 
 

Definition at line 5891 of file PascalParser.cpp.

References _tokenSet_53, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifier(), nullAST, propertyInterface(), propertySpecifiers(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by classComponentList().

void PascalParser::propertyInterface  ) 
 

Definition at line 6143 of file PascalParser.cpp.

References _tokenSet_54, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), integerConstant(), nullAST, propertyParameterList(), RefPascalAST, reportError(), returnAST, ASTPair::root, and typeIdentifier().

Referenced by propertyDefinition().

void PascalParser::propertyParameterList  ) 
 

Definition at line 6328 of file PascalParser.cpp.

References _tokenSet_55, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, parameterDeclaration(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by propertyInterface().

void PascalParser::propertySpecifiers  ) 
 

Definition at line 6224 of file PascalParser.cpp.

References _tokenSet_53, ANTLR_USE_NAMESPACE, defaultSpecifier(), ASTRefCount< T >::get(), nullAST, readSpecifier(), RefPascalAST, reportError(), returnAST, ASTPair::root, and writeSpecifier().

Referenced by propertyDefinition().

void PascalParser::qualifiedMethodIdentifier  ) 
 

Definition at line 2567 of file PascalParser.cpp.

References _tokenSet_28, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by constructorHeader(), destructorHeader(), functionHeader(), and procedureHeader().

void PascalParser::raiseStatement  ) 
 

Definition at line 7636 of file PascalParser.cpp.

References _tokenSet_16, addressConstant(), ANTLR_USE_NAMESPACE, functionCall(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by simpleStatement().

void PascalParser::readSpecifier  ) 
 

Definition at line 6370 of file PascalParser.cpp.

References _tokenSet_56, ANTLR_USE_NAMESPACE, fieldOrMethod(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by propertySpecifiers().

void PascalParser::realizationPart  ) 
 

Definition at line 1157 of file PascalParser.cpp.

References _tokenSet_6, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and statement().

Referenced by unit().

void PascalParser::realType  ) 
 

Definition at line 4277 of file PascalParser.cpp.

References _tokenSet_23, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by simpleType().

void PascalParser::recordConstant  ) 
 

Definition at line 3570 of file PascalParser.cpp.

References _tokenSet_22, ANTLR_USE_NAMESPACE, constant(), ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by typedConstant().

void PascalParser::recordType  ) 
 

Definition at line 4518 of file PascalParser.cpp.

References _tokenSet_23, ANTLR_USE_NAMESPACE, fieldList(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by structuredType().

void PascalParser::recordVariableList  ) 
 

Definition at line 8488 of file PascalParser.cpp.

References _tokenSet_68, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and variable().

Referenced by withStatement().

void PascalParser::repeatStatement  ) 
 

Definition at line 8183 of file PascalParser.cpp.

References _tokenSet_16, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and statement().

Referenced by repetitiveStatement().

void PascalParser::repetitiveStatement  ) 
 

Definition at line 7849 of file PascalParser.cpp.

References _tokenSet_16, ANTLR_USE_NAMESPACE, forStatement(), ASTRefCount< T >::get(), nullAST, RefPascalAST, repeatStatement(), reportError(), returnAST, ASTPair::root, and whileStatement().

Referenced by structuredStatement().

void PascalParser::reportError const std::string &  errorMessage  )  [inline]
 

Definition at line 47 of file PascalParser.hpp.

References m_numberOfErrors, m_problemReporter, and ProblemReporter::reportError().

void PascalParser::reportError const antlr::RecognitionException &  ex  )  [inline]
 

Definition at line 39 of file PascalParser.hpp.

References m_numberOfErrors, m_problemReporter, ProblemReporter::reportError(), and reportError().

Referenced by actualParameterList(), addressConstant(), addressFactor(), arithmeticOperatorDefinition(), arrayConstant(), arrayIndexType(), arraySubrangeType(), arrayType(), assignedEnumList(), assignmentOperator(), assignmentOperatorDefinition(), assignmentStatement(), block(), callModifiers(), caseListElement(), caseStatement(), classComponentList(), classMethodDefinition(), classMethodDirectives(), classType(), classVisibilitySpecifier(), comparisonOperatorDefinition(), compilationUnit(), componentList(), compoundStatement(), conditionalStatement(), constant(), constantChr(), constantDeclaration(), constantDeclarationPart(), constantParameter(), constList(), constructorDeclaration(), constructorHeader(), declarationPart(), defaultSpecifier(), destructorDeclaration(), destructorHeader(), directiveVariants(), enumeratedType(), exceptionHandler(), exceptionHandlers(), exceptionStatement(), exceptOrFinallyPart(), exportsClause(), exportsEntry(), exportsList(), expression(), expressions(), expressionSign(), externalDirective(), factor(), fieldDefinition(), fieldList(), fieldOrMethod(), fileType(), finalizationPart(), finalValue(), fixedField(), forList(), formalParameterList(), forStatement(), functionCall(), functionDeclaration(), functionHeader(), functionHeaderEnding(), gotoStatement(), heritage(), identifier(), identifierList(), identifierOrArrayIdentifier(), identifierOrValueTypecastOrFunctionCall(), ifStatement(), implementationPart(), initializationPart(), initialValue(), integerConstant(), interfacePart(), label(), labelDeclarationPart(), library(), libraryBlock(), methodDefinition(), methodDirectives(), modifiers(), objectType(), objectVisibilitySpecifier(), operatorDefinition(), ordinalType(), parameterDeclaration(), pointerType(), proceduralConstant(), proceduralType(), proceduralTypePart1(), procedureAndFunctionDeclaration(), procedureAndFunctionDeclarationPart(), procedureDeclaration(), procedureHeader(), procedureHeadersPart(), procedureStatement(), program(), programHeading(), propertyDefinition(), propertyInterface(), propertyParameterList(), propertySpecifiers(), qualifiedMethodIdentifier(), raiseStatement(), readSpecifier(), realizationPart(), realType(), recordConstant(), recordType(), recordVariableList(), repeatStatement(), repetitiveStatement(), reportError(), resourcestringDeclarationPart(), setConstructor(), setGroup(), setType(), sign(), simpleExpression(), simpleStatement(), simpleType(), statement(), statementPart(), statements(), string(), stringConstant(), stringConstantDeclaration(), stringType(), structuredStatement(), structuredType(), subrangeType(), subrangeTypeOrTypeIdentifier(), subroutineBlock(), term(), tryStatement(), type(), typedConstant(), typedConstantDeclaration(), typeDeclaration(), typeDeclarationPart(), typeIdentifier(), unit(), unsignedConstant(), unsignedInteger(), unsignedNumber(), unsignedReal(), untypedParameterPart(), usesClause(), valueParameter(), valueTypecast(), variable(), variableDeclaration(), variableDeclarationPart(), variableParameter(), variant(), variantPart(), whileStatement(), withStatement(), and writeSpecifier().

void PascalParser::reportMessage const std::string &  message  )  [inline]
 

Definition at line 55 of file PascalParser.hpp.

References m_problemReporter, message(), ProblemReporter::reportMessage(), and reportMessage().

Referenced by reportMessage().

void PascalParser::resetErrors  )  [inline]
 

Definition at line 35 of file PascalParser.hpp.

References m_numberOfErrors.

Referenced by PascalSupportPart::parse().

void PascalParser::resourcestringDeclarationPart  ) 
 

Definition at line 1469 of file PascalParser.cpp.

References _tokenSet_17, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and stringConstantDeclaration().

Referenced by declarationPart().

void PascalParser::setConstructor  ) 
 

Definition at line 7080 of file PascalParser.cpp.

References _tokenSet_61, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and setGroup().

Referenced by factor().

void PascalParser::setGroup  ) 
 

Definition at line 7322 of file PascalParser.cpp.

References _tokenSet_45, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by setConstructor().

void PascalParser::setProblemReporter ProblemReporter r  )  [inline]
 

Definition at line 37 of file PascalParser.hpp.

References m_problemReporter, and setProblemReporter().

Referenced by PascalSupportPart::parse(), and setProblemReporter().

void PascalParser::setType  ) 
 

Definition at line 4738 of file PascalParser.cpp.

References _tokenSet_23, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, ordinalType(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by structuredType().

void PascalParser::sign  ) 
 

Definition at line 9252 of file PascalParser.cpp.

References _tokenSet_74, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by constant(), and integerConstant().

void PascalParser::simpleExpression  ) 
 

Definition at line 6535 of file PascalParser.cpp.

References _tokenSet_58, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and term().

Referenced by expression().

void PascalParser::simpleStatement  ) 
 

Definition at line 7399 of file PascalParser.cpp.

References _tokenSet_16, _tokenSet_63, _tokenSet_64, ANTLR_USE_NAMESPACE, assignmentStatement(), ASTRefCount< T >::get(), gotoStatement(), nullAST, procedureStatement(), raiseStatement(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by statement().

void PascalParser::simpleType  ) 
 

Definition at line 3770 of file PascalParser.cpp.

References _tokenSet_23, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, ordinalType(), realType(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by type().

void PascalParser::statement  ) 
 

Definition at line 1338 of file PascalParser.cpp.

References _tokenSet_16, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), label(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, simpleStatement(), and structuredStatement().

Referenced by caseListElement(), caseStatement(), compoundStatement(), exceptionHandler(), finalizationPart(), forStatement(), ifStatement(), initializationPart(), realizationPart(), repeatStatement(), statements(), whileStatement(), and withStatement().

void PascalParser::statementPart  ) 
 

Definition at line 598 of file PascalParser.cpp.

References _tokenSet_3, ANTLR_USE_NAMESPACE, compoundStatement(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by block(), and libraryBlock().

void PascalParser::statements  ) 
 

Definition at line 8976 of file PascalParser.cpp.

References _tokenSet_72, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and statement().

Referenced by exceptionHandlers(), exceptOrFinallyPart(), and tryStatement().

void PascalParser::string  ) 
 

Definition at line 1699 of file PascalParser.cpp.

References _tokenSet_21, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by constant(), stringConstant(), stringConstantDeclaration(), and unsignedConstant().

void PascalParser::stringConstant  ) 
 

Definition at line 822 of file PascalParser.cpp.

References _tokenSet_10, ANTLR_USE_NAMESPACE, constantChr(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and string().

Referenced by directiveVariants(), exportsEntry(), externalDirective(), and modifiers().

void PascalParser::stringConstantDeclaration  ) 
 

Definition at line 1670 of file PascalParser.cpp.

References _tokenSet_20, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and string().

Referenced by resourcestringDeclarationPart().

void PascalParser::stringType  ) 
 

Definition at line 3936 of file PascalParser.cpp.

References _tokenSet_23, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and unsignedInteger().

Referenced by type().

void PascalParser::structuredStatement  ) 
 

Definition at line 7456 of file PascalParser.cpp.

References _tokenSet_16, ANTLR_USE_NAMESPACE, compoundStatement(), conditionalStatement(), exceptionStatement(), ASTRefCount< T >::get(), nullAST, RefPascalAST, repetitiveStatement(), reportError(), returnAST, ASTPair::root, and withStatement().

Referenced by statement().

void PascalParser::structuredType  ) 
 

Definition at line 3987 of file PascalParser.cpp.

References _tokenSet_23, ANTLR_USE_NAMESPACE, arrayType(), classType(), fileType(), ASTRefCount< T >::get(), nullAST, objectType(), recordType(), RefPascalAST, reportError(), returnAST, ASTPair::root, and setType().

Referenced by type().

void PascalParser::subrangeType  ) 
 

Definition at line 4356 of file PascalParser.cpp.

References _tokenSet_0, ANTLR_USE_NAMESPACE, constant(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

void PascalParser::subrangeTypeOrTypeIdentifier  ) 
 

Definition at line 3829 of file PascalParser.cpp.

References _tokenSet_23, ANTLR_USE_NAMESPACE, constant(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by type().

void PascalParser::subroutineBlock  ) 
 

Definition at line 2272 of file PascalParser.cpp.

References _tokenSet_27, ANTLR_USE_NAMESPACE, block(), externalDirective(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by constructorDeclaration(), destructorDeclaration(), functionDeclaration(), operatorDefinition(), and procedureDeclaration().

void PascalParser::term  ) 
 

Definition at line 6675 of file PascalParser.cpp.

References _tokenSet_59, ANTLR_USE_NAMESPACE, factor(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by simpleExpression().

void PascalParser::tryStatement  ) 
 

Definition at line 8913 of file PascalParser.cpp.

References _tokenSet_16, ANTLR_USE_NAMESPACE, exceptOrFinallyPart(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and statements().

Referenced by exceptionStatement().

void PascalParser::type  ) 
 

Definition at line 1796 of file PascalParser.cpp.

References _tokenSet_23, ANTLR_USE_NAMESPACE, enumeratedType(), ASTRefCount< T >::get(), nullAST, pointerType(), proceduralType(), RefPascalAST, reportError(), returnAST, ASTPair::root, simpleType(), stringType(), structuredType(), and subrangeTypeOrTypeIdentifier().

Referenced by arrayType(), fieldDefinition(), fileType(), fixedField(), functionHeader(), functionHeaderEnding(), operatorDefinition(), typedConstantDeclaration(), typeDeclaration(), untypedParameterPart(), valueParameter(), and variableDeclaration().

void PascalParser::typedConstant  ) 
 

Definition at line 3355 of file PascalParser.cpp.

References _tokenSet_22, _tokenSet_33, _tokenSet_34, _tokenSet_35, _tokenSet_36, _tokenSet_37, ANTLR_USE_NAMESPACE, arrayConstant(), constant(), ASTRefCount< T >::get(), identifier(), nullAST, proceduralConstant(), recordConstant(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by typedConstantDeclaration().

void PascalParser::typedConstantDeclaration  ) 
 

Definition at line 1635 of file PascalParser.cpp.

References _tokenSet_19, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, type(), and typedConstant().

Referenced by constantDeclarationPart().

void PascalParser::typeDeclaration  ) 
 

Definition at line 1725 of file PascalParser.cpp.

References _tokenSet_19, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and type().

Referenced by typeDeclarationPart().

void PascalParser::typeDeclarationPart  ) 
 

Definition at line 1252 of file PascalParser.cpp.

References _tokenSet_2, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and typeDeclaration().

Referenced by declarationPart(), and interfacePart().

void PascalParser::typeIdentifier  ) 
 

Definition at line 4332 of file PascalParser.cpp.

References _tokenSet_41, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by pointerType(), propertyInterface(), and valueTypecast().

void PascalParser::unit  ) 
 

Definition at line 214 of file PascalParser.cpp.

References _tokenSet_0, ANTLR_USE_NAMESPACE, finalizationPart(), ASTRefCount< T >::get(), identifier(), implementationPart(), initializationPart(), interfacePart(), nullAST, realizationPart(), RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by compilationUnit().

void PascalParser::unsignedConstant  ) 
 

Definition at line 7021 of file PascalParser.cpp.

References _tokenSet_61, ANTLR_USE_NAMESPACE, constantChr(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, string(), and unsignedNumber().

Referenced by factor().

void PascalParser::unsignedInteger  ) 
 

Definition at line 4439 of file PascalParser.cpp.

References _tokenSet_43, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by constantChr(), integerConstant(), label(), stringType(), and unsignedNumber().

void PascalParser::unsignedNumber  ) 
 

Definition at line 9331 of file PascalParser.cpp.

References _tokenSet_76, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, unsignedInteger(), and unsignedReal().

Referenced by constant(), and unsignedConstant().

void PascalParser::unsignedReal  ) 
 

Definition at line 9374 of file PascalParser.cpp.

References _tokenSet_76, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by unsignedNumber().

void PascalParser::untypedParameterPart  ) 
 

Definition at line 3138 of file PascalParser.cpp.

References _tokenSet_30, _tokenSet_31, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and type().

Referenced by constantParameter(), and variableParameter().

void PascalParser::usesClause  ) 
 

Definition at line 357 of file PascalParser.cpp.

References _tokenSet_2, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifierList(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by implementationPart(), interfacePart(), library(), and program().

void PascalParser::valueParameter  ) 
 

Definition at line 2966 of file PascalParser.cpp.

References _tokenSet_30, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifierList(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and type().

Referenced by assignmentOperatorDefinition(), and parameterDeclaration().

void PascalParser::valueTypecast  ) 
 

Definition at line 7369 of file PascalParser.cpp.

References _tokenSet_0, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and typeIdentifier().

void PascalParser::variable  ) 
 

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 8543 of file PascalParser.cpp.

References _tokenSet_70, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by recordVariableList().

void PascalParser::variableDeclaration  ) 
 

Definition at line 1755 of file PascalParser.cpp.

References _tokenSet_22, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifierList(), nullAST, nullToken, RefPascalAST, RefToken, reportError(), returnAST, ASTPair::root, and type().

Referenced by variableDeclarationPart().

void PascalParser::variableDeclarationPart  ) 
 

Definition at line 1510 of file PascalParser.cpp.

References _tokenSet_17, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and variableDeclaration().

Referenced by declarationPart().

void PascalParser::variableParameter  ) 
 

Definition at line 3034 of file PascalParser.cpp.

References _tokenSet_30, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifierList(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and untypedParameterPart().

Referenced by parameterDeclaration().

void PascalParser::variant  ) 
 

Definition at line 5030 of file PascalParser.cpp.

References _tokenSet_33, _tokenSet_47, ANTLR_USE_NAMESPACE, constant(), fieldList(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by variantPart().

void PascalParser::variantPart  ) 
 

Definition at line 4964 of file PascalParser.cpp.

References _tokenSet_46, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), identifier(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and variant().

Referenced by fieldList().

void PascalParser::whileStatement  ) 
 

Definition at line 8262 of file PascalParser.cpp.

References _tokenSet_16, ANTLR_USE_NAMESPACE, expression(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, ASTPair::root, and statement().

Referenced by repetitiveStatement().

void PascalParser::withStatement  ) 
 

Definition at line 7968 of file PascalParser.cpp.

References _tokenSet_16, ANTLR_USE_NAMESPACE, ASTRefCount< T >::get(), nullAST, recordVariableList(), RefPascalAST, reportError(), returnAST, ASTPair::root, and statement().

Referenced by structuredStatement().

void PascalParser::writeSpecifier  ) 
 

Definition at line 6400 of file PascalParser.cpp.

References _tokenSet_57, ANTLR_USE_NAMESPACE, fieldOrMethod(), ASTRefCount< T >::get(), nullAST, RefPascalAST, reportError(), returnAST, and ASTPair::root.

Referenced by propertySpecifiers().


Member Data Documentation

const antlr::BitSet PascalParser::_tokenSet_0 [static, private]
 

Referenced by compilationUnit(), functionHeaderEnding(), library(), operatorDefinition(), program(), subrangeType(), unit(), and valueTypecast().

const unsigned long PascalParser::_tokenSet_0_data_ = { 2UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9603 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_1 [static, private]
 

Referenced by programHeading().

const antlr::BitSet PascalParser::_tokenSet_10 [static, private]
 

Referenced by stringConstant().

const unsigned long PascalParser::_tokenSet_10_data_ = { 1056964610UL, 177988UL, 0UL, 192UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9644 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_11 [static, private]
 

Referenced by identifierList().

const unsigned long PascalParser::_tokenSet_11_data_ = { 16777216UL, 16416UL, 67108864UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9649 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_12 [static, private]
 

Referenced by interfacePart().

const unsigned long PascalParser::_tokenSet_12_data_ = { 0UL, 2UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9652 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_13 [static, private]
 

Referenced by implementationPart().

const unsigned long PascalParser::_tokenSet_13_data_ = { 33554432UL, 68UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9655 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_14 [static, private]
 

Referenced by initializationPart().

const unsigned long PascalParser::_tokenSet_14_data_ = { 33554432UL, 128UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9658 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_15 [static, private]
 

Referenced by procedureHeadersPart().

const unsigned long PascalParser::_tokenSet_15_data_ = { 0UL, 168450UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9661 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_16 [static, private]
 

Referenced by addressConstant(), assignmentStatement(), caseStatement(), conditionalStatement(), exceptionStatement(), forStatement(), gotoStatement(), ifStatement(), procedureStatement(), raiseStatement(), repeatStatement(), repetitiveStatement(), simpleStatement(), statement(), structuredStatement(), tryStatement(), whileStatement(), and withStatement().

const unsigned long PascalParser::_tokenSet_16_data_ = { 50331648UL, 128UL, 0UL, 0UL, 805584896UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9664 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_17 [static, private]
 

Referenced by constructorDeclaration(), destructorDeclaration(), functionDeclaration(), labelDeclarationPart(), procedureAndFunctionDeclaration(), procedureAndFunctionDeclarationPart(), procedureDeclaration(), resourcestringDeclarationPart(), and variableDeclarationPart().

const unsigned long PascalParser::_tokenSet_17_data_ = { 100663296UL, 177988UL, 0UL, 192UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9667 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_18 [static, private]
 

Referenced by label().

const unsigned long PascalParser::_tokenSet_18_data_ = { 184549376UL, 16512UL, 0UL, 0UL, 805584896UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9671 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_19 [static, private]
 

Referenced by constantDeclaration(), typedConstantDeclaration(), and typeDeclaration().

const unsigned long PascalParser::_tokenSet_19_data_ = { 100663296UL, 177990UL, 0UL, 192UL, 0UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9674 of file PascalParser.cpp.

const unsigned long PascalParser::_tokenSet_1_data_ = { 1073741824UL, 177924UL, 0UL, 192UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9606 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_2 [static, private]
 

Referenced by constantDeclarationPart(), typeDeclarationPart(), and usesClause().

const antlr::BitSet PascalParser::_tokenSet_20 [static, private]
 

Referenced by stringConstantDeclaration().

const unsigned long PascalParser::_tokenSet_20_data_ = { 100663296UL, 177988UL, 0UL, 192UL, 0UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9679 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_21 [static, private]
 

Referenced by string().

const unsigned long PascalParser::_tokenSet_21_data_ = { 1061158914UL, 720868UL, 67239936UL, 4294840768UL, 825581575UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9683 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_22 [static, private]
 

Referenced by constructorHeader(), destructorHeader(), directiveVariants(), modifiers(), proceduralConstant(), recordConstant(), typedConstant(), and variableDeclaration().

const unsigned long PascalParser::_tokenSet_22_data_ = { 16777216UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9691 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_23 [static, private]
 

Referenced by arrayType(), callModifiers(), classType(), fileType(), objectType(), pointerType(), proceduralType(), proceduralTypePart1(), realType(), recordType(), setType(), simpleType(), stringType(), structuredType(), subrangeTypeOrTypeIdentifier(), and type().

const unsigned long PascalParser::_tokenSet_23_data_ = { 16777216UL, 2080UL, 67108864UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9694 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_24 [static, private]
 

Referenced by compoundStatement(), and ifStatement().

const unsigned long PascalParser::_tokenSet_24_data_ = { 0UL, 4UL, 536870920UL, 0UL, 206215168UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9697 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_25 [static, private]
 

Referenced by compoundStatement().

const unsigned long PascalParser::_tokenSet_25_data_ = { 121634818UL, 178116UL, 0UL, 192UL, 805584896UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9701 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_26 [static, private]
 

Referenced by functionHeader(), and procedureHeader().

const unsigned long PascalParser::_tokenSet_26_data_ = { 16777216UL, 1818406UL, 67108864UL, 192UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9706 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_27 [static, private]
 

Referenced by externalDirective(), and subroutineBlock().

const unsigned long PascalParser::_tokenSet_27_data_ = { 117440514UL, 177988UL, 0UL, 192UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9711 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_28 [static, private]
 

Referenced by qualifiedMethodIdentifier().

const unsigned long PascalParser::_tokenSet_28_data_ = { 16777216UL, 16400UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9715 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_29 [static, private]
 

Referenced by formalParameterList().

const unsigned long PascalParser::_tokenSet_29_data_ = { 16777216UL, 16416UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9718 of file PascalParser.cpp.

const unsigned long PascalParser::_tokenSet_2_data_ = { 100663296UL, 177990UL, 0UL, 192UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9610 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_3 [static, private]
 

Referenced by block(), and statementPart().

const antlr::BitSet PascalParser::_tokenSet_30 [static, private]
 

Referenced by constantParameter(), parameterDeclaration(), untypedParameterPart(), valueParameter(), and variableParameter().

const unsigned long PascalParser::_tokenSet_30_data_ = { 16777216UL, 32UL, 67108864UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9721 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_31 [static, private]
 

Referenced by untypedParameterPart().

const unsigned long PascalParser::_tokenSet_31_data_ = { 0UL, 426000UL, 3657039864UL, 50331907UL, 2147483648UL, 13UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9724 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_32 [static, private]
 

Referenced by expression().

const unsigned long PascalParser::_tokenSet_32_data_ = { 188743680UL, 524448UL, 67239936UL, 0UL, 825581568UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9731 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_33 [static, private]
 

Referenced by caseStatement(), typedConstant(), and variant().

const unsigned long PascalParser::_tokenSet_33_data_ = { 0UL, 0UL, 8UL, 50331648UL, 2147483648UL, 13UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9735 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_34 [static, private]
 

Referenced by typedConstant().

const unsigned long PascalParser::_tokenSet_34_data_ = { 16777216UL, 16UL, 8UL, 0UL, 0UL, 12UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9738 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_35 [static, private]
 

Referenced by typedConstant().

const unsigned long PascalParser::_tokenSet_35_data_ = { 0UL, 16UL, 8UL, 50331648UL, 2147483648UL, 13UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9741 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_36 [static, private]
 

Referenced by arrayIndexType(), assignmentOperator(), expressionSign(), and typedConstant().

const unsigned long PascalParser::_tokenSet_36_data_ = { 0UL, 16UL, 33554440UL, 50331648UL, 2147483768UL, 15UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9744 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_37 [static, private]
 

Referenced by typedConstant().

const unsigned long PascalParser::_tokenSet_37_data_ = { 16777216UL, 2064UL, 100663304UL, 4294836224UL, 2147483775UL, 15UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9748 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_38 [static, private]
 

Referenced by constant().

const unsigned long PascalParser::_tokenSet_38_data_ = { 184549378UL, 182304UL, 67239936UL, 4544UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9753 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_39 [static, private]
 

Referenced by arrayConstant().

const unsigned long PascalParser::_tokenSet_39_data_ = { 150994944UL, 32UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9757 of file PascalParser.cpp.

const unsigned long PascalParser::_tokenSet_3_data_ = { 121634818UL, 177988UL, 0UL, 192UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9614 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_4 [static, private]
 

Referenced by identifier().

const antlr::BitSet PascalParser::_tokenSet_40 [static, private]
 

Referenced by enumeratedType(), and ordinalType().

const unsigned long PascalParser::_tokenSet_40_data_ = { 150994944UL, 2080UL, 67108864UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9760 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_41 [static, private]
 

Referenced by typeIdentifier().

const unsigned long PascalParser::_tokenSet_41_data_ = { 318767104UL, 165936UL, 67108864UL, 127424UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9763 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_42 [static, private]
 

Referenced by assignedEnumList(), and expressions().

const unsigned long PascalParser::_tokenSet_42_data_ = { 0UL, 32UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9768 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_43 [static, private]
 

Referenced by unsignedInteger().

const unsigned long PascalParser::_tokenSet_43_data_ = { 792723458UL, 720868UL, 67239936UL, 4294963648UL, 825581575UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9771 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_44 [static, private]
 

Referenced by arrayIndexType().

const unsigned long PascalParser::_tokenSet_44_data_ = { 0UL, 2064UL, 100794376UL, 4294836224UL, 2147483775UL, 15UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9780 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_45 [static, private]
 

Referenced by arrayIndexType(), arraySubrangeType(), and setGroup().

const unsigned long PascalParser::_tokenSet_45_data_ = { 134217728UL, 0UL, 67108864UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9785 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_46 [static, private]
 

Referenced by fieldList(), fixedField(), and variantPart().

const unsigned long PascalParser::_tokenSet_46_data_ = { 33554432UL, 32UL, 536870912UL, 0UL, 0UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9788 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_47 [static, private]
 

Referenced by variant().

const unsigned long PascalParser::_tokenSet_47_data_ = { 50331648UL, 32UL, 536870912UL, 0UL, 0UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9791 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_48 [static, private]
 

Referenced by heritage().

const unsigned long PascalParser::_tokenSet_48_data_ = { 33554432UL, 2260992UL, 0UL, 6640UL, 0UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9794 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_49 [static, private]
 

Referenced by componentList().

const unsigned long PascalParser::_tokenSet_49_data_ = { 0UL, 163840UL, 0UL, 192UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9798 of file PascalParser.cpp.

const unsigned long PascalParser::_tokenSet_4_data_ = { 994050050UL, 706736UL, 101056512UL, 4294963649UL, 833972167UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9618 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_5 [static, private]
 

Referenced by libraryBlock().

const antlr::BitSet PascalParser::_tokenSet_50 [static, private]
 

Referenced by fieldDefinition().

const unsigned long PascalParser::_tokenSet_50_data_ = { 33554432UL, 163840UL, 0UL, 4544UL, 0UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9801 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_51 [static, private]
 

Referenced by methodDefinition(), and methodDirectives().

const unsigned long PascalParser::_tokenSet_51_data_ = { 33554432UL, 163840UL, 0UL, 192UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9805 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_52 [static, private]
 

Referenced by classComponentList().

const unsigned long PascalParser::_tokenSet_52_data_ = { 0UL, 163840UL, 0UL, 4544UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9808 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_53 [static, private]
 

Referenced by classMethodDefinition(), classMethodDirectives(), defaultSpecifier(), propertyDefinition(), and propertySpecifiers().

const unsigned long PascalParser::_tokenSet_53_data_ = { 33554432UL, 163840UL, 0UL, 4544UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9811 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_54 [static, private]
 

Referenced by propertyInterface().

const unsigned long PascalParser::_tokenSet_54_data_ = { 33554432UL, 163840UL, 0UL, 127424UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9814 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_55 [static, private]
 

Referenced by constList(), and propertyParameterList().

const unsigned long PascalParser::_tokenSet_55_data_ = { 0UL, 16384UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9818 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_56 [static, private]
 

Referenced by fieldOrMethod(), and readSpecifier().

const unsigned long PascalParser::_tokenSet_56_data_ = { 33554432UL, 163840UL, 0UL, 119232UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9821 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_57 [static, private]
 

Referenced by writeSpecifier().

const unsigned long PascalParser::_tokenSet_57_data_ = { 33554432UL, 163840UL, 0UL, 102848UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9825 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_58 [static, private]
 

Referenced by simpleExpression().

const unsigned long PascalParser::_tokenSet_58_data_ = { 188743680UL, 526496UL, 67239936UL, 16646144UL, 825581568UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9829 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_59 [static, private]
 

Referenced by term().

const unsigned long PascalParser::_tokenSet_59_data_ = { 188743680UL, 526496UL, 67239936UL, 268304384UL, 825581568UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9834 of file PascalParser.cpp.

const unsigned long PascalParser::_tokenSet_5_data_ = { 67108864UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9627 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_6 [static, private]
 

Referenced by classComponentList(), classVisibilitySpecifier(), componentList(), exceptionHandlers(), exceptOrFinallyPart(), exportsClause(), exportsList(), finalizationPart(), objectVisibilitySpecifier(), and realizationPart().

const antlr::BitSet PascalParser::_tokenSet_60 [static, private]
 

Referenced by factor().

const unsigned long PascalParser::_tokenSet_60_data_ = { 188743680UL, 526512UL, 67239936UL, 4294836224UL, 825581575UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9839 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_61 [static, private]
 

Referenced by addressFactor(), factor(), identifierOrValueTypecastOrFunctionCall(), setConstructor(), and unsignedConstant().

const unsigned long PascalParser::_tokenSet_61_data_ = { 188743680UL, 526496UL, 67239936UL, 4294836224UL, 825581575UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9845 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_62 [static, private]
 

Referenced by actualParameterList(), and functionCall().

const unsigned long PascalParser::_tokenSet_62_data_ = { 50331648UL, 128UL, 0UL, 0UL, 805584960UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9851 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_63 [static, private]
 

Referenced by simpleStatement().

const unsigned long PascalParser::_tokenSet_63_data_ = { 0UL, 0UL, 33816576UL, 0UL, 1920UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9854 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_64 [static, private]
 

Referenced by simpleStatement().

const unsigned long PascalParser::_tokenSet_64_data_ = { 50331648UL, 144UL, 0UL, 0UL, 805584896UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9857 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_65 [static, private]
 

Referenced by identifierOrArrayIdentifier().

const unsigned long PascalParser::_tokenSet_65_data_ = { 0UL, 0UL, 262144UL, 0UL, 1920UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9860 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_66 [static, private]
 

Referenced by ifStatement().

const unsigned long PascalParser::_tokenSet_66_data_ = { 121634818UL, 178132UL, 570425352UL, 50331840UL, 4233025656UL, 15UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9863 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_67 [static, private]
 

Referenced by caseListElement().

const unsigned long PascalParser::_tokenSet_67_data_ = { 50331648UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9871 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_68 [static, private]
 

Referenced by finalValue(), forList(), and recordVariableList().

const unsigned long PascalParser::_tokenSet_68_data_ = { 0UL, 0UL, 0UL, 0UL, 65536UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9874 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_69 [static, private]
 

Referenced by initialValue().

const unsigned long PascalParser::_tokenSet_69_data_ = { 0UL, 0UL, 0UL, 0UL, 3145728UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9877 of file PascalParser.cpp.

const unsigned long PascalParser::_tokenSet_6_data_ = { 33554432UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9630 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_7 [static, private]
 

Referenced by declarationPart().

const antlr::BitSet PascalParser::_tokenSet_70 [static, private]
 

Referenced by variable().

const unsigned long PascalParser::_tokenSet_70_data_ = { 134217728UL, 0UL, 0UL, 0UL, 65536UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9880 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_71 [static, private]
 

Referenced by arithmeticOperatorDefinition(), assignmentOperatorDefinition(), and comparisonOperatorDefinition().

const unsigned long PascalParser::_tokenSet_71_data_ = { 0UL, 0UL, 0UL, 0UL, 0UL, 8UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9883 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_72 [static, private]
 

Referenced by statements().

const unsigned long PascalParser::_tokenSet_72_data_ = { 33554432UL, 0UL, 0UL, 0UL, 805306368UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9886 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_73 [static, private]
 

Referenced by exceptionHandler().

const unsigned long PascalParser::_tokenSet_73_data_ = { 50331648UL, 0UL, 0UL, 0UL, 16384UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9889 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_74 [static, private]
 

Referenced by sign().

const unsigned long PascalParser::_tokenSet_74_data_ = { 0UL, 0UL, 8UL, 0UL, 0UL, 12UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9892 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_75 [static, private]
 

Referenced by constantChr().

const unsigned long PascalParser::_tokenSet_75_data_ = { 1061158914UL, 720868UL, 67239936UL, 4294840768UL, 825581575UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9895 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_76 [static, private]
 

Referenced by unsignedNumber(), and unsignedReal().

const unsigned long PascalParser::_tokenSet_76_data_ = { 188743682UL, 706720UL, 67239936UL, 4294840768UL, 825581575UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9903 of file PascalParser.cpp.

const unsigned long PascalParser::_tokenSet_7_data_ = { 100663296UL, 68UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9633 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_8 [static, private]
 

Referenced by exportsEntry().

const unsigned long PascalParser::_tokenSet_8_data_ = { 184549376UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9636 of file PascalParser.cpp.

const antlr::BitSet PascalParser::_tokenSet_9 [static, private]
 

Referenced by integerConstant().

const unsigned long PascalParser::_tokenSet_9_data_ = { 788529154UL, 177988UL, 0UL, 127424UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

Definition at line 9639 of file PascalParser.cpp.

unsigned int PascalParser::m_numberOfErrors [private]
 

Definition at line 31 of file PascalParser.hpp.

Referenced by numberOfErrors(), reportError(), and resetErrors().

ProblemReporter* PascalParser::m_problemReporter [private]
 

Definition at line 32 of file PascalParser.hpp.

Referenced by reportError(), reportMessage(), and setProblemReporter().

const int PascalParser::NUM_TOKENS = 190 [static, private]
 

Definition at line 256 of file PascalParser.hpp.

Referenced by getNumTokens().

RefPascalAST PascalParser::returnAST [protected]
 

Definition at line 252 of file PascalParser.hpp.

Referenced by actualParameterList(), addressConstant(), addressFactor(), arithmeticOperatorDefinition(), arrayConstant(), arrayIndexType(), arraySubrangeType(), arrayType(), assignedEnumList(), assignmentOperator(), assignmentOperatorDefinition(), assignmentStatement(), block(), callModifiers(), caseListElement(), caseStatement(), classComponentList(), classMethodDefinition(), classMethodDirectives(), classType(), classVisibilitySpecifier(), comparisonOperatorDefinition(), compilationUnit(), componentList(), compoundStatement(), conditionalStatement(), constant(), constantChr(), constantDeclaration(), constantDeclarationPart(), constantParameter(), constList(), constructorDeclaration(), constructorHeader(), declarationPart(), defaultSpecifier(), destructorDeclaration(), destructorHeader(), directiveVariants(), enumeratedType(), exceptionHandler(), exceptionHandlers(), exceptionStatement(), exceptOrFinallyPart(), exportsClause(), exportsEntry(), exportsList(), expression(), expressions(), expressionSign(), externalDirective(), factor(), fieldDefinition(), fieldList(), fieldOrMethod(), fileType(), finalizationPart(), finalValue(), fixedField(), forList(), formalParameterList(), forStatement(), functionCall(), functionDeclaration(), functionHeader(), functionHeaderEnding(), getAST(), gotoStatement(), heritage(), identifier(), identifierList(), identifierOrArrayIdentifier(), identifierOrValueTypecastOrFunctionCall(), ifStatement(), implementationPart(), initializationPart(), initialValue(), integerConstant(), interfacePart(), label(), labelDeclarationPart(), library(), libraryBlock(), methodDefinition(), methodDirectives(), modifiers(), objectType(), objectVisibilitySpecifier(), operatorDefinition(), ordinalType(), parameterDeclaration(), pointerType(), proceduralConstant(), proceduralType(), proceduralTypePart1(), procedureAndFunctionDeclaration(), procedureAndFunctionDeclarationPart(), procedureDeclaration(), procedureHeader(), procedureHeadersPart(), procedureStatement(), program(), programHeading(), propertyDefinition(), propertyInterface(), propertyParameterList(), propertySpecifiers(), qualifiedMethodIdentifier(), raiseStatement(), readSpecifier(), realizationPart(), realType(), recordConstant(), recordType(), recordVariableList(), repeatStatement(), repetitiveStatement(), resourcestringDeclarationPart(), setConstructor(), setGroup(), setType(), sign(), simpleExpression(), simpleStatement(), simpleType(), statement(), statementPart(), statements(), string(), stringConstant(), stringConstantDeclaration(), stringType(), structuredStatement(), structuredType(), subrangeType(), subrangeTypeOrTypeIdentifier(), subroutineBlock(), term(), tryStatement(), type(), typedConstant(), typedConstantDeclaration(), typeDeclaration(), typeDeclarationPart(), typeIdentifier(), unit(), unsignedConstant(), unsignedInteger(), unsignedNumber(), unsignedReal(), untypedParameterPart(), usesClause(), valueParameter(), valueTypecast(), variable(), variableDeclaration(), variableDeclarationPart(), variableParameter(), variant(), variantPart(), whileStatement(), withStatement(), and writeSpecifier().

const char * PascalParser::tokenNames [static, private]
 

Definition at line 9409 of file PascalParser.cpp.

Referenced by getTokenName(), and getTokenNames().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:05 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003