summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/cxfa_fmexpression.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-02-20 22:06:59 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-20 22:06:59 +0000
commit96a302c19be8e872df035f5c9e6f83ac76414dbb (patch)
tree1b4523942c95cfb72523ce44da04b6c0407c3538 /xfa/fxfa/fm2js/cxfa_fmexpression.h
parente76345ec2780ec13cc99b910ff78e0e3a1f87aec (diff)
downloadpdfium-96a302c19be8e872df035f5c9e6f83ac76414dbb.tar.xz
[formcalc] Remove unused expression type
The expression type is no longer used, removed. Change-Id: I4c8b17ed1644560afd7fc87a7fb6c7d893b9de5c Reviewed-on: https://pdfium-review.googlesource.com/27450 Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js/cxfa_fmexpression.h')
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmexpression.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/xfa/fxfa/fm2js/cxfa_fmexpression.h b/xfa/fxfa/fm2js/cxfa_fmexpression.h
index 3b2fb4731d..88f2d6e4ed 100644
--- a/xfa/fxfa/fm2js/cxfa_fmexpression.h
+++ b/xfa/fxfa/fm2js/cxfa_fmexpression.h
@@ -12,17 +12,6 @@
#include "xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h"
-enum XFA_FM_EXPTYPE {
- XFA_FM_EXPTYPE_UNKNOWN,
- XFA_FM_EXPTYPE_FUNC,
- XFA_FM_EXPTYPE_VAR,
- XFA_FM_EXPTYPE_EXP,
- XFA_FM_EXPTYPE_BLOCK,
- XFA_FM_EXPTYPE_IF,
- XFA_FM_EXPTYPE_BREAK,
- XFA_FM_EXPTYPE_CONTINUE,
-};
-
class CFX_WideTextBuf;
class CXFA_FMExpression {
@@ -30,14 +19,8 @@ class CXFA_FMExpression {
virtual ~CXFA_FMExpression() {}
virtual bool ToJavaScript(CFX_WideTextBuf& javascript, ReturnType type) = 0;
- XFA_FM_EXPTYPE GetExpType() const { return m_type; }
-
protected:
CXFA_FMExpression();
- explicit CXFA_FMExpression(XFA_FM_EXPTYPE type);
-
- private:
- XFA_FM_EXPTYPE m_type;
};
class CXFA_FMFunctionDefinition : public CXFA_FMExpression {