diff options
author | Ryan Harrison <rharrison@chromium.org> | 2017-07-27 11:41:07 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-27 18:03:49 +0000 |
commit | 495d89ff20806b6acdf564f3865b1fb974ccf44a (patch) | |
tree | 1b4d867bfef50f6870c217506e781bd372b2b3ca /xfa/fxfa/fm2js/cxfa_fmlexer.h | |
parent | 2b70ec2d6df96bdf6f72cfac7a8cbbcdd1293d8c (diff) | |
download | pdfium-495d89ff20806b6acdf564f3865b1fb974ccf44a.tar.xz |
Add conversion from FMTokens to strings
This is to aid with debugging, since the getting
things like the type is a pain due to it being a enum.
Bug:
Change-Id: I89bae7103b476d7fd09ba78699367a1a413ee700
Reviewed-on: https://pdfium-review.googlesource.com/9190
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js/cxfa_fmlexer.h')
-rw-r--r-- | xfa/fxfa/fm2js/cxfa_fmlexer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xfa/fxfa/fm2js/cxfa_fmlexer.h b/xfa/fxfa/fm2js/cxfa_fmlexer.h index b3f13dae7a..858dc5d988 100644 --- a/xfa/fxfa/fm2js/cxfa_fmlexer.h +++ b/xfa/fxfa/fm2js/cxfa_fmlexer.h @@ -95,6 +95,8 @@ class CXFA_FMToken { explicit CXFA_FMToken(uint32_t line_num); ~CXFA_FMToken(); + CFX_WideString ToDebugString() const; + CFX_WideStringC m_string; XFA_FM_TOKEN m_type; uint32_t m_line_num; |