| 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_FXFA_FM2JS_XFA_SIMPLEEXPRESSION_H_ | 7 #ifndef XFA_FXFA_FM2JS_XFA_SIMPLEEXPRESSION_H_ | 
| 8 #define XFA_FXFA_FM2JS_XFA_SIMPLEEXPRESSION_H_ | 8 #define XFA_FXFA_FM2JS_XFA_SIMPLEEXPRESSION_H_ | 
| 9 | 9 | 
| 10 #include <memory> | 10 #include <memory> | 
| 11 | 11 | 
| 12 #include "core/fxcrt/include/fx_basic.h" | 12 #include "core/fxcrt/fx_basic.h" | 
| 13 #include "xfa/fxfa/fm2js/xfa_lexer.h" | 13 #include "xfa/fxfa/fm2js/xfa_lexer.h" | 
| 14 | 14 | 
| 15 #define RUNTIMEFUNCTIONRETURNVALUE \ | 15 #define RUNTIMEFUNCTIONRETURNVALUE \ | 
| 16   (FX_WSTRC(L"foxit_xfa_formcalc_runtime_func_return_value")) | 16   (FX_WSTRC(L"foxit_xfa_formcalc_runtime_func_return_value")) | 
| 17 #define EXCLAMATION_IN_IDENTIFIER \ | 17 #define EXCLAMATION_IN_IDENTIFIER \ | 
| 18   (FX_WSTRC(L"foxit_xfa_formcalc__exclamation__")) | 18   (FX_WSTRC(L"foxit_xfa_formcalc__exclamation__")) | 
| 19 | 19 | 
| 20 enum XFA_FM_SimpleExpressionType { | 20 enum XFA_FM_SimpleExpressionType { | 
| 21   ASSIGN, | 21   ASSIGN, | 
| 22   LOGICALOR, | 22   LOGICALOR, | 
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 289 class CXFA_FMMethodCallExpression : public CXFA_FMBinExpression { | 289 class CXFA_FMMethodCallExpression : public CXFA_FMBinExpression { | 
| 290  public: | 290  public: | 
| 291   CXFA_FMMethodCallExpression(uint32_t line, | 291   CXFA_FMMethodCallExpression(uint32_t line, | 
| 292                               CXFA_FMSimpleExpression* pAccessorExp1, | 292                               CXFA_FMSimpleExpression* pAccessorExp1, | 
| 293                               CXFA_FMSimpleExpression* pCallExp); | 293                               CXFA_FMSimpleExpression* pCallExp); | 
| 294   ~CXFA_FMMethodCallExpression() override {} | 294   ~CXFA_FMMethodCallExpression() override {} | 
| 295   void ToJavaScript(CFX_WideTextBuf& javascript) override; | 295   void ToJavaScript(CFX_WideTextBuf& javascript) override; | 
| 296 }; | 296 }; | 
| 297 | 297 | 
| 298 #endif  // XFA_FXFA_FM2JS_XFA_SIMPLEEXPRESSION_H_ | 298 #endif  // XFA_FXFA_FM2JS_XFA_SIMPLEEXPRESSION_H_ | 
| OLD | NEW | 
|---|