| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #ifndef XFA_SRC_FXFA_FM2JS_XFA_EXPRESSION_H_ | 7 #ifndef XFA_FXFA_FM2JS_XFA_EXPRESSION_H_ |
| 8 #define XFA_SRC_FXFA_FM2JS_XFA_EXPRESSION_H_ | 8 #define XFA_FXFA_FM2JS_XFA_EXPRESSION_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "xfa/src/fxfa/fm2js/xfa_simpleexpression.h" | 12 #include "xfa/fxfa/fm2js/xfa_simpleexpression.h" |
| 13 | 13 |
| 14 enum XFA_FM_EXPTYPE { | 14 enum XFA_FM_EXPTYPE { |
| 15 XFA_FM_EXPTYPE_UNKNOWN, | 15 XFA_FM_EXPTYPE_UNKNOWN, |
| 16 XFA_FM_EXPTYPE_FUNC, | 16 XFA_FM_EXPTYPE_FUNC, |
| 17 XFA_FM_EXPTYPE_VAR, | 17 XFA_FM_EXPTYPE_VAR, |
| 18 XFA_FM_EXPTYPE_EXP, | 18 XFA_FM_EXPTYPE_EXP, |
| 19 XFA_FM_EXPTYPE_BLOCK, | 19 XFA_FM_EXPTYPE_BLOCK, |
| 20 XFA_FM_EXPTYPE_IF, | 20 XFA_FM_EXPTYPE_IF, |
| 21 XFA_FM_EXPTYPE_BREAK, | 21 XFA_FM_EXPTYPE_BREAK, |
| 22 XFA_FM_EXPTYPE_CONTINUE, | 22 XFA_FM_EXPTYPE_CONTINUE, |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 ~CXFA_FMForeachExpression() override; | 181 ~CXFA_FMForeachExpression() override; |
| 182 void ToJavaScript(CFX_WideTextBuf& javascript) override; | 182 void ToJavaScript(CFX_WideTextBuf& javascript) override; |
| 183 void ToImpliedReturnJS(CFX_WideTextBuf&) override; | 183 void ToImpliedReturnJS(CFX_WideTextBuf&) override; |
| 184 | 184 |
| 185 private: | 185 private: |
| 186 CFX_WideStringC m_wsIdentifier; | 186 CFX_WideStringC m_wsIdentifier; |
| 187 CFX_PtrArray* m_pAccessors; | 187 CFX_PtrArray* m_pAccessors; |
| 188 std::unique_ptr<CXFA_FMExpression> m_pList; | 188 std::unique_ptr<CXFA_FMExpression> m_pList; |
| 189 }; | 189 }; |
| 190 | 190 |
| 191 #endif // XFA_SRC_FXFA_FM2JS_XFA_EXPRESSION_H_ | 191 #endif // XFA_FXFA_FM2JS_XFA_EXPRESSION_H_ |
| OLD | NEW |