summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/xfa_fmparse.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/fm2js/xfa_fmparse.h')
-rw-r--r--xfa/fxfa/fm2js/xfa_fmparse.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fxfa/fm2js/xfa_fmparse.h b/xfa/fxfa/fm2js/xfa_fmparse.h
index 23b01b877c..8cf6b955ed 100644
--- a/xfa/fxfa/fm2js/xfa_fmparse.h
+++ b/xfa/fxfa/fm2js/xfa_fmparse.h
@@ -19,9 +19,12 @@ class CXFA_FMParse {
~CXFA_FMParse();
void NextToken();
+ std::vector<std::unique_ptr<CXFA_FMExpression>> ParseTopExpression();
+
+ private:
void Check(XFA_FM_TOKEN op);
void Error(uint32_t lineNum, const wchar_t* msg, ...);
- std::vector<std::unique_ptr<CXFA_FMExpression>> ParseTopExpression();
+ bool HasError() const;
std::unique_ptr<CXFA_FMExpression> ParseFunction();
std::unique_ptr<CXFA_FMExpression> ParseExpression();
std::unique_ptr<CXFA_FMExpression> ParseVarExpression();
@@ -47,9 +50,6 @@ class CXFA_FMParse {
std::unique_ptr<CXFA_FMSimpleExpression> e);
std::unique_ptr<CXFA_FMSimpleExpression> ParseIndexExpression();
- private:
- bool HasError() const;
-
std::unique_ptr<CXFA_FMLexer> m_lexer;
CXFA_FMToken* m_pToken;
CXFA_FMErrorInfo* const m_pErrorInfo;