summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_script_resolveprocessor.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-07-11 06:46:59 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-11 06:47:00 -0700
commitd1cf239fa6be42baa02028efd1617d5af27d82e1 (patch)
treeb365ce948adbea9f655623db4e2ca7797ee5d14f /xfa/fxfa/parser/xfa_script_resolveprocessor.h
parent3ecdbffbf3b812fe262ca1b8a6eec6187195ddd9 (diff)
downloadpdfium-d1cf239fa6be42baa02028efd1617d5af27d82e1.tar.xz
Cleanup redundant method names.
This CL cleans up a bunch of method names which are redundant with the class names or code location. Review-Url: https://codereview.chromium.org/2132513003
Diffstat (limited to 'xfa/fxfa/parser/xfa_script_resolveprocessor.h')
-rw-r--r--xfa/fxfa/parser/xfa_script_resolveprocessor.h66
1 files changed, 33 insertions, 33 deletions
diff --git a/xfa/fxfa/parser/xfa_script_resolveprocessor.h b/xfa/fxfa/parser/xfa_script_resolveprocessor.h
index ffcd9b4475..d8f16b1e50 100644
--- a/xfa/fxfa/parser/xfa_script_resolveprocessor.h
+++ b/xfa/fxfa/parser/xfa_script_resolveprocessor.h
@@ -35,44 +35,44 @@ class CXFA_ResolveProcessor {
CXFA_ResolveProcessor();
~CXFA_ResolveProcessor();
- int32_t XFA_ResolveNodes(CXFA_ResolveNodesData& rnd);
- int32_t XFA_ResolveNodes_AnyChild(CXFA_ResolveNodesData& rnd);
- int32_t XFA_ResolveNodes_Dollar(CXFA_ResolveNodesData& rnd);
- int32_t XFA_ResolveNodes_Excalmatory(CXFA_ResolveNodesData& rnd);
- int32_t XFA_ResolveNodes_NumberSign(CXFA_ResolveNodesData& rnd);
- int32_t XFA_ResolveNodes_Asterisk(CXFA_ResolveNodesData& rnd);
- int32_t XFA_ResolveNodes_Normal(CXFA_ResolveNodesData& rnd);
- int32_t XFA_ResolveNodes_ForAttributeRs(CXFA_Object* curNode,
- CXFA_ResolveNodesData& rnd,
- const CFX_WideStringC& strAttr);
- void XFA_ResolveNode_ConditionArray(int32_t iCurIndex,
- CFX_WideString wsCondition,
- int32_t iFoundCount,
- CXFA_ResolveNodesData& rnd);
- void XFA_ResolveNode_DoPredicateFilter(int32_t iCurIndex,
- CFX_WideString wsCondition,
- int32_t iFoundCount,
- CXFA_ResolveNodesData& rnd);
- int32_t XFA_ResolveNodes_GetFilter(const CFX_WideStringC& wsExpression,
- int32_t nStart,
- CXFA_ResolveNodesData& rnd);
- void XFA_ResolveNode_FilterCondition(CXFA_ResolveNodesData& rnd,
- CFX_WideString wsCondition);
- int32_t XFA_ResolveNodes_PopStack(CFX_Int32Array& stack);
- void XFA_ResolveNodes_SetStylesForChild(uint32_t dwParentStyles,
- CXFA_ResolveNodesData& rnd);
- int32_t XFA_ResolveNode_SetResultCreateNode(XFA_RESOLVENODE_RS& resolveNodeRS,
- CFX_WideString& wsLastCondition);
- void XFA_ResolveNode_SetIndexDataBind(CFX_WideString& wsNextCondition,
- int32_t& iIndex,
- int32_t iCount);
+ int32_t Resolve(CXFA_ResolveNodesData& rnd);
+ int32_t GetFilter(const CFX_WideStringC& wsExpression,
+ int32_t nStart,
+ CXFA_ResolveNodesData& rnd);
+ int32_t SetResultCreateNode(XFA_RESOLVENODE_RS& resolveNodeRS,
+ CFX_WideString& wsLastCondition);
+ void SetIndexDataBind(CFX_WideString& wsNextCondition,
+ int32_t& iIndex,
+ int32_t iCount);
+ void SetCurStart(int32_t start) { m_iCurStart = start; }
+
CXFA_NodeHelper* GetNodeHelper() { return m_pNodeHelper; }
private:
- CXFA_NodeHelper* m_pNodeHelper;
+ int32_t ResolveForAttributeRs(CXFA_Object* curNode,
+ CXFA_ResolveNodesData& rnd,
+ const CFX_WideStringC& strAttr);
+ int32_t ResolveAnyChild(CXFA_ResolveNodesData& rnd);
+ int32_t ResolveDollar(CXFA_ResolveNodesData& rnd);
+ int32_t ResolveExcalmatory(CXFA_ResolveNodesData& rnd);
+ int32_t ResolveNumberSign(CXFA_ResolveNodesData& rnd);
+ int32_t ResolveAsterisk(CXFA_ResolveNodesData& rnd);
+ int32_t ResolveNormal(CXFA_ResolveNodesData& rnd);
+ int32_t ResolvePopStack(CFX_Int32Array& stack);
+ void SetStylesForChild(uint32_t dwParentStyles, CXFA_ResolveNodesData& rnd);
+
+ void ConditionArray(int32_t iCurIndex,
+ CFX_WideString wsCondition,
+ int32_t iFoundCount,
+ CXFA_ResolveNodesData& rnd);
+ void DoPredicateFilter(int32_t iCurIndex,
+ CFX_WideString wsCondition,
+ int32_t iFoundCount,
+ CXFA_ResolveNodesData& rnd);
+ void FilterCondition(CXFA_ResolveNodesData& rnd, CFX_WideString wsCondition);
- public:
int32_t m_iCurStart;
+ CXFA_NodeHelper* m_pNodeHelper;
};
#endif // XFA_FXFA_PARSER_XFA_SCRIPT_RESOLVEPROCESSOR_H_