summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/cxfa_fmparser.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-02-20 21:52:39 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-20 21:52:39 +0000
commit4102f7b86e415b2a254521a1fc52e11bdc932864 (patch)
tree47536abfbe68ea7a8a77240bede1e95e8d97ff86 /xfa/fxfa/fm2js/cxfa_fmparser.h
parenta03eb1d3ae475e7208df80a8bed910ec4922b396 (diff)
downloadpdfium-4102f7b86e415b2a254521a1fc52e11bdc932864.tar.xz
[formcalc] Split literal parsing to its own method
This Cl moves the code to create literals in the AST from ParsePrimaryExpression to ParseLiteral. Change-Id: I41ba20f28f1cb1d76d753c5baec790872acdf1da Reviewed-on: https://pdfium-review.googlesource.com/27411 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js/cxfa_fmparser.h')
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmparser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xfa/fxfa/fm2js/cxfa_fmparser.h b/xfa/fxfa/fm2js/cxfa_fmparser.h
index c2da48496f..e78495309e 100644
--- a/xfa/fxfa/fm2js/cxfa_fmparser.h
+++ b/xfa/fxfa/fm2js/cxfa_fmparser.h
@@ -55,6 +55,7 @@ class CXFA_FMParser {
std::unique_ptr<CXFA_FMSimpleExpression> ParsePostExpression(
std::unique_ptr<CXFA_FMSimpleExpression> e);
std::unique_ptr<CXFA_FMSimpleExpression> ParseIndexExpression();
+ std::unique_ptr<CXFA_FMSimpleExpression> ParseLiteral();
std::unique_ptr<CXFA_FMLexer> m_lexer;
CXFA_FMToken m_token;