Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Parser Class Reference

#include <parse.h>

Collaboration diagram for Parser:

Collaboration graph
[legend]
List of all members.

Public Methods

 Parser (Lex *)
bool ErrorMessage (const char *, Ptree *=0, Ptree *=0)
void WarningMessage (const char *, Ptree *=0, Ptree *=0)
int NumOfErrors ()
uint LineNumber (char *pos, char *&fname, int &fname_len)
bool rProgram (Ptree *&)

Protected Types

enum  DeclKind { kDeclarator, kArgDeclarator, kCastDeclarator }
enum  TemplateDeclKind {
  tdk_unknown, tdk_decl, tdk_instantiation, tdk_specialization,
  num_tdks
}

Protected Methods

bool SyntaxError ()
void ShowMessageHead (char *)
bool rDefinition (Ptree *&)
bool rNullDeclaration (Ptree *&)
bool rTypedef (Ptree *&)
bool rTypeSpecifier (Ptree *&, bool, Encoding &)
bool isTypeSpecifier ()
bool rMetaclassDecl (Ptree *&)
bool rMetaArguments (Ptree *&)
bool rLinkageSpec (Ptree *&)
bool rNamespaceSpec (Ptree *&)
bool rUsing (Ptree *&)
bool rLinkageBody (Ptree *&)
bool rTemplateDecl (Ptree *&)
bool rTemplateDecl2 (Ptree *&, TemplateDeclKind &kind)
bool rTempArgList (Ptree *&)
bool rTempArgDeclaration (Ptree *&)
bool rExternTemplateDecl (Ptree *&)
bool rDeclaration (Ptree *&)
bool rIntegralDeclaration (Ptree *&, Encoding &, Ptree *, Ptree *, Ptree *)
bool rConstDeclaration (Ptree *&, Encoding &, Ptree *, Ptree *)
bool rOtherDeclaration (Ptree *&, Encoding &, Ptree *, Ptree *, Ptree *)
bool isConstructorDecl ()
bool isPtrToMember (int)
bool optMemberSpec (Ptree *&)
bool optStorageSpec (Ptree *&)
bool optCvQualify (Ptree *&)
bool optIntegralTypeOrClassSpec (Ptree *&, Encoding &)
bool rConstructorDecl (Ptree *&, Encoding &)
bool optThrowDecl (Ptree *&)
bool rDeclarators (Ptree *&, Encoding &, bool, bool=0)
bool rDeclaratorWithInit (Ptree *&, Encoding &, bool, bool)
bool rDeclarator (Ptree *&, DeclKind, bool, Encoding &, Encoding &, bool, bool=0)
bool rDeclarator2 (Ptree *&, DeclKind, bool, Encoding &, Encoding &, bool, bool, Ptree **)
bool optPtrOperator (Ptree *&, Encoding &)
bool rMemberInitializers (Ptree *&)
bool rMemberInit (Ptree *&)
bool rName (Ptree *&, Encoding &)
bool rOperatorName (Ptree *&, Encoding &)
bool rCastOperatorName (Ptree *&, Encoding &)
bool rPtrToMember (Ptree *&, Encoding &)
bool rTemplateArgs (Ptree *&, Encoding &)
bool rArgDeclListOrInit (Ptree *&, bool &, Encoding &, bool)
bool rArgDeclList (Ptree *&, Encoding &)
bool rArgDeclaration (Ptree *&, Encoding &)
bool rFunctionArguments (Ptree *&)
bool rInitializeExpr (Ptree *&)
bool rEnumSpec (Ptree *&, Encoding &)
bool rEnumBody (Ptree *&)
bool rClassSpec (Ptree *&, Encoding &)
bool rBaseSpecifiers (Ptree *&)
bool rClassBody (Ptree *&)
bool rClassMember (Ptree *&)
bool rAccessDecl (Ptree *&)
bool rUserAccessSpec (Ptree *&)
bool rCommaExpression (Ptree *&)
bool rExpression (Ptree *&)
bool rConditionalExpr (Ptree *&)
bool rLogicalOrExpr (Ptree *&, bool)
bool rLogicalAndExpr (Ptree *&, bool)
bool rInclusiveOrExpr (Ptree *&, bool)
bool rExclusiveOrExpr (Ptree *&, bool)
bool rAndExpr (Ptree *&, bool)
bool rEqualityExpr (Ptree *&, bool)
bool rRelationalExpr (Ptree *&, bool)
bool rShiftExpr (Ptree *&)
bool rAdditiveExpr (Ptree *&)
bool rMultiplyExpr (Ptree *&)
bool rPmExpr (Ptree *&)
bool rCastExpr (Ptree *&)
bool rTypeName (Ptree *&)
bool rTypeName (Ptree *&, Encoding &)
bool rUnaryExpr (Ptree *&)
bool rThrowExpr (Ptree *&)
bool rSizeofExpr (Ptree *&)
bool isAllocateExpr (int)
bool rAllocateExpr (Ptree *&)
bool rUserdefKeyword (Ptree *&)
bool rAllocateType (Ptree *&)
bool rNewDeclarator (Ptree *&, Encoding &)
bool rAllocateInitializer (Ptree *&)
bool rPostfixExpr (Ptree *&)
bool rPrimaryExpr (Ptree *&)
bool rUserdefStatement (Ptree *&)
bool rVarName (Ptree *&)
bool rVarNameCore (Ptree *&, Encoding &)
bool isTemplateArgs ()
bool rFunctionBody (Ptree *&)
bool rCompoundStatement (Ptree *&)
bool rStatement (Ptree *&)
bool rIfStatement (Ptree *&)
bool rSwitchStatement (Ptree *&)
bool rWhileStatement (Ptree *&)
bool rDoStatement (Ptree *&)
bool rForStatement (Ptree *&)
bool rTryStatement (Ptree *&)
bool rExprStatement (Ptree *&)
bool rDeclarationStatement (Ptree *&)
bool rIntegralDeclStatement (Ptree *&, Encoding &, Ptree *, Ptree *, Ptree *)
bool rOtherDeclStatement (Ptree *&, Encoding &, Ptree *, Ptree *)
bool MaybeTypeNameOrClassTemplate (Token &)
void SkipTo (int token)

Private Methods

bool moreVarName ()

Private Attributes

Lexlex
int nerrors

Member Enumeration Documentation

enum Parser::DeclKind [protected]
 

Enumeration values:
kDeclarator 
kArgDeclarator 
kCastDeclarator 

Definition at line 45 of file parse.h.

enum Parser::TemplateDeclKind [protected]
 

Enumeration values:
tdk_unknown 
tdk_decl 
tdk_instantiation 
tdk_specialization 
num_tdks 

Definition at line 46 of file parse.h.

Referenced by rTempArgDeclaration(), and rTemplateDecl().


Constructor & Destructor Documentation

Parser::Parser Lex  
 

Definition at line 41 of file parse.cc.

References lex, and nerrors.


Member Function Documentation

bool Parser::ErrorMessage const char *   ,
Ptree   = 0,
Ptree   = 0
 

Definition at line 47 of file parse.cc.

References Ptree::Ca_ar(), Ptree::GetPosition(), MaxErrors, nerrors, nil, ShowMessageHead(), and Ptree::Write().

Referenced by Walker::ErrorMessage(), and Walker::InaccurateErrorMessage().

bool Parser::isAllocateExpr int    [protected]
 

Definition at line 3183 of file parse.cc.

References DELETE, FALSE, lex, Lex::LookAhead(), NEW, Scope, TRUE, and UserKeyword.

Referenced by rUnaryExpr().

bool Parser::isConstructorDecl   [protected]
 

Definition at line 987 of file parse.cc.

References CONST, FALSE, isPtrToMember(), lex, Lex::LookAhead(), TRUE, and VOLATILE.

Referenced by rOtherDeclaration().

bool Parser::isPtrToMember int    [protected]
 

Definition at line 1008 of file parse.cc.

References FALSE, Identifier, lex, Lex::LookAhead(), Scope, and TRUE.

Referenced by isConstructorDecl(), and optPtrOperator().

bool Parser::isTemplateArgs   [protected]
 

Definition at line 3808 of file parse.cc.

References FALSE, lex, Lex::LookAhead(), and Scope.

Referenced by rVarNameCore().

bool Parser::isTypeSpecifier   [protected]
 

Definition at line 273 of file parse.cc.

References BOOLEAN, CHAR, CLASS, CONST, DOUBLE, ENUM, FALSE, FLOAT, Identifier, INT, INT64, lex, LONG, Lex::LookAhead(), Scope, SHORT, SIGNED, STRUCT, TRUE, UNION, UNSIGNED, VOID, and VOLATILE.

Referenced by rAllocateType().

uint Parser::LineNumber char *    pos,
char *&    fname,
int &    fname_len
 

Definition at line 102 of file parse.cc.

References lex, Lex::LineNumber(), and uint.

Referenced by Environment::GetLineNumber(), and ShowMessageHead().

bool Parser::MaybeTypeNameOrClassTemplate Token   [protected]
 

Definition at line 4406 of file parse.cc.

References TRUE.

Referenced by rTypeSpecifier().

bool Parser::moreVarName   [private]
 

Definition at line 3792 of file parse.cc.

References FALSE, Identifier, lex, Lex::LookAhead(), OPERATOR, Scope, and TRUE.

Referenced by rVarNameCore().

int Parser::NumOfErrors   [inline]
 

Definition at line 39 of file parse.h.

References nerrors.

Referenced by Source::parse(), and ParseOpencxx().

bool Parser::optCvQualify Ptree *&    [protected]
 

Definition at line 1128 of file parse.cc.

References CONST, Lex::GetToken(), lex, Lex::LookAhead(), MopErrorMessage(), nil, Ptree::Snoc(), TRUE, and VOLATILE.

Referenced by optPtrOperator(), rCastOperatorName(), rConstructorDecl(), rDeclaration(), rDeclarationStatement(), rDeclarator2(), rIntegralDeclaration(), rIntegralDeclStatement(), rOtherDeclaration(), rOtherDeclStatement(), and rTypeSpecifier().

bool Parser::optIntegralTypeOrClassSpec Ptree *&   ,
Encoding  
[protected]
 

Definition at line 1165 of file parse.cc.

References Encoding::Append(), BOOLEAN, CHAR, CLASS, DOUBLE, ENUM, FALSE, FLOAT, Lex::GetToken(), INT, INT64, lex, LONG, Lex::LookAhead(), MopErrorMessage(), nil, rClassSpec(), rEnumSpec(), SHORT, SIGNED, Ptree::Snoc(), STRUCT, TRUE, UNION, UNSIGNED, UserKeyword, and VOID.

Referenced by rCastOperatorName(), rDeclaration(), rDeclarationStatement(), rPrimaryExpr(), and rTypeSpecifier().

bool Parser::optMemberSpec Ptree *&    [protected]
 

Definition at line 1059 of file parse.cc.

References FALSE, FRIEND, Lex::GetToken(), INLINE, lex, Lex::LookAhead(), nil, rUserdefKeyword(), Ptree::Snoc(), TRUE, UserKeyword5, and VIRTUAL.

Referenced by rDeclaration().

bool Parser::optPtrOperator Ptree *&   ,
Encoding  
[protected]
 

Definition at line 1631 of file parse.cc.

References Encoding::CvQualify(), FALSE, Lex::GetToken(), isPtrToMember(), lex, Lex::LookAhead(), Ptree::Nconc(), nil, optCvQualify(), Encoding::PtrOperator(), rPtrToMember(), Ptree::Snoc(), and TRUE.

Referenced by rCastOperatorName(), rDeclarator2(), and rNewDeclarator().

bool Parser::optStorageSpec Ptree *&    [protected]
 

Definition at line 1091 of file parse.cc.

References AUTO, EXTERN, Lex::GetToken(), lex, Lex::LookAhead(), MopErrorMessage(), MUTABLE, nil, REGISTER, STATIC, and TRUE.

Referenced by rDeclaration(), and rDeclarationStatement().

bool Parser::optThrowDecl Ptree *&    [protected]
 

Definition at line 1334 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Lex::LookAhead(), nil, rName(), Ptree::Snoc(), THROW, and TRUE.

Referenced by rConstructorDecl(), and rDeclarator2().

bool Parser::rAccessDecl Ptree *&    [protected]
 

Definition at line 2632 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), rName(), and TRUE.

Referenced by rClassMember().

bool Parser::rAdditiveExpr Ptree *&    [protected]
 

Definition at line 2967 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rMultiplyExpr(), and TRUE.

Referenced by rShiftExpr(), and rTempArgDeclaration().

bool Parser::rAllocateExpr Ptree *&    [protected]
 

Definition at line 3203 of file parse.cc.

References DELETE, FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), Ptree::Nconc(), NEW, nil, rAllocateType(), rCastExpr(), rUserdefKeyword(), Scope, Ptree::Snoc(), TRUE, and UserKeyword.

Referenced by rUnaryExpr().

bool Parser::rAllocateInitializer Ptree *&    [protected]
 

Definition at line 3415 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), nil, rInitializeExpr(), Ptree::Snoc(), and TRUE.

Referenced by rAllocateType().

bool Parser::rAllocateType Ptree *&    [protected]
 

Definition at line 3302 of file parse.cc.

References FALSE, Lex::GetToken(), isTypeSpecifier(), lex, Ptree::List(), Lex::LookAhead(), nil, rAllocateInitializer(), Lex::Restore(), rFunctionArguments(), rNewDeclarator(), rTypeName(), rTypeSpecifier(), Lex::Save(), Ptree::Snoc(), and TRUE.

Referenced by rAllocateExpr().

bool Parser::rAndExpr Ptree *&   ,
bool   
[protected]
 

Definition at line 2869 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rEqualityExpr(), and TRUE.

Referenced by rExclusiveOrExpr().

bool Parser::rArgDeclaration Ptree *&   ,
Encoding  
[protected]
 

Definition at line 2175 of file parse.cc.

References FALSE, Lex::GetToken(), kArgDeclarator, lex, Ptree::List(), Lex::LookAhead(), Ptree::Nconc(), nil, rDeclarator(), REGISTER, rInitializeExpr(), rTypeSpecifier(), rUserdefKeyword(), TRUE, and UserKeyword.

Referenced by rArgDeclList(), and rTryStatement().

bool Parser::rArgDeclList Ptree *&   ,
Encoding  
[protected]
 

Definition at line 2123 of file parse.cc.

References Encoding::Append(), Encoding::Clear(), Ellipsis, Encoding::EllipsisArg(), Encoding::EndFuncArgs(), FALSE, Lex::GetToken(), lex, Lex::LookAhead(), nil, rArgDeclaration(), Ptree::Snoc(), Encoding::StartFuncArgs(), TRUE, and Encoding::Void().

Referenced by rArgDeclListOrInit(), rConstructorDecl(), and rUserdefStatement().

bool Parser::rArgDeclListOrInit Ptree *&   ,
bool &   ,
Encoding  ,
bool   
[protected]
 

Definition at line 2093 of file parse.cc.

References Encoding::Clear(), FALSE, lex, Lex::LookAhead(), rArgDeclList(), Lex::Restore(), rFunctionArguments(), Lex::Save(), and TRUE.

Referenced by rDeclarator2().

bool Parser::rBaseSpecifiers Ptree *&    [protected]
 

Definition at line 2461 of file parse.cc.

References Encoding::Clear(), FALSE, Lex::GetToken(), Ptree::IsLeaf(), lex, Ptree::List(), Lex::LookAhead(), MopErrorMessage(), nil, PRIVATE, PROTECTED, PUBLIC, rName(), Ptree::Snoc(), TRUE, and VIRTUAL.

Referenced by rClassSpec().

bool Parser::rCastExpr Ptree *&    [protected]
 

Definition at line 3041 of file parse.cc.

References Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), Lex::Restore(), rTypeName(), rUnaryExpr(), Lex::Save(), and TRUE.

Referenced by rAllocateExpr(), rPmExpr(), and rUnaryExpr().

bool Parser::rCastOperatorName Ptree *&   ,
Encoding  
[protected]
 

Definition at line 1915 of file parse.cc.

References Encoding::CastOperator(), Encoding::Clear(), Ptree::Cons(), Encoding::CvQualify(), FALSE, Ptree::List(), Ptree::Nconc(), nil, optCvQualify(), optIntegralTypeOrClassSpec(), optPtrOperator(), rName(), Ptree::Snoc(), and TRUE.

Referenced by rOperatorName().

bool Parser::rClassBody Ptree *&    [protected]
 

Definition at line 2529 of file parse.cc.

References FALSE, Lex::GetComments(), Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), nil, rClassMember(), SkipTo(), Ptree::Snoc(), SyntaxError(), and TRUE.

Referenced by rClassSpec().

bool Parser::rClassMember Ptree *&    [protected]
 

Definition at line 2574 of file parse.cc.

References FALSE, Lex::GetComments2(), Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), METACLASS, MopErrorMessage(), nil, PRIVATE, PROTECTED, PUBLIC, rAccessDecl(), rDeclaration(), Lex::Restore(), rMetaclassDecl(), rNullDeclaration(), rTemplateDecl(), rTypedef(), rUserAccessSpec(), rUsing(), Lex::Save(), Walker::SetDeclaratorComments(), TEMPLATE, TRUE, TYPEDEF, UserKeyword4, and USING.

Referenced by rClassBody().

bool Parser::rClassSpec Ptree *&   ,
Encoding  
[protected]
 

Definition at line 2403 of file parse.cc.

References CLASS, FALSE, Encoding::Get(), Lex::GetComments(), Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), nil, Encoding::NoName(), rBaseSpecifiers(), rClassBody(), rName(), rUserdefKeyword(), Ptree::Snoc(), STRUCT, TRUE, UNION, and UserKeyword.

Referenced by optIntegralTypeOrClassSpec().

bool Parser::rCommaExpression Ptree *&    [protected]
 

Definition at line 2693 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rExpression(), and TRUE.

Referenced by rConditionalExpr(), rDeclarator2(), rDoStatement(), rExprStatement(), rForStatement(), rIfStatement(), rNewDeclarator(), rPostfixExpr(), rPrimaryExpr(), rStatement(), rSwitchStatement(), rUserdefStatement(), and rWhileStatement().

bool Parser::rCompoundStatement Ptree *&    [protected]
 

Definition at line 3855 of file parse.cc.

References FALSE, Lex::GetComments(), Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), nil, rStatement(), SkipTo(), Ptree::Snoc(), SyntaxError(), and TRUE.

Referenced by rFunctionBody(), rStatement(), rTryStatement(), and rUserdefStatement().

bool Parser::rConditionalExpr Ptree *&    [protected]
 

Definition at line 2742 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rCommaExpression(), rLogicalOrExpr(), and TRUE.

Referenced by rExpression().

bool Parser::rConstDeclaration Ptree *&   ,
Encoding  ,
Ptree  ,
Ptree  
[protected]
 

Definition at line 893 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rDeclarators(), Encoding::SimpleConst(), and TRUE.

Referenced by rDeclaration(), and rDeclarationStatement().

bool Parser::rConstructorDecl Ptree *&   ,
Encoding  
[protected]
 

Definition at line 1283 of file parse.cc.

References Constant, Encoding::CvQualify(), Encoding::EndFuncArgs(), FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), Ptree::Nconc(), nil, Encoding::NoReturnType(), optCvQualify(), optThrowDecl(), rArgDeclList(), rMemberInitializers(), Ptree::Snoc(), Encoding::StartFuncArgs(), TRUE, and Encoding::Void().

Referenced by rOtherDeclaration().

bool Parser::rDeclaration Ptree *&    [protected]
 

Definition at line 790 of file parse.cc.

References Encoding::Clear(), FALSE, Identifier, lex, Lex::LookAhead(), Ptree::Nconc(), nil, optCvQualify(), optIntegralTypeOrClassSpec(), optMemberSpec(), optStorageSpec(), rConstDeclaration(), rIntegralDeclaration(), rOtherDeclaration(), and Ptree::Snoc().

Referenced by rClassMember(), rDefinition(), rExternTemplateDecl(), and rTemplateDecl().

bool Parser::rDeclarationStatement Ptree *&    [protected]
 

Definition at line 4301 of file parse.cc.

References Encoding::Clear(), FALSE, Identifier, lex, Lex::LookAhead(), nil, optCvQualify(), optIntegralTypeOrClassSpec(), optStorageSpec(), rConstDeclaration(), rIntegralDeclStatement(), rOtherDeclStatement(), and Ptree::Snoc().

Referenced by rExprStatement().

bool Parser::rDeclarator Ptree *&   ,
DeclKind   ,
bool   ,
Encoding  ,
Encoding  ,
bool   ,
bool    = 0
[protected]
 

Definition at line 1480 of file parse.cc.

References nil, and rDeclarator2().

Referenced by rArgDeclaration(), rDeclaratorWithInit(), rTempArgDeclaration(), and rTypeName().

bool Parser::rDeclarator2 Ptree *&   ,
DeclKind   ,
bool   ,
Encoding  ,
Encoding  ,
bool   ,
bool   ,
Ptree **   
[protected]
 

Definition at line 1488 of file parse.cc.

References Encoding::Array(), Encoding::Clear(), Encoding::CvQualify(), Encoding::EndFuncArgs(), FALSE, Encoding::Function(), Lex::GetToken(), Identifier, Encoding::IsEmpty(), kCastDeclarator, kDeclarator, lex, Ptree::List(), Lex::LookAhead(), Ptree::Nconc(), nil, optCvQualify(), optPtrOperator(), optThrowDecl(), rArgDeclListOrInit(), rCommaExpression(), Encoding::Recursion(), rMemberInitializers(), rName(), Scope, Ptree::Snoc(), Encoding::StartFuncArgs(), TRUE, and Encoding::Void().

Referenced by rDeclarator().

bool Parser::rDeclarators Ptree *&   ,
Encoding  ,
bool   ,
bool    = 0
[protected]
 

Definition at line 1385 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Lex::LookAhead(), nil, rDeclaratorWithInit(), Encoding::Reset(), Ptree::Snoc(), and TRUE.

Referenced by rConstDeclaration(), rIntegralDeclaration(), rIntegralDeclStatement(), rOtherDeclaration(), rOtherDeclStatement(), and rTypedef().

bool Parser::rDeclaratorWithInit Ptree *&   ,
Encoding  ,
bool   ,
bool   
[protected]
 

Definition at line 1413 of file parse.cc.

References FALSE, Lex::GetToken(), kDeclarator, lex, Ptree::List(), Lex::LookAhead(), Ptree::Nconc(), rDeclarator(), rExpression(), rInitializeExpr(), and TRUE.

Referenced by rDeclarators().

bool Parser::rDefinition Ptree *&    [protected]
 

Definition at line 164 of file parse.cc.

References EXTERN, Lex::GetComments(), Lex::GetComments2(), lex, Lex::LookAhead(), METACLASS, NAMESPACE, rDeclaration(), rExternTemplateDecl(), rLinkageSpec(), rMetaclassDecl(), rNamespaceSpec(), rNullDeclaration(), rTemplateDecl(), rTypedef(), rUsing(), Walker::SetDeclaratorComments(), StringL, TEMPLATE, TYPEDEF, and USING.

Referenced by rLinkageBody(), rLinkageSpec(), rNamespaceSpec(), and rProgram().

bool Parser::rDoStatement Ptree *&    [protected]
 

Definition at line 4115 of file parse.cc.

References DO, FALSE, Lex::GetToken(), lex, Ptree::List(), rCommaExpression(), rStatement(), TRUE, and WHILE.

Referenced by rStatement().

bool Parser::rEnumBody Ptree *&    [protected]
 

Definition at line 2354 of file parse.cc.

References FALSE, Lex::GetToken(), Identifier, lex, Ptree::List(), Lex::LookAhead(), Ptree::Nconc(), nil, rExpression(), SkipTo(), Ptree::Snoc(), SyntaxError(), and TRUE.

Referenced by rEnumSpec().

bool Parser::rEnumSpec Ptree *&   ,
Encoding  
[protected]
 

Definition at line 2307 of file parse.cc.

References ENUM, FALSE, Encoding::Get(), Lex::GetToken(), Identifier, lex, Lex::LookAhead(), nil, Encoding::NoName(), rEnumBody(), Encoding::SimpleName(), Ptree::Snoc(), and TRUE.

Referenced by optIntegralTypeOrClassSpec().

bool Parser::rEqualityExpr Ptree *&   ,
bool   
[protected]
 

Definition at line 2893 of file parse.cc.

References EqualOp, FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rRelationalExpr(), and TRUE.

Referenced by rAndExpr().

bool Parser::rExclusiveOrExpr Ptree *&   ,
bool   
[protected]
 

Definition at line 2845 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rAndExpr(), and TRUE.

Referenced by rInclusiveOrExpr().

bool Parser::rExpression Ptree *&    [protected]
 

Definition at line 2716 of file parse.cc.

References AssignOp, FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rConditionalExpr(), and TRUE.

Referenced by rCommaExpression(), rDeclaratorWithInit(), rEnumBody(), rFunctionArguments(), rInitializeExpr(), rIntegralDeclaration(), rStatement(), and rThrowExpr().

bool Parser::rExprStatement Ptree *&    [protected]
 

Definition at line 4254 of file parse.cc.

References FALSE, Lex::GetToken(), Ptree::IsA(), lex, Ptree::List(), Lex::LookAhead(), nil, ntStaticUserStatementExpr, ntUserStatementExpr, rCommaExpression(), rDeclarationStatement(), Lex::Restore(), Lex::Save(), and TRUE.

Referenced by rForStatement(), rStatement(), and rUserdefStatement().

bool Parser::rExternTemplateDecl Ptree *&    [protected]
 

Definition at line 742 of file parse.cc.

References EXTERN, FALSE, Lex::GetToken(), lex, Ptree::List(), rDeclaration(), TEMPLATE, and TRUE.

Referenced by rDefinition().

bool Parser::rForStatement Ptree *&    [protected]
 

Definition at line 4153 of file parse.cc.

References FALSE, FOR, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), nil, rCommaExpression(), rExprStatement(), rStatement(), and TRUE.

Referenced by rStatement().

bool Parser::rFunctionArguments Ptree *&    [protected]
 

Definition at line 2279 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Lex::LookAhead(), nil, rExpression(), Ptree::Snoc(), and TRUE.

Referenced by rAllocateType(), rArgDeclListOrInit(), rMemberInit(), rPostfixExpr(), rPrimaryExpr(), rUserAccessSpec(), rUserdefKeyword(), and rUserdefStatement().

bool Parser::rFunctionBody Ptree *&    [protected]
 

Definition at line 3846 of file parse.cc.

References rCompoundStatement().

Referenced by rIntegralDeclaration(), and rOtherDeclaration().

bool Parser::rIfStatement Ptree *&    [protected]
 

Definition at line 4017 of file parse.cc.

References ELSE, FALSE, Lex::GetToken(), IF, lex, Ptree::List(), Lex::LookAhead(), Ptree::Nconc(), rCommaExpression(), rStatement(), and TRUE.

Referenced by rStatement().

bool Parser::rInclusiveOrExpr Ptree *&   ,
bool   
[protected]
 

Definition at line 2821 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rExclusiveOrExpr(), and TRUE.

Referenced by rLogicalAndExpr().

bool Parser::rInitializeExpr Ptree *&    [protected]
 

Definition at line 2223 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), nil, rExpression(), SkipTo(), Ptree::Snoc(), SyntaxError(), and TRUE.

Referenced by rAllocateInitializer(), rArgDeclaration(), and rDeclaratorWithInit().

bool Parser::rIntegralDeclaration Ptree *&   ,
Encoding  ,
Ptree  ,
Ptree  ,
Ptree  
[protected]
 

Definition at line 831 of file parse.cc.

References Ptree::Car(), Ptree::Cons(), Encoding::CvQualify(), FALSE, Lex::GetToken(), Ptree::Length(), lex, Ptree::List(), Lex::LookAhead(), Ptree::Nconc(), nil, optCvQualify(), rDeclarators(), rExpression(), rFunctionBody(), Ptree::Snoc(), and TRUE.

Referenced by rDeclaration().

bool Parser::rIntegralDeclStatement Ptree *&   ,
Encoding  ,
Ptree  ,
Ptree  ,
Ptree  
[protected]
 

Definition at line 4333 of file parse.cc.

References Ptree::Cons(), Encoding::CvQualify(), FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), Ptree::Nconc(), nil, optCvQualify(), rDeclarators(), Ptree::Snoc(), and TRUE.

Referenced by rDeclarationStatement().

bool Parser::rLinkageBody Ptree *&    [protected]
 

Definition at line 491 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), nil, rDefinition(), SkipTo(), Ptree::Snoc(), SyntaxError(), and TRUE.

Referenced by rLinkageSpec(), and rNamespaceSpec().

bool Parser::rLinkageSpec Ptree *&    [protected]
 

Definition at line 393 of file parse.cc.

References EXTERN, FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rDefinition(), rLinkageBody(), Ptree::Snoc(), StringL, and TRUE.

Referenced by rDefinition().

bool Parser::rLogicalAndExpr Ptree *&   ,
bool   
[protected]
 

Definition at line 2797 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), LogAndOp, Lex::LookAhead(), rInclusiveOrExpr(), and TRUE.

Referenced by rLogicalOrExpr().

bool Parser::rLogicalOrExpr Ptree *&   ,
bool   
[protected]
 

Definition at line 2773 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), LogOrOp, Lex::LookAhead(), rLogicalAndExpr(), and TRUE.

Referenced by rConditionalExpr(), and rTemplateArgs().

bool Parser::rMemberInit Ptree *&    [protected]
 

Definition at line 1695 of file parse.cc.

References FALSE, Lex::GetToken(), Ptree::IsLeaf(), lex, Ptree::List(), rFunctionArguments(), rName(), and TRUE.

Referenced by rMemberInitializers().

bool Parser::rMemberInitializers Ptree *&    [protected]
 

Definition at line 1666 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rMemberInit(), Ptree::Snoc(), and TRUE.

Referenced by rConstructorDecl(), and rDeclarator2().

bool Parser::rMetaArguments Ptree *&    [protected]
 

Definition at line 366 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Lex::LookAhead(), nil, Ptree::Snoc(), and TRUE.

Referenced by rMetaclassDecl().

bool Parser::rMetaclassDecl Ptree *&    [protected]
 

Definition at line 301 of file parse.cc.

References FALSE, Lex::GetToken(), Identifier, lex, Ptree::List(), Metaclass::Load(), METACLASS, Ptree::Nconc(), nil, rMetaArguments(), Ptree::Snoc(), and TRUE.

Referenced by rClassMember(), and rDefinition().

bool Parser::rMultiplyExpr Ptree *&    [protected]
 

Definition at line 2992 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rPmExpr(), and TRUE.

Referenced by rAdditiveExpr().

bool Parser::rName Ptree *&   ,
Encoding  
[protected]
 

Definition at line 1731 of file parse.cc.

References Encoding::Destructor(), FALSE, Lex::GetToken(), Encoding::GlobalScope(), Identifier, lex, Ptree::List(), Lex::LookAhead(), Ptree::Nconc(), nil, OPERATOR, Encoding::Qualified(), rOperatorName(), rTemplateArgs(), Scope, Encoding::SimpleName(), Ptree::Snoc(), Encoding::Template(), and TRUE.

Referenced by optThrowDecl(), rAccessDecl(), rBaseSpecifiers(), rCastOperatorName(), rClassSpec(), rDeclarator2(), rMemberInit(), rOtherDeclaration(), rOtherDeclStatement(), rTypeSpecifier(), and rUsing().

bool Parser::rNamespaceSpec Ptree *&    [protected]
 

Definition at line 423 of file parse.cc.

References FALSE, Lex::GetToken(), Identifier, lex, Ptree::List(), Lex::LookAhead(), NAMESPACE, nil, rDefinition(), rLinkageBody(), and TRUE.

Referenced by rDefinition().

bool Parser::rNewDeclarator Ptree *&   ,
Encoding  
[protected]
 

Definition at line 3381 of file parse.cc.

References Encoding::Array(), FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), Ptree::Nconc(), nil, optPtrOperator(), rCommaExpression(), and TRUE.

Referenced by rAllocateType().

bool Parser::rNullDeclaration Ptree *&    [protected]
 

Definition at line 194 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), nil, and TRUE.

Referenced by rClassMember(), and rDefinition().

bool Parser::rOperatorName Ptree *&   ,
Encoding  
[protected]
 

Definition at line 1848 of file parse.cc.

References Encoding::AppendWithLen(), ArrowOp, AssignOp, DELETE, EqualOp, FALSE, Lex::GetToken(), IncOp, lex, Ptree::List(), LogAndOp, LogOrOp, Lex::LookAhead(), NEW, PmOp, rCastOperatorName(), RelOp, ShiftOp, Encoding::SimpleName(), Ptree::Snoc(), and TRUE.

Referenced by rName(), and rVarNameCore().

bool Parser::rOtherDeclaration Ptree *&   ,
Encoding  ,
Ptree  ,
Ptree  ,
Ptree  
[protected]
 

Definition at line 913 of file parse.cc.

References Ptree::Car(), Ptree::Cons(), Encoding::CvQualify(), FALSE, FRIEND, Lex::GetToken(), isConstructorDecl(), Ptree::Length(), lex, Ptree::List(), Lex::LookAhead(), Ptree::Nconc(), nil, optCvQualify(), rConstructorDecl(), rDeclarators(), rFunctionBody(), rName(), Ptree::Snoc(), TRUE, and Ptree::What().

Referenced by rDeclaration().

bool Parser::rOtherDeclStatement Ptree *&   ,
Encoding  ,
Ptree  ,
Ptree  
[protected]
 

Definition at line 4374 of file parse.cc.

References Ptree::Cons(), Encoding::CvQualify(), FALSE, Lex::GetToken(), lex, Ptree::List(), Ptree::Nconc(), nil, optCvQualify(), rDeclarators(), rName(), Ptree::Snoc(), and TRUE.

Referenced by rDeclarationStatement().

bool Parser::rPmExpr Ptree *&    [protected]
 

Definition at line 3017 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), PmOp, rCastExpr(), and TRUE.

Referenced by rMultiplyExpr().

bool Parser::rPostfixExpr Ptree *&    [protected]
 

Definition at line 3465 of file parse.cc.

References ArrowOp, Ptree::Cons(), FALSE, Lex::GetToken(), IncOp, lex, Ptree::List(), Lex::LookAhead(), rCommaExpression(), rFunctionArguments(), rPrimaryExpr(), rUserdefStatement(), rVarName(), TRUE, UserKeyword, UserKeyword2, and UserKeyword3.

Referenced by rUnaryExpr().

bool Parser::rPrimaryExpr Ptree *&    [protected]
 

Definition at line 3546 of file parse.cc.

References CharConst, Ptree::Cons(), Constant, FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), nil, optIntegralTypeOrClassSpec(), rCommaExpression(), rFunctionArguments(), rUserdefStatement(), rVarName(), Scope, StringL, THIS, and TRUE.

Referenced by rPostfixExpr().

bool Parser::rProgram Ptree *&   
 

Definition at line 135 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Lex::LookAhead(), rDefinition(), SkipTo(), SyntaxError(), and TRUE.

Referenced by Source::parse(), and ParseOpencxx().

bool Parser::rPtrToMember Ptree *&   ,
Encoding  
[protected]
 

Definition at line 1963 of file parse.cc.

References FALSE, Lex::GetToken(), Encoding::GlobalScope(), Identifier, lex, Ptree::List(), Lex::LookAhead(), Ptree::Nconc(), nil, Encoding::PtrToMember(), rTemplateArgs(), Scope, Encoding::SimpleName(), Ptree::Snoc(), Encoding::Template(), and TRUE.

Referenced by optPtrOperator().

bool Parser::rRelationalExpr Ptree *&   ,
bool   
[protected]
 

Definition at line 2917 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), RelOp, rShiftExpr(), and TRUE.

Referenced by rEqualityExpr().

bool Parser::rShiftExpr Ptree *&    [protected]
 

Definition at line 2943 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rAdditiveExpr(), ShiftOp, and TRUE.

Referenced by rRelationalExpr().

bool Parser::rSizeofExpr Ptree *&    [protected]
 

Definition at line 3151 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), Lex::Restore(), rTypeName(), rUnaryExpr(), Lex::Save(), SIZEOF, and TRUE.

Referenced by rUnaryExpr().

bool Parser::rStatement Ptree *&    [protected]
 

Definition at line 3905 of file parse.cc.

References BREAK, CASE, CONTINUE, DEFAULT, DO, FALSE, FOR, Lex::GetToken(), GOTO, Identifier, IF, lex, Ptree::List(), Lex::LookAhead(), rCommaExpression(), rCompoundStatement(), rDoStatement(), RETURN, rExpression(), rExprStatement(), rForStatement(), rIfStatement(), rSwitchStatement(), rTryStatement(), rTypedef(), rWhileStatement(), SWITCH, TRUE, TRY, TYPEDEF, and WHILE.

Referenced by rCompoundStatement(), rDoStatement(), rForStatement(), rIfStatement(), rSwitchStatement(), and rWhileStatement().

bool Parser::rSwitchStatement Ptree *&    [protected]
 

Definition at line 4055 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), rCommaExpression(), rStatement(), SWITCH, and TRUE.

Referenced by rStatement().

bool Parser::rTempArgDeclaration Ptree *&    [protected]
 

Definition at line 670 of file parse.cc.

References CLASS, Ptree::Cons(), FALSE, Lex::GetToken(), Identifier, kArgDeclarator, lex, Ptree::List(), Lex::LookAhead(), Ptree::Nconc(), nil, rAdditiveExpr(), rDeclarator(), rTemplateDecl2(), rTypeName(), rTypeSpecifier(), Ptree::Snoc(), TEMPLATE, TemplateDeclKind, and TRUE.

Referenced by rTempArgList().

bool Parser::rTempArgList Ptree *&    [protected]
 

Definition at line 638 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), nil, rTempArgDeclaration(), Ptree::Snoc(), and TRUE.

Referenced by rTemplateDecl2().

bool Parser::rTemplateArgs Ptree *&   ,
Encoding  
[protected]
 

Definition at line 2027 of file parse.cc.

References Encoding::Append(), Encoding::Clear(), FALSE, Lex::GetOnlyClosingBracket(), Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), nil, Token::ptr, Lex::Restore(), rLogicalOrExpr(), rTypeName(), Lex::Save(), ShiftOp, Ptree::Snoc(), TRUE, and Encoding::ValueTempParam().

Referenced by rName(), rPtrToMember(), and rVarNameCore().

bool Parser::rTemplateDecl Ptree *&    [protected]
 

Definition at line 537 of file parse.cc.

References Ptree::Eq(), FALSE, Ptree::First(), Ptree::Length(), MopErrorMessage(), nil, ntClassSpec, rDeclaration(), rTemplateDecl2(), Ptree::Second(), Ptree::Snoc(), tdk_decl, tdk_instantiation, tdk_specialization, tdk_unknown, TemplateDeclKind, Ptree::Third(), TRUE, and Ptree::What().

Referenced by rClassMember(), and rDefinition().

bool Parser::rTemplateDecl2 Ptree *&   ,
TemplateDeclKind   kind
[protected]
 

Definition at line 581 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), Ptree::Nconc(), nil, rTempArgList(), Ptree::Snoc(), tdk_decl, tdk_instantiation, tdk_specialization, TEMPLATE, and TRUE.

Referenced by rTempArgDeclaration(), and rTemplateDecl().

bool Parser::rThrowExpr Ptree *&    [protected]
 

Definition at line 3127 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), nil, rExpression(), THROW, and TRUE.

Referenced by rUnaryExpr().

bool Parser::rTryStatement Ptree *&    [protected]
 

Definition at line 4203 of file parse.cc.

References CATCH, Ellipsis, FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rArgDeclaration(), rCompoundStatement(), Ptree::Snoc(), TRUE, and TRY.

Referenced by rStatement().

bool Parser::rTypedef Ptree *&    [protected]
 

Definition at line 209 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Ptree::Nconc(), rDeclarators(), rTypeSpecifier(), Ptree::Snoc(), TRUE, and TYPEDEF.

Referenced by rClassMember(), rDefinition(), and rStatement().

bool Parser::rTypeName Ptree *&   ,
Encoding  
[protected]
 

Definition at line 3074 of file parse.cc.

References FALSE, kCastDeclarator, Ptree::List(), rDeclarator(), rTypeSpecifier(), and TRUE.

bool Parser::rTypeName Ptree *&    [protected]
 

Definition at line 3068 of file parse.cc.

Referenced by rAllocateType(), rCastExpr(), rSizeofExpr(), rTempArgDeclaration(), and rTemplateArgs().

bool Parser::rTypeSpecifier Ptree *&   ,
bool   ,
Encoding  
[protected]
 

Definition at line 237 of file parse.cc.

References Ptree::Cons(), Encoding::CvQualify(), FALSE, lex, Lex::LookAhead(), MaybeTypeNameOrClassTemplate(), Ptree::Nconc(), nil, optCvQualify(), optIntegralTypeOrClassSpec(), rName(), Ptree::Snoc(), and TRUE.

Referenced by rAllocateType(), rArgDeclaration(), rTempArgDeclaration(), rTypedef(), and rTypeName().

bool Parser::rUnaryExpr Ptree *&    [protected]
 

Definition at line 3098 of file parse.cc.

References FALSE, Lex::GetToken(), IncOp, isAllocateExpr(), lex, Ptree::List(), Lex::LookAhead(), rAllocateExpr(), rCastExpr(), rPostfixExpr(), rSizeofExpr(), rThrowExpr(), SIZEOF, THROW, and TRUE.

Referenced by rCastExpr(), and rSizeofExpr().

bool Parser::rUserAccessSpec Ptree *&    [protected]
 

Definition at line 2654 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), rFunctionArguments(), TRUE, and UserKeyword4.

Referenced by rClassMember().

bool Parser::rUserdefKeyword Ptree *&    [protected]
 

Definition at line 3269 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), nil, rFunctionArguments(), TRUE, UserKeyword, and UserKeyword5.

Referenced by optMemberSpec(), rAllocateExpr(), rArgDeclaration(), and rClassSpec().

bool Parser::rUserdefStatement Ptree *&    [protected]
 

Definition at line 3616 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), nil, rArgDeclList(), rCommaExpression(), rCompoundStatement(), rExprStatement(), rFunctionArguments(), TRUE, UserKeyword, UserKeyword2, and UserKeyword3.

Referenced by rPostfixExpr(), and rPrimaryExpr().

bool Parser::rUsing Ptree *&    [protected]
 

Definition at line 457 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Lex::LookAhead(), NAMESPACE, nil, rName(), TRUE, and USING.

Referenced by rClassMember(), and rDefinition().

bool Parser::rVarName Ptree *&    [protected]
 

Definition at line 3689 of file parse.cc.

References FALSE, Ptree::IsLeaf(), rVarNameCore(), and TRUE.

Referenced by rPostfixExpr(), and rPrimaryExpr().

bool Parser::rVarNameCore Ptree *&   ,
Encoding  
[protected]
 

Definition at line 3703 of file parse.cc.

References Encoding::Destructor(), FALSE, Lex::GetToken(), Encoding::GlobalScope(), Identifier, isTemplateArgs(), lex, Ptree::List(), Lex::LookAhead(), moreVarName(), Ptree::Nconc(), nil, OPERATOR, Encoding::Qualified(), rOperatorName(), rTemplateArgs(), Scope, Encoding::SimpleName(), Ptree::Snoc(), Encoding::Template(), and TRUE.

Referenced by rVarName().

bool Parser::rWhileStatement Ptree *&    [protected]
 

Definition at line 4085 of file parse.cc.

References FALSE, Lex::GetToken(), lex, Ptree::List(), rCommaExpression(), rStatement(), TRUE, and WHILE.

Referenced by rStatement().

void Parser::ShowMessageHead char *    [protected]
 

Definition at line 118 of file parse.cc.

References LineNumber(), and uint.

Referenced by ErrorMessage(), SyntaxError(), and WarningMessage().

void Parser::SkipTo int    token [protected]
 

Definition at line 4411 of file parse.cc.

References Lex::GetToken(), lex, Lex::LookAhead(), and token.

Referenced by rClassBody(), rCompoundStatement(), rEnumBody(), rInitializeExpr(), rLinkageBody(), and rProgram().

bool Parser::SyntaxError   [protected]
 

Definition at line 78 of file parse.cc.

References Token::kind, Token::len, lex, Lex::LookAhead(), MaxErrors, nerrors, Token::ptr, and ShowMessageHead().

Referenced by rClassBody(), rCompoundStatement(), rEnumBody(), rInitializeExpr(), rLinkageBody(), and rProgram().

void Parser::WarningMessage const char *   ,
Ptree   = 0,
Ptree   = 0
 

Definition at line 63 of file parse.cc.

References Ptree::Ca_ar(), Ptree::GetPosition(), nil, ShowMessageHead(), and Ptree::Write().

Referenced by Walker::InaccurateWarningMessage(), and Walker::WarningMessage().


Member Data Documentation

Lex* Parser::lex [private]
 

Definition at line 171 of file parse.h.

Referenced by isAllocateExpr(), isConstructorDecl(), isPtrToMember(), isTemplateArgs(), isTypeSpecifier(), LineNumber(), moreVarName(), optCvQualify(), optIntegralTypeOrClassSpec(), optMemberSpec(), optPtrOperator(), optStorageSpec(), optThrowDecl(), Parser(), rAccessDecl(), rAdditiveExpr(), rAllocateExpr(), rAllocateInitializer(), rAllocateType(), rAndExpr(), rArgDeclaration(), rArgDeclList(), rArgDeclListOrInit(), rBaseSpecifiers(), rCastExpr(), rClassBody(), rClassMember(), rClassSpec(), rCommaExpression(), rCompoundStatement(), rConditionalExpr(), rConstDeclaration(), rConstructorDecl(), rDeclaration(), rDeclarationStatement(), rDeclarator2(), rDeclarators(), rDeclaratorWithInit(), rDefinition(), rDoStatement(), rEnumBody(), rEnumSpec(), rEqualityExpr(), rExclusiveOrExpr(), rExpression(), rExprStatement(), rExternTemplateDecl(), rForStatement(), rFunctionArguments(), rIfStatement(), rInclusiveOrExpr(), rInitializeExpr(), rIntegralDeclaration(), rIntegralDeclStatement(), rLinkageBody(), rLinkageSpec(), rLogicalAndExpr(), rLogicalOrExpr(), rMemberInit(), rMemberInitializers(), rMetaArguments(), rMetaclassDecl(), rMultiplyExpr(), rName(), rNamespaceSpec(), rNewDeclarator(), rNullDeclaration(), rOperatorName(), rOtherDeclaration(), rOtherDeclStatement(), rPmExpr(), rPostfixExpr(), rPrimaryExpr(), rProgram(), rPtrToMember(), rRelationalExpr(), rShiftExpr(), rSizeofExpr(), rStatement(), rSwitchStatement(), rTempArgDeclaration(), rTempArgList(), rTemplateArgs(), rTemplateDecl2(), rThrowExpr(), rTryStatement(), rTypedef(), rTypeSpecifier(), rUnaryExpr(), rUserAccessSpec(), rUserdefKeyword(), rUserdefStatement(), rUsing(), rVarNameCore(), rWhileStatement(), SkipTo(), and SyntaxError().

int Parser::nerrors [private]
 

Definition at line 172 of file parse.h.

Referenced by ErrorMessage(), NumOfErrors(), Parser(), and SyntaxError().


The documentation for this class was generated from the following files:
Generated on Mon Feb 10 17:36:04 2003 for VFiasco Semantics Compiler by doxygen1.2.15