Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: xfa/src/fxfa/src/fm2js/xfa_fmparse.h

Issue 1087053002: Merge to XFA: Kill CFX_Object. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/src/fxfa/src/fm2js/xfa_fm2jscontext.h ('k') | xfa/src/fxfa/src/fm2js/xfa_lexer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_PARSE_H 7 #ifndef _XFA_FM_PARSE_H
8 #define _XFA_FM_PARSE_H 8 #define _XFA_FM_PARSE_H
9 class CXFA_FMParse : public CFX_Object 9 class CXFA_FMParse
10 { 10 {
11 public: 11 public:
12 CXFA_FMParse(); 12 CXFA_FMParse();
13 ~CXFA_FMParse(); 13 ~CXFA_FMParse();
14 FX_INT32 Init(FX_WSTR wsFormcalc, CXFA_FMErrorInfo *pErrorInfo); 14 FX_INT32 Init(FX_WSTR wsFormcalc, CXFA_FMErrorInfo *pErrorInfo);
15 void NextToken(); 15 void NextToken();
16 void Check(XFA_FM_TOKEN op); 16 void Check(XFA_FM_TOKEN op);
17 void Error(FX_DWORD lineNum, XFA_FM_ERRMSG msg, ...); 17 void Error(FX_DWORD lineNum, XFA_FM_ERRMSG msg, ...);
18 CFX_PtrArray * ParseTopExpression(); 18 CFX_PtrArray * ParseTopExpression();
19 CXFA_FMExpression *ParseFunction(); 19 CXFA_FMExpression *ParseFunction();
(...skipping 20 matching lines...) Expand all
40 CXFA_FMSimpleExpression *ParsePostExpression(CXFA_FMSimpleExpression *e); 40 CXFA_FMSimpleExpression *ParsePostExpression(CXFA_FMSimpleExpression *e);
41 CXFA_FMSimpleExpression *ParseIndexExpression(); 41 CXFA_FMSimpleExpression *ParseIndexExpression();
42 private: 42 private:
43 FX_LPCWSTR m_pScript; 43 FX_LPCWSTR m_pScript;
44 FX_STRSIZE m_uLength; 44 FX_STRSIZE m_uLength;
45 CXFA_FMLexer *m_lexer; 45 CXFA_FMLexer *m_lexer;
46 CXFA_FMToken *m_pToken; 46 CXFA_FMToken *m_pToken;
47 CXFA_FMErrorInfo *m_pErrorInfo; 47 CXFA_FMErrorInfo *m_pErrorInfo;
48 }; 48 };
49 #endif 49 #endif
OLDNEW
« no previous file with comments | « xfa/src/fxfa/src/fm2js/xfa_fm2jscontext.h ('k') | xfa/src/fxfa/src/fm2js/xfa_lexer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698