Lines Matching refs:Parser
61 bool Parser::Parse(const std::vector<FileDetail> &fileDetails)
72 bool Parser::ParseOne(const std::string &sourceFile)
90 bool Parser::Reset(const std::string &sourceFile)
102 bool Parser::ParseFile()
135 std::string Parser::ParseLicense()
146 bool Parser::ParsePackage()
192 bool Parser::ParserPackageInfo(const std::string &packageName)
213 bool Parser::ParseInterfaceToken()
249 bool Parser::ParseSupportDelegator()
285 bool Parser::ParseImports()
318 void Parser::ParseImportInfo()
351 void Parser::ParseSequenceableInfo()
379 bool Parser::ParseTypeDecls()
407 void Parser::ParseAttribute()
431 AttrSet Parser::ParseAttributeInfo()
469 bool Parser::ParseAttrUnit(AttrSet &attrs)
511 void Parser::ParseAttrUnitFreezecontrol(AttrSet &attrs, Token &token)
528 void Parser::ParseInterface(const AttrSet &attrs)
567 AutoPtr<ASTAttr> Parser::ParseInfAttrInfo(const AttrSet &attrs)
603 void Parser::CheckInterfaceAttr(const AutoPtr<ASTInterfaceType> &interface, Token token)
630 void Parser::ParseInterfaceExternal(const AutoPtr<ASTInterfaceType> &interface)
641 void Parser::ParseInterfaceBody(const AutoPtr<ASTInterfaceType> &interface)
676 AutoPtr<ASTMethod> Parser::ParseMethod(const AutoPtr<ASTInterfaceType> &interface)
722 AutoPtr<ASTType> Parser::ParseMethodReturnType()
739 AutoPtr<ASTAttr> Parser::ParseMethodAttr()
778 AutoPtr<ASTMethod> Parser::CreateGetVersionMethod()
793 void Parser::CheckMethodAttr(const AutoPtr<ASTInterfaceType> &interface, const AutoPtr<ASTMethod> &method)
821 void Parser::ParseMethodParamList(const AutoPtr<ASTMethod> &method)
869 AutoPtr<ASTParameter> Parser::ParseParam()
894 AutoPtr<ASTParamAttr> Parser::ParseParamAttr()
934 bool Parser::CheckParamAttr()
950 void Parser::SetParamAttrVal(Token token, AutoPtr<ASTParamAttr> attr)
970 AutoPtr<ASTType> Parser::ParseType()
1009 bool Parser::CheckBasicType(Token token)
1034 AutoPtr<ASTType> Parser::ParseBasicType()
1049 AutoPtr<ASTType> Parser::ParseUnsignedType()
1070 AutoPtr<ASTType> Parser::ParseArrayType(const AutoPtr<ASTType> &elementType)
1095 AutoPtr<ASTType> Parser::ParseListType()
1129 AutoPtr<ASTType> Parser::ParseMapType()
1179 AutoPtr<ASTType> Parser::ParseSmqType()
1210 bool Parser::CheckUserDefType(Token token)
1224 AutoPtr<ASTType> Parser::ParseUserDefType()
1242 void Parser::ParseEnumDeclaration(const AttrSet &attrs)
1285 AutoPtr<ASTType> Parser::ParseEnumBaseType()
1323 void Parser::ParserEnumMember(const AutoPtr<ASTEnumType> &enumType)
1352 void Parser::ParseStructDeclaration(const AttrSet &attrs)
1396 AutoPtr<ASTStructType> Parser::ParseStructParentType()
1420 void Parser::ParseStructMember(const AutoPtr<ASTStructType> &structType)
1456 void Parser::ParseUnionDeclaration(const AttrSet &attrs)
1497 void Parser::ParseUnionMember(const AutoPtr<ASTUnionType> &unionType)
1536 bool Parser::AddUnionMember(
1554 AutoPtr<ASTAttr> Parser::ParseUserDefTypeAttr(const AttrSet &attrs)
1582 AutoPtr<ASTExpr> Parser::ParseExpr()
1590 AutoPtr<ASTExpr> Parser::ParseAndExpr()
1607 AutoPtr<ASTExpr> Parser::ParseXorExpr()
1624 AutoPtr<ASTExpr> Parser::ParseOrExpr()
1641 AutoPtr<ASTExpr> Parser::ParseShiftExpr()
1659 AutoPtr<ASTExpr> Parser::ParseAddExpr()
1677 AutoPtr<ASTExpr> Parser::ParseMulExpr()
1701 AutoPtr<ASTExpr> Parser::ParseUnaryExpr()
1725 AutoPtr<ASTExpr> Parser::ParsePrimaryExpr()
1757 AutoPtr<ASTExpr> Parser::ParseNumExpr()
1770 AutoPtr<ASTExpr> Parser::ParseEnumExpr()
1783 bool Parser::CheckNumber(const std::string& integerVal) const
1792 bool Parser::CheckType(const Token &token, const AutoPtr<ASTType> &type)
1826 bool Parser::CheckTypeByMode(const Token &token, const AutoPtr<ASTType> &type)
1854 void Parser::SetAstFileType()
1871 bool Parser::CheckPackageName(const std::string &filePath, const std::string &packageName) const
1884 bool Parser::CheckImport(const std::string &importName)
1905 bool Parser::AddAst(const AutoPtr<AST> &ast)
1916 void Parser::ShowError()
1923 void Parser::ParseInterfaceExtends(AutoPtr<ASTInterfaceType> &interface)
1940 void Parser::ParseExtendsInfo(AutoPtr<ASTInterfaceType> &interfaceType)
1975 bool Parser::CheckExtendsName(AutoPtr<ASTInterfaceType> &interfaceType, const std::string &extendsInterfaceName)
1981 bool Parser::CheckExtendsVersion(
1990 bool Parser::CheckImportsVersion(AutoPtr<AST> extendsAst)
1998 bool Parser::PostProcess()
2021 bool Parser::CheckExistExtends()
2029 bool Parser::GetGenVersion(std::vector<size_t> &version, std::string &genPackageName)
2051 void Parser::GetGenNamespace(AutoPtr<ASTNamespace> &ns)
2063 void Parser::SortAstByName(AstMergeMap &mergeMap, StrAstMap &allAsts)
2071 void Parser::MergeAsts(AstMergeMap &mergeMap)
2082 void Parser::MergeAst(AutoPtr<AST> &targetAst, AutoPtr<AST> sourceAst)
2095 void Parser::MergeImport(AutoPtr<AST> &targetAst, AutoPtr<AST> sourceAst)
2103 void Parser::MergeInterfaceDef(AutoPtr<AST> &targetAst, AutoPtr<AST> sourceAst)
2121 void Parser::MergeTypeDefinitions(AutoPtr<AST> &targetAst, AutoPtr<AST> sourceAst)
2128 void Parser::MergeSequenceableDef(AutoPtr<AST> &targetAst, AutoPtr<AST> sourceAst)
2135 void Parser::MergeTypes(AutoPtr<AST> &targetAst, AutoPtr<AST> sourceAst)
2142 void Parser::ModifyImport(StrAstMap &allAsts, std::string &genPackageName)
2161 void Parser::ModifyPackageNameAndVersion(
2170 void Parser::ModifyInterfaceNamespace(AutoPtr<ASTNamespace> &ns)