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_SIMPLEEXPRESSION_H_ | 7 #ifndef XFA_FXFA_FM2JS_XFA_SIMPLEEXPRESSION_H_ |
8 #define XFA_SRC_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/include/fxcrt/fx_basic.h" | 12 #include "core/include/fxcrt/fx_basic.h" |
13 #include "xfa/src/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, |
23 LOGICALAND, | 23 LOGICALAND, |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 | 282 |
283 class CXFA_FMMethodCallExpression : public CXFA_FMBinExpression { | 283 class CXFA_FMMethodCallExpression : public CXFA_FMBinExpression { |
284 public: | 284 public: |
285 CXFA_FMMethodCallExpression(FX_DWORD line, | 285 CXFA_FMMethodCallExpression(FX_DWORD line, |
286 CXFA_FMSimpleExpression* pAccessorExp1, | 286 CXFA_FMSimpleExpression* pAccessorExp1, |
287 CXFA_FMSimpleExpression* pCallExp); | 287 CXFA_FMSimpleExpression* pCallExp); |
288 ~CXFA_FMMethodCallExpression() override {} | 288 ~CXFA_FMMethodCallExpression() override {} |
289 void ToJavaScript(CFX_WideTextBuf& javascript) override; | 289 void ToJavaScript(CFX_WideTextBuf& javascript) override; |
290 }; | 290 }; |
291 | 291 |
292 #endif // XFA_SRC_FXFA_FM2JS_XFA_SIMPLEEXPRESSION_H_ | 292 #endif // XFA_FXFA_FM2JS_XFA_SIMPLEEXPRESSION_H_ |
OLD | NEW |