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

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

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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/fxfa/fm2js/xfa_fm2jscontext.cpp ('k') | xfa/fxfa/fm2js/xfa_fmparse.cpp » ('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_SRC_FXFA_FM2JS_XFA_FMPARSE_H_ 7 #ifndef XFA_FXFA_FM2JS_XFA_FMPARSE_H_
8 #define XFA_SRC_FXFA_FM2JS_XFA_FMPARSE_H_ 8 #define XFA_FXFA_FM2JS_XFA_FMPARSE_H_
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "xfa/src/fxfa/fm2js/xfa_expression.h" 12 #include "xfa/fxfa/fm2js/xfa_expression.h"
13 #include "xfa/src/fxfa/fm2js/xfa_lexer.h" 13 #include "xfa/fxfa/fm2js/xfa_lexer.h"
14 14
15 class CXFA_FMParse { 15 class CXFA_FMParse {
16 public: 16 public:
17 CXFA_FMParse(); 17 CXFA_FMParse();
18 int32_t Init(const CFX_WideStringC& wsFormcalc, CXFA_FMErrorInfo* pErrorInfo); 18 int32_t Init(const CFX_WideStringC& wsFormcalc, CXFA_FMErrorInfo* pErrorInfo);
19 void NextToken(); 19 void NextToken();
20 void Check(XFA_FM_TOKEN op); 20 void Check(XFA_FM_TOKEN op);
21 void Error(FX_DWORD lineNum, XFA_FM_ERRMSG msg, ...); 21 void Error(FX_DWORD lineNum, XFA_FM_ERRMSG msg, ...);
22 CFX_PtrArray* ParseTopExpression(); 22 CFX_PtrArray* ParseTopExpression();
23 CXFA_FMExpression* ParseFunction(); 23 CXFA_FMExpression* ParseFunction();
(...skipping 19 matching lines...) Expand all
43 CXFA_FMSimpleExpression* ParsePrimaryExpression(); 43 CXFA_FMSimpleExpression* ParsePrimaryExpression();
44 CXFA_FMSimpleExpression* ParsePostExpression(CXFA_FMSimpleExpression* e); 44 CXFA_FMSimpleExpression* ParsePostExpression(CXFA_FMSimpleExpression* e);
45 CXFA_FMSimpleExpression* ParseIndexExpression(); 45 CXFA_FMSimpleExpression* ParseIndexExpression();
46 46
47 private: 47 private:
48 std::unique_ptr<CXFA_FMLexer> m_lexer; 48 std::unique_ptr<CXFA_FMLexer> m_lexer;
49 CXFA_FMToken* m_pToken; 49 CXFA_FMToken* m_pToken;
50 CXFA_FMErrorInfo* m_pErrorInfo; 50 CXFA_FMErrorInfo* m_pErrorInfo;
51 }; 51 };
52 52
53 #endif // XFA_SRC_FXFA_FM2JS_XFA_FMPARSE_H_ 53 #endif // XFA_FXFA_FM2JS_XFA_FMPARSE_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/fm2js/xfa_fm2jscontext.cpp ('k') | xfa/fxfa/fm2js/xfa_fmparse.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698