diff options
Diffstat (limited to 'xfa/fxfa/fm2js/cxfa_fmparse.h')
-rw-r--r-- | xfa/fxfa/fm2js/cxfa_fmparse.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xfa/fxfa/fm2js/cxfa_fmparse.h b/xfa/fxfa/fm2js/cxfa_fmparse.h index 43a4450128..625145e7a2 100644 --- a/xfa/fxfa/fm2js/cxfa_fmparse.h +++ b/xfa/fxfa/fm2js/cxfa_fmparse.h @@ -18,13 +18,14 @@ class CXFA_FMParse { CXFA_FMParse(const CFX_WideStringC& wsFormcalc, CXFA_FMErrorInfo* pErrorInfo); ~CXFA_FMParse(); - void NextToken(); - std::vector<std::unique_ptr<CXFA_FMExpression>> ParseTopExpression(); + std::unique_ptr<CXFA_FMFunctionDefinition> Parse(); private: + void NextToken(); void Check(XFA_FM_TOKEN op); void Error(const wchar_t* msg, ...); bool HasError() const; + std::vector<std::unique_ptr<CXFA_FMExpression>> ParseTopExpression(); std::unique_ptr<CXFA_FMExpression> ParseFunction(); std::unique_ptr<CXFA_FMExpression> ParseExpression(); std::unique_ptr<CXFA_FMExpression> ParseVarExpression(); |