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_FM_EXPRESSION_H | 7 #ifndef XFA_SRC_FXFA_SRC_FM2JS_XFA_EXPRESSION_H_ |
8 #define _XFA_FM_EXPRESSION_H | 8 #define XFA_SRC_FXFA_SRC_FM2JS_XFA_EXPRESSION_H_ |
| 9 |
9 enum XFA_FM_EXPTYPE { | 10 enum XFA_FM_EXPTYPE { |
10 XFA_FM_EXPTYPE_UNKNOWN, | 11 XFA_FM_EXPTYPE_UNKNOWN, |
11 XFA_FM_EXPTYPE_FUNC, | 12 XFA_FM_EXPTYPE_FUNC, |
12 XFA_FM_EXPTYPE_VAR, | 13 XFA_FM_EXPTYPE_VAR, |
13 XFA_FM_EXPTYPE_EXP, | 14 XFA_FM_EXPTYPE_EXP, |
14 XFA_FM_EXPTYPE_BLOCK, | 15 XFA_FM_EXPTYPE_BLOCK, |
15 XFA_FM_EXPTYPE_IF, | 16 XFA_FM_EXPTYPE_IF, |
16 XFA_FM_EXPTYPE_BREAK, | 17 XFA_FM_EXPTYPE_BREAK, |
17 XFA_FM_EXPTYPE_CONTINUE, | 18 XFA_FM_EXPTYPE_CONTINUE, |
18 }; | 19 }; |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 CXFA_FMExpression* pList); | 169 CXFA_FMExpression* pList); |
169 virtual ~CXFA_FMForeachExpression(); | 170 virtual ~CXFA_FMForeachExpression(); |
170 virtual void ToJavaScript(CFX_WideTextBuf& javascript); | 171 virtual void ToJavaScript(CFX_WideTextBuf& javascript); |
171 virtual void ToImpliedReturnJS(CFX_WideTextBuf&); | 172 virtual void ToImpliedReturnJS(CFX_WideTextBuf&); |
172 | 173 |
173 private: | 174 private: |
174 CFX_WideStringC m_wsIdentifier; | 175 CFX_WideStringC m_wsIdentifier; |
175 CFX_PtrArray* m_pAccessors; | 176 CFX_PtrArray* m_pAccessors; |
176 CXFA_FMExpression* m_pList; | 177 CXFA_FMExpression* m_pList; |
177 }; | 178 }; |
178 #endif | 179 |
| 180 #endif // XFA_SRC_FXFA_SRC_FM2JS_XFA_EXPRESSION_H_ |
OLD | NEW |