#include <parse.h>
Collaboration diagram for Parser:
|
|
|
Definition at line 46 of file parse.h. Referenced by rTempArgDeclaration(), and rTemplateDecl(). |
|
|
|
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(). |
|
Definition at line 3183 of file parse.cc. References DELETE, FALSE, lex, Lex::LookAhead(), NEW, Scope, TRUE, and UserKeyword. Referenced by rUnaryExpr(). |
|
Definition at line 987 of file parse.cc. References CONST, FALSE, isPtrToMember(), lex, Lex::LookAhead(), TRUE, and VOLATILE. Referenced by rOtherDeclaration(). |
|
Definition at line 1008 of file parse.cc. References FALSE, Identifier, lex, Lex::LookAhead(), Scope, and TRUE. Referenced by isConstructorDecl(), and optPtrOperator(). |
|
Definition at line 3808 of file parse.cc. References FALSE, lex, Lex::LookAhead(), and Scope. Referenced by rVarNameCore(). |
|
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(). |
|
Definition at line 102 of file parse.cc. References lex, Lex::LineNumber(), and uint. Referenced by Environment::GetLineNumber(), and ShowMessageHead(). |
|
Definition at line 4406 of file parse.cc. References TRUE. Referenced by rTypeSpecifier(). |
|
Definition at line 3792 of file parse.cc. References FALSE, Identifier, lex, Lex::LookAhead(), OPERATOR, Scope, and TRUE. Referenced by rVarNameCore(). |
|
Definition at line 39 of file parse.h. References nerrors. Referenced by Source::parse(), and ParseOpencxx(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
Definition at line 2632 of file parse.cc. References FALSE, Lex::GetToken(), lex, Ptree::List(), rName(), and TRUE. Referenced by rClassMember(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
Definition at line 2869 of file parse.cc. References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rEqualityExpr(), and TRUE. Referenced by rExclusiveOrExpr(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
Definition at line 2742 of file parse.cc. References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rCommaExpression(), rLogicalOrExpr(), and TRUE. Referenced by rExpression(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
Definition at line 1480 of file parse.cc. References nil, and rDeclarator2(). Referenced by rArgDeclaration(), rDeclaratorWithInit(), rTempArgDeclaration(), and rTypeName(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
Definition at line 4115 of file parse.cc. References DO, FALSE, Lex::GetToken(), lex, Ptree::List(), rCommaExpression(), rStatement(), TRUE, and WHILE. Referenced by rStatement(). |
|
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(). |
|
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(). |
|
Definition at line 2893 of file parse.cc. References EqualOp, FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rRelationalExpr(), and TRUE. Referenced by rAndExpr(). |
|
Definition at line 2845 of file parse.cc. References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rAndExpr(), and TRUE. Referenced by rInclusiveOrExpr(). |
|
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(). |
|
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(). |
|
Definition at line 742 of file parse.cc. References EXTERN, FALSE, Lex::GetToken(), lex, Ptree::List(), rDeclaration(), TEMPLATE, and TRUE. Referenced by rDefinition(). |
|
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(). |
|
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(). |
|
Definition at line 3846 of file parse.cc. References rCompoundStatement(). Referenced by rIntegralDeclaration(), and rOtherDeclaration(). |
|
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(). |
|
Definition at line 2821 of file parse.cc. References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rExclusiveOrExpr(), and TRUE. Referenced by rLogicalAndExpr(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
Definition at line 2797 of file parse.cc. References FALSE, Lex::GetToken(), lex, Ptree::List(), LogAndOp, Lex::LookAhead(), rInclusiveOrExpr(), and TRUE. Referenced by rLogicalOrExpr(). |
|
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(). |
|
Definition at line 1695 of file parse.cc. References FALSE, Lex::GetToken(), Ptree::IsLeaf(), lex, Ptree::List(), rFunctionArguments(), rName(), and TRUE. Referenced by rMemberInitializers(). |
|
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(). |
|
Definition at line 366 of file parse.cc. References FALSE, Lex::GetToken(), lex, Lex::LookAhead(), nil, Ptree::Snoc(), and TRUE. Referenced by rMetaclassDecl(). |
|
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(). |
|
Definition at line 2992 of file parse.cc. References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rPmExpr(), and TRUE. Referenced by rAdditiveExpr(). |
|
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(). |
|
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(). |
|
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(). |
|
Definition at line 194 of file parse.cc. References FALSE, Lex::GetToken(), lex, Ptree::List(), nil, and TRUE. Referenced by rClassMember(), and rDefinition(). |
|
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(). |
|
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(). |
|
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(). |
|
Definition at line 3017 of file parse.cc. References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), PmOp, rCastExpr(), and TRUE. Referenced by rMultiplyExpr(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
Definition at line 2917 of file parse.cc. References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), RelOp, rShiftExpr(), and TRUE. Referenced by rEqualityExpr(). |
|
Definition at line 2943 of file parse.cc. References FALSE, Lex::GetToken(), lex, Ptree::List(), Lex::LookAhead(), rAdditiveExpr(), ShiftOp, and TRUE. Referenced by rRelationalExpr(). |
|
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(). |
|
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(). |
|
Definition at line 4055 of file parse.cc. References FALSE, Lex::GetToken(), lex, Ptree::List(), rCommaExpression(), rStatement(), SWITCH, and TRUE. Referenced by rStatement(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
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(). |
|
Definition at line 3074 of file parse.cc. References FALSE, kCastDeclarator, Ptree::List(), rDeclarator(), rTypeSpecifier(), and TRUE. |
|
Definition at line 3068 of file parse.cc. Referenced by rAllocateType(), rCastExpr(), rSizeofExpr(), rTempArgDeclaration(), and rTemplateArgs(). |
|
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(). |
|
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(). |
|
Definition at line 2654 of file parse.cc. References FALSE, Lex::GetToken(), lex, Ptree::List(), rFunctionArguments(), TRUE, and UserKeyword4. Referenced by rClassMember(). |
|
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(). |
|
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(). |
|
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(). |
|
Definition at line 3689 of file parse.cc. References FALSE, Ptree::IsLeaf(), rVarNameCore(), and TRUE. Referenced by rPostfixExpr(), and rPrimaryExpr(). |
|
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(). |
|
Definition at line 4085 of file parse.cc. References FALSE, Lex::GetToken(), lex, Ptree::List(), rCommaExpression(), rStatement(), TRUE, and WHILE. Referenced by rStatement(). |
|
Definition at line 118 of file parse.cc. References LineNumber(), and uint. Referenced by ErrorMessage(), SyntaxError(), and WarningMessage(). |
|
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(). |
|
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(). |
|
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(). |
|
|
Definition at line 172 of file parse.h. Referenced by ErrorMessage(), NumOfErrors(), Parser(), and SyntaxError(). |