summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/cxfa_fm2jscontext.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-05-17 10:24:35 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-05-17 20:50:23 +0000
commitf8afce64b4226cfc38d4150dbe28c1964effa015 (patch)
treec365bda63efc168b57225b3c4f34c813c38e0449 /xfa/fxfa/fm2js/cxfa_fm2jscontext.cpp
parenta3cf977f974c67bd2cef8dee5b810784bfc21336 (diff)
downloadpdfium-f8afce64b4226cfc38d4150dbe28c1964effa015.tar.xz
Shorten internal JS prefixes.
This Cl shortens the prefix applied in JavaScript to reduce the size of the generated JavaScript string. Change-Id: Ica5d02cc89b17140ba42deae72484cd159f8e3e5 Reviewed-on: https://pdfium-review.googlesource.com/5590 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js/cxfa_fm2jscontext.cpp')
-rw-r--r--xfa/fxfa/fm2js/cxfa_fm2jscontext.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/xfa/fxfa/fm2js/cxfa_fm2jscontext.cpp b/xfa/fxfa/fm2js/cxfa_fm2jscontext.cpp
index b074a9aa57..f191707ca3 100644
--- a/xfa/fxfa/fm2js/cxfa_fm2jscontext.cpp
+++ b/xfa/fxfa/fm2js/cxfa_fm2jscontext.cpp
@@ -324,30 +324,30 @@ const FXJSE_FUNCTION_DESCRIPTOR formcalc_fm2js_functions[] = {
{"Get", CXFA_FM2JSContext::Get},
{"Post", CXFA_FM2JSContext::Post},
{"Put", CXFA_FM2JSContext::Put},
- {"positive_operator", CXFA_FM2JSContext::positive_operator},
- {"negative_operator", CXFA_FM2JSContext::negative_operator},
- {"logical_or_operator", CXFA_FM2JSContext::logical_or_operator},
- {"logical_and_operator", CXFA_FM2JSContext::logical_and_operator},
- {"logical_not_operator", CXFA_FM2JSContext::logical_not_operator},
- {"equality_operator", CXFA_FM2JSContext::equality_operator},
- {"notequality_operator", CXFA_FM2JSContext::notequality_operator},
- {"less_operator", CXFA_FM2JSContext::less_operator},
- {"lessequal_operator", CXFA_FM2JSContext::lessequal_operator},
- {"greater_operator", CXFA_FM2JSContext::greater_operator},
- {"greaterequal_operator", CXFA_FM2JSContext::greaterequal_operator},
- {"plus_operator", CXFA_FM2JSContext::plus_operator},
- {"minus_operator", CXFA_FM2JSContext::minus_operator},
- {"multiple_operator", CXFA_FM2JSContext::multiple_operator},
- {"divide_operator", CXFA_FM2JSContext::divide_operator},
- {"assign_value_operator", CXFA_FM2JSContext::assign_value_operator},
- {"dot_accessor", CXFA_FM2JSContext::dot_accessor},
- {"dotdot_accessor", CXFA_FM2JSContext::dotdot_accessor},
- {"concat_fm_object", CXFA_FM2JSContext::concat_fm_object},
- {"is_fm_object", CXFA_FM2JSContext::is_fm_object},
- {"is_fm_array", CXFA_FM2JSContext::is_fm_array},
- {"get_fm_value", CXFA_FM2JSContext::get_fm_value},
- {"get_fm_jsobj", CXFA_FM2JSContext::get_fm_jsobj},
- {"fm_var_filter", CXFA_FM2JSContext::fm_var_filter},
+ {"pos_op", CXFA_FM2JSContext::positive_operator},
+ {"neg_op", CXFA_FM2JSContext::negative_operator},
+ {"log_or_op", CXFA_FM2JSContext::logical_or_operator},
+ {"log_and_op", CXFA_FM2JSContext::logical_and_operator},
+ {"log_not_op", CXFA_FM2JSContext::logical_not_operator},
+ {"eq_op", CXFA_FM2JSContext::equality_operator},
+ {"neq_op", CXFA_FM2JSContext::notequality_operator},
+ {"lt_op", CXFA_FM2JSContext::less_operator},
+ {"le_op", CXFA_FM2JSContext::lessequal_operator},
+ {"gt_op", CXFA_FM2JSContext::greater_operator},
+ {"gteq_op", CXFA_FM2JSContext::greaterequal_operator},
+ {"plus_op", CXFA_FM2JSContext::plus_operator},
+ {"minus_op", CXFA_FM2JSContext::minus_operator},
+ {"mul_op", CXFA_FM2JSContext::multiple_operator},
+ {"div_op", CXFA_FM2JSContext::divide_operator},
+ {"asgn_val_op", CXFA_FM2JSContext::assign_value_operator},
+ {"dot_acc", CXFA_FM2JSContext::dot_accessor},
+ {"dotdot_acc", CXFA_FM2JSContext::dotdot_accessor},
+ {"concat_obj", CXFA_FM2JSContext::concat_fm_object},
+ {"is_obj", CXFA_FM2JSContext::is_fm_object},
+ {"is_ary", CXFA_FM2JSContext::is_fm_array},
+ {"get_val", CXFA_FM2JSContext::get_fm_value},
+ {"get_jsobj", CXFA_FM2JSContext::get_fm_jsobj},
+ {"var_filter", CXFA_FM2JSContext::fm_var_filter},
};
const FXJSE_CLASS_DESCRIPTOR formcalc_fm2js_descriptor = {