• Home
  • Raw
  • Download

Lines Matching refs:javascript

34 bool CXFA_FMExpression::ToJavaScript(CFX_WideTextBuf& javascript) {  in ToJavaScript()  argument
36 return !CXFA_IsTooBig(javascript) && depthManager.IsWithinMaxDepth(); in ToJavaScript()
39 bool CXFA_FMExpression::ToImpliedReturnJS(CFX_WideTextBuf& javascript) { in ToImpliedReturnJS() argument
41 return !CXFA_IsTooBig(javascript) && depthManager.IsWithinMaxDepth(); in ToImpliedReturnJS()
58 bool CXFA_FMFunctionDefinition::ToJavaScript(CFX_WideTextBuf& javascript) { in ToJavaScript() argument
60 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToJavaScript()
64 javascript << L"// comments only"; in ToJavaScript()
65 return !CXFA_IsTooBig(javascript); in ToJavaScript()
68 javascript << L"(\n"; in ToJavaScript()
70 javascript << L"function "; in ToJavaScript()
74 javascript << tempName; in ToJavaScript()
76 javascript << m_wsName; in ToJavaScript()
78 javascript << L"("; in ToJavaScript()
82 javascript << L", "; in ToJavaScript()
86 javascript << tempIdentifier; in ToJavaScript()
88 javascript << identifier; in ToJavaScript()
92 javascript << L")\n{\n"; in ToJavaScript()
93 javascript << L"var "; in ToJavaScript()
94 javascript << RUNTIMEFUNCTIONRETURNVALUE; in ToJavaScript()
95 javascript << L" = null;\n"; in ToJavaScript()
99 ret = expr->ToImpliedReturnJS(javascript); in ToJavaScript()
101 ret = expr->ToJavaScript(javascript); in ToJavaScript()
106 javascript << L"return "; in ToJavaScript()
108 javascript << XFA_FM_EXPTypeToString(GETFMVALUE); in ToJavaScript()
109 javascript << L"("; in ToJavaScript()
110 javascript << RUNTIMEFUNCTIONRETURNVALUE; in ToJavaScript()
111 javascript << L")"; in ToJavaScript()
113 javascript << RUNTIMEFUNCTIONRETURNVALUE; in ToJavaScript()
115 javascript << L";\n}\n"; in ToJavaScript()
117 javascript << L").call(this);\n"; in ToJavaScript()
119 return !CXFA_IsTooBig(javascript); in ToJavaScript()
122 bool CXFA_FMFunctionDefinition::ToImpliedReturnJS(CFX_WideTextBuf& javascript) { in ToImpliedReturnJS() argument
124 return !CXFA_IsTooBig(javascript) && depthManager.IsWithinMaxDepth(); in ToImpliedReturnJS()
137 bool CXFA_FMVarExpression::ToJavaScript(CFX_WideTextBuf& javascript) { in ToJavaScript() argument
139 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToJavaScript()
142 javascript << L"var "; in ToJavaScript()
148 javascript << tempName; in ToJavaScript()
149 javascript << L" = "; in ToJavaScript()
151 if (!m_pInit->ToJavaScript(javascript)) in ToJavaScript()
153 javascript << tempName; in ToJavaScript()
154 javascript << L" = "; in ToJavaScript()
155 javascript << XFA_FM_EXPTypeToString(VARFILTER); in ToJavaScript()
156 javascript << L"("; in ToJavaScript()
157 javascript << tempName; in ToJavaScript()
158 javascript << L");\n"; in ToJavaScript()
160 javascript << L"\"\";\n"; in ToJavaScript()
162 return !CXFA_IsTooBig(javascript); in ToJavaScript()
165 bool CXFA_FMVarExpression::ToImpliedReturnJS(CFX_WideTextBuf& javascript) { in ToImpliedReturnJS() argument
167 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToImpliedReturnJS()
170 javascript << L"var "; in ToImpliedReturnJS()
176 javascript << tempName; in ToImpliedReturnJS()
177 javascript << L" = "; in ToImpliedReturnJS()
179 if (!m_pInit->ToJavaScript(javascript)) in ToImpliedReturnJS()
181 javascript << tempName; in ToImpliedReturnJS()
182 javascript << L" = "; in ToImpliedReturnJS()
183 javascript << XFA_FM_EXPTypeToString(VARFILTER); in ToImpliedReturnJS()
184 javascript << L"("; in ToImpliedReturnJS()
185 javascript << tempName; in ToImpliedReturnJS()
186 javascript << L");\n"; in ToImpliedReturnJS()
188 javascript << L"\"\";\n"; in ToImpliedReturnJS()
190 javascript << RUNTIMEFUNCTIONRETURNVALUE; in ToImpliedReturnJS()
191 javascript << L" = "; in ToImpliedReturnJS()
192 javascript << tempName; in ToImpliedReturnJS()
193 javascript << L";\n"; in ToImpliedReturnJS()
194 return !CXFA_IsTooBig(javascript); in ToImpliedReturnJS()
205 bool CXFA_FMExpExpression::ToJavaScript(CFX_WideTextBuf& javascript) { in ToJavaScript() argument
207 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToJavaScript()
210 bool ret = m_pExpression->ToJavaScript(javascript); in ToJavaScript()
212 javascript << L";\n"; in ToJavaScript()
216 bool CXFA_FMExpExpression::ToImpliedReturnJS(CFX_WideTextBuf& javascript) { in ToImpliedReturnJS() argument
218 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToImpliedReturnJS()
222 return m_pExpression->ToImpliedReturnJS(javascript); in ToImpliedReturnJS()
229 javascript << RUNTIMEFUNCTIONRETURNVALUE; in ToImpliedReturnJS()
230 javascript << L" = "; in ToImpliedReturnJS()
231 javascript << XFA_FM_EXPTypeToString(GETFMVALUE); in ToImpliedReturnJS()
232 javascript << L"("; in ToImpliedReturnJS()
233 if (!m_pExpression->ToJavaScript(javascript)) in ToImpliedReturnJS()
235 javascript << L");\n"; in ToImpliedReturnJS()
236 return !CXFA_IsTooBig(javascript); in ToImpliedReturnJS()
239 javascript << RUNTIMEFUNCTIONRETURNVALUE; in ToImpliedReturnJS()
240 javascript << L" = "; in ToImpliedReturnJS()
241 if (!m_pExpression->ToJavaScript(javascript)) in ToImpliedReturnJS()
243 javascript << L";\n"; in ToImpliedReturnJS()
244 return !CXFA_IsTooBig(javascript); in ToImpliedReturnJS()
255 bool CXFA_FMBlockExpression::ToJavaScript(CFX_WideTextBuf& javascript) { in ToJavaScript() argument
257 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToJavaScript()
260 javascript << L"{\n"; in ToJavaScript()
262 if (!expr->ToJavaScript(javascript)) in ToJavaScript()
265 javascript << L"}\n"; in ToJavaScript()
266 return !CXFA_IsTooBig(javascript); in ToJavaScript()
269 bool CXFA_FMBlockExpression::ToImpliedReturnJS(CFX_WideTextBuf& javascript) { in ToImpliedReturnJS() argument
271 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToImpliedReturnJS()
274 javascript << L"{\n"; in ToImpliedReturnJS()
278 ret = expr->ToImpliedReturnJS(javascript); in ToImpliedReturnJS()
280 ret = expr->ToJavaScript(javascript); in ToImpliedReturnJS()
285 javascript << L"}\n"; in ToImpliedReturnJS()
286 return !CXFA_IsTooBig(javascript); in ToImpliedReturnJS()
296 bool CXFA_FMDoExpression::ToJavaScript(CFX_WideTextBuf& javascript) { in ToJavaScript() argument
298 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToJavaScript()
301 return m_pList->ToJavaScript(javascript); in ToJavaScript()
304 bool CXFA_FMDoExpression::ToImpliedReturnJS(CFX_WideTextBuf& javascript) { in ToImpliedReturnJS() argument
306 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToImpliedReturnJS()
309 return m_pList->ToImpliedReturnJS(javascript); in ToImpliedReturnJS()
324 bool CXFA_FMIfExpression::ToJavaScript(CFX_WideTextBuf& javascript) { in ToJavaScript() argument
326 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToJavaScript()
329 javascript << L"if ("; in ToJavaScript()
331 javascript << XFA_FM_EXPTypeToString(GETFMVALUE); in ToJavaScript()
332 javascript << L"("; in ToJavaScript()
333 if (!m_pExpression->ToJavaScript(javascript)) in ToJavaScript()
335 javascript << L")"; in ToJavaScript()
337 javascript << L")\n"; in ToJavaScript()
338 if (CXFA_IsTooBig(javascript)) in ToJavaScript()
342 if (!m_pIfExpression->ToJavaScript(javascript)) in ToJavaScript()
344 if (CXFA_IsTooBig(javascript)) in ToJavaScript()
350 javascript << L"else\n"; in ToJavaScript()
351 javascript << L"{\n"; in ToJavaScript()
352 if (!m_pElseExpression->ToJavaScript(javascript)) in ToJavaScript()
354 javascript << L"}\n"; in ToJavaScript()
356 javascript << L"else\n"; in ToJavaScript()
357 if (!m_pElseExpression->ToJavaScript(javascript)) in ToJavaScript()
361 return !CXFA_IsTooBig(javascript); in ToJavaScript()
364 bool CXFA_FMIfExpression::ToImpliedReturnJS(CFX_WideTextBuf& javascript) { in ToImpliedReturnJS() argument
366 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToImpliedReturnJS()
369 javascript << RUNTIMEFUNCTIONRETURNVALUE; in ToImpliedReturnJS()
370 javascript << L" = 0;\n"; in ToImpliedReturnJS()
371 javascript << L"if ("; in ToImpliedReturnJS()
373 javascript << XFA_FM_EXPTypeToString(GETFMVALUE); in ToImpliedReturnJS()
374 javascript << L"("; in ToImpliedReturnJS()
375 if (!m_pExpression->ToJavaScript(javascript)) in ToImpliedReturnJS()
377 javascript << L")"; in ToImpliedReturnJS()
379 javascript << L")\n"; in ToImpliedReturnJS()
380 if (CXFA_IsTooBig(javascript)) in ToImpliedReturnJS()
384 if (!m_pIfExpression->ToImpliedReturnJS(javascript)) in ToImpliedReturnJS()
386 if (CXFA_IsTooBig(javascript)) in ToImpliedReturnJS()
391 javascript << L"else\n"; in ToImpliedReturnJS()
392 javascript << L"{\n"; in ToImpliedReturnJS()
393 if (!m_pElseExpression->ToImpliedReturnJS(javascript)) in ToImpliedReturnJS()
395 javascript << L"}\n"; in ToImpliedReturnJS()
397 javascript << L"else\n"; in ToImpliedReturnJS()
398 if (!m_pElseExpression->ToImpliedReturnJS(javascript)) in ToImpliedReturnJS()
402 return !CXFA_IsTooBig(javascript); in ToImpliedReturnJS()
407 bool CXFA_FMLoopExpression::ToJavaScript(CFX_WideTextBuf& javascript) { in ToJavaScript() argument
409 return !CXFA_IsTooBig(javascript) && depthManager.IsWithinMaxDepth(); in ToJavaScript()
412 bool CXFA_FMLoopExpression::ToImpliedReturnJS(CFX_WideTextBuf& javascript) { in ToImpliedReturnJS() argument
414 return !CXFA_IsTooBig(javascript) && depthManager.IsWithinMaxDepth(); in ToImpliedReturnJS()
427 bool CXFA_FMWhileExpression::ToJavaScript(CFX_WideTextBuf& javascript) { in ToJavaScript() argument
429 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToJavaScript()
432 javascript << L"while ("; in ToJavaScript()
433 if (!m_pCondition->ToJavaScript(javascript)) in ToJavaScript()
435 javascript << L")\n"; in ToJavaScript()
436 if (CXFA_IsTooBig(javascript)) in ToJavaScript()
439 if (!m_pExpression->ToJavaScript(javascript)) in ToJavaScript()
441 return !CXFA_IsTooBig(javascript); in ToJavaScript()
444 bool CXFA_FMWhileExpression::ToImpliedReturnJS(CFX_WideTextBuf& javascript) { in ToImpliedReturnJS() argument
446 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToImpliedReturnJS()
449 javascript << RUNTIMEFUNCTIONRETURNVALUE; in ToImpliedReturnJS()
450 javascript << L" = 0;\n"; in ToImpliedReturnJS()
451 javascript << L"while ("; in ToImpliedReturnJS()
452 if (!m_pCondition->ToJavaScript(javascript)) in ToImpliedReturnJS()
454 javascript << L")\n"; in ToImpliedReturnJS()
455 if (CXFA_IsTooBig(javascript)) in ToImpliedReturnJS()
458 if (!m_pExpression->ToImpliedReturnJS(javascript)) in ToImpliedReturnJS()
460 return !CXFA_IsTooBig(javascript); in ToImpliedReturnJS()
468 bool CXFA_FMBreakExpression::ToJavaScript(CFX_WideTextBuf& javascript) { in ToJavaScript() argument
470 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToJavaScript()
473 javascript << RUNTIMEFUNCTIONRETURNVALUE; in ToJavaScript()
474 javascript << L" = 0;\n"; in ToJavaScript()
475 javascript << L"break;\n"; in ToJavaScript()
476 return !CXFA_IsTooBig(javascript); in ToJavaScript()
479 bool CXFA_FMBreakExpression::ToImpliedReturnJS(CFX_WideTextBuf& javascript) { in ToImpliedReturnJS() argument
481 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToImpliedReturnJS()
484 javascript << RUNTIMEFUNCTIONRETURNVALUE; in ToImpliedReturnJS()
485 javascript << L" = 0;\n"; in ToImpliedReturnJS()
486 javascript << L"break;\n"; in ToImpliedReturnJS()
487 return !CXFA_IsTooBig(javascript); in ToImpliedReturnJS()
495 bool CXFA_FMContinueExpression::ToJavaScript(CFX_WideTextBuf& javascript) { in ToJavaScript() argument
497 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToJavaScript()
500 javascript << RUNTIMEFUNCTIONRETURNVALUE; in ToJavaScript()
501 javascript << L" = 0;\n"; in ToJavaScript()
502 javascript << L"continue;\n"; in ToJavaScript()
503 return !CXFA_IsTooBig(javascript); in ToJavaScript()
506 bool CXFA_FMContinueExpression::ToImpliedReturnJS(CFX_WideTextBuf& javascript) { in ToImpliedReturnJS() argument
508 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToImpliedReturnJS()
511 javascript << RUNTIMEFUNCTIONRETURNVALUE; in ToImpliedReturnJS()
512 javascript << L" = 0;\n"; in ToImpliedReturnJS()
513 javascript << L"continue;\n"; in ToImpliedReturnJS()
514 return !CXFA_IsTooBig(javascript); in ToImpliedReturnJS()
535 bool CXFA_FMForExpression::ToJavaScript(CFX_WideTextBuf& javascript) { in ToJavaScript() argument
537 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToJavaScript()
540 javascript << L"{\nvar "; in ToJavaScript()
545 javascript << tempVariant; in ToJavaScript()
548 javascript << m_wsVariant; in ToJavaScript()
550 javascript << L" = null;\n"; in ToJavaScript()
551 javascript << L"for ("; in ToJavaScript()
552 javascript << tempVariant; in ToJavaScript()
553 javascript << L" = "; in ToJavaScript()
554 javascript << XFA_FM_EXPTypeToString(GETFMVALUE); in ToJavaScript()
555 javascript << L"("; in ToJavaScript()
556 if (!m_pAssignment->ToJavaScript(javascript)) in ToJavaScript()
558 javascript << L"); "; in ToJavaScript()
559 javascript << tempVariant; in ToJavaScript()
561 javascript << (m_bDirection ? kLessEqual : kGreaterEqual); in ToJavaScript()
562 javascript << XFA_FM_EXPTypeToString(GETFMVALUE); in ToJavaScript()
563 javascript << L"("; in ToJavaScript()
564 if (!m_pAccessor->ToJavaScript(javascript)) in ToJavaScript()
566 javascript << L"); "; in ToJavaScript()
567 javascript << tempVariant; in ToJavaScript()
568 javascript << (m_bDirection ? kPlusEqual : kMinusEqual); in ToJavaScript()
569 if (CXFA_IsTooBig(javascript)) in ToJavaScript()
573 javascript << XFA_FM_EXPTypeToString(GETFMVALUE); in ToJavaScript()
574 javascript << L"("; in ToJavaScript()
575 if (!m_pStep->ToJavaScript(javascript)) in ToJavaScript()
577 javascript << L")"; in ToJavaScript()
579 javascript << L"1"; in ToJavaScript()
581 javascript << L")\n"; in ToJavaScript()
582 if (!m_pList->ToJavaScript(javascript)) in ToJavaScript()
584 javascript << L"}\n"; in ToJavaScript()
585 return !CXFA_IsTooBig(javascript); in ToJavaScript()
588 bool CXFA_FMForExpression::ToImpliedReturnJS(CFX_WideTextBuf& javascript) { in ToImpliedReturnJS() argument
590 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToImpliedReturnJS()
593 javascript << RUNTIMEFUNCTIONRETURNVALUE; in ToImpliedReturnJS()
594 javascript << L" = 0;\n"; in ToImpliedReturnJS()
595 javascript << L"{\nvar "; in ToImpliedReturnJS()
600 javascript << tempVariant; in ToImpliedReturnJS()
603 javascript << m_wsVariant; in ToImpliedReturnJS()
605 javascript << L" = null;\n"; in ToImpliedReturnJS()
606 javascript << L"for ("; in ToImpliedReturnJS()
607 javascript << tempVariant; in ToImpliedReturnJS()
608 javascript << L" = "; in ToImpliedReturnJS()
609 javascript << XFA_FM_EXPTypeToString(GETFMVALUE); in ToImpliedReturnJS()
610 javascript << L"("; in ToImpliedReturnJS()
611 if (!m_pAssignment->ToJavaScript(javascript)) in ToImpliedReturnJS()
613 javascript << L"); "; in ToImpliedReturnJS()
614 javascript << tempVariant; in ToImpliedReturnJS()
616 javascript << (m_bDirection ? kLessEqual : kGreaterEqual); in ToImpliedReturnJS()
617 javascript << XFA_FM_EXPTypeToString(GETFMVALUE); in ToImpliedReturnJS()
618 javascript << L"("; in ToImpliedReturnJS()
619 if (!m_pAccessor->ToJavaScript(javascript)) in ToImpliedReturnJS()
621 javascript << L"); "; in ToImpliedReturnJS()
622 javascript << tempVariant; in ToImpliedReturnJS()
623 javascript << L" += "; in ToImpliedReturnJS()
624 javascript << (m_bDirection ? kPlusEqual : kMinusEqual); in ToImpliedReturnJS()
625 if (CXFA_IsTooBig(javascript)) in ToImpliedReturnJS()
629 javascript << XFA_FM_EXPTypeToString(GETFMVALUE); in ToImpliedReturnJS()
630 javascript << L"("; in ToImpliedReturnJS()
631 if (!m_pStep->ToJavaScript(javascript)) in ToImpliedReturnJS()
633 javascript << L")"; in ToImpliedReturnJS()
634 if (CXFA_IsTooBig(javascript)) in ToImpliedReturnJS()
637 javascript << L"1"; in ToImpliedReturnJS()
639 javascript << L")\n"; in ToImpliedReturnJS()
640 if (!m_pList->ToImpliedReturnJS(javascript)) in ToImpliedReturnJS()
642 javascript << L"}\n"; in ToImpliedReturnJS()
643 return !CXFA_IsTooBig(javascript); in ToImpliedReturnJS()
658 bool CXFA_FMForeachExpression::ToJavaScript(CFX_WideTextBuf& javascript) { in ToJavaScript() argument
660 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToJavaScript()
663 javascript << L"{\n"; in ToJavaScript()
664 javascript << L"var "; in ToJavaScript()
669 javascript << tempIdentifier; in ToJavaScript()
671 javascript << m_wsIdentifier; in ToJavaScript()
673 javascript << L" = null;\n"; in ToJavaScript()
674 javascript << L"var "; in ToJavaScript()
675 javascript << RUNTIMEBLOCKTEMPARRAY; in ToJavaScript()
676 javascript << L" = "; in ToJavaScript()
677 javascript << XFA_FM_EXPTypeToString(CONCATFMOBJECT); in ToJavaScript()
678 javascript << L"("; in ToJavaScript()
681 if (!expr->ToJavaScript(javascript)) in ToJavaScript()
684 javascript << L", "; in ToJavaScript()
686 javascript << L");\n"; in ToJavaScript()
687 javascript << L"var "; in ToJavaScript()
688 javascript << RUNTIMEBLOCKTEMPARRAYINDEX; in ToJavaScript()
689 javascript << (L" = 0;\n"); in ToJavaScript()
690 javascript << L"while("; in ToJavaScript()
691 javascript << RUNTIMEBLOCKTEMPARRAYINDEX; in ToJavaScript()
692 javascript << L" < "; in ToJavaScript()
693 javascript << RUNTIMEBLOCKTEMPARRAY; in ToJavaScript()
694 javascript << L".length)\n{\n"; in ToJavaScript()
699 javascript << tempIdentifier; in ToJavaScript()
701 javascript << m_wsIdentifier; in ToJavaScript()
703 javascript << L" = "; in ToJavaScript()
704 javascript << RUNTIMEBLOCKTEMPARRAY; in ToJavaScript()
705 javascript << L"["; in ToJavaScript()
706 javascript << RUNTIMEBLOCKTEMPARRAYINDEX; in ToJavaScript()
707 javascript << L"++];\n"; in ToJavaScript()
708 if (!m_pList->ToJavaScript(javascript)) in ToJavaScript()
710 javascript << L"}\n"; in ToJavaScript()
711 javascript << L"}\n"; in ToJavaScript()
712 return !CXFA_IsTooBig(javascript); in ToJavaScript()
715 bool CXFA_FMForeachExpression::ToImpliedReturnJS(CFX_WideTextBuf& javascript) { in ToImpliedReturnJS() argument
717 if (CXFA_IsTooBig(javascript) || !depthManager.IsWithinMaxDepth()) in ToImpliedReturnJS()
720 javascript << RUNTIMEFUNCTIONRETURNVALUE; in ToImpliedReturnJS()
721 javascript << L" = 0;\n"; in ToImpliedReturnJS()
722 javascript << L"{\n"; in ToImpliedReturnJS()
723 javascript << L"var "; in ToImpliedReturnJS()
728 javascript << tempIdentifier; in ToImpliedReturnJS()
730 javascript << m_wsIdentifier; in ToImpliedReturnJS()
732 javascript << L" = null;\n"; in ToImpliedReturnJS()
733 javascript << L"var "; in ToImpliedReturnJS()
734 javascript << RUNTIMEBLOCKTEMPARRAY; in ToImpliedReturnJS()
735 javascript << L" = "; in ToImpliedReturnJS()
736 javascript << XFA_FM_EXPTypeToString(CONCATFMOBJECT); in ToImpliedReturnJS()
737 javascript << L"("; in ToImpliedReturnJS()
739 if (!expr->ToJavaScript(javascript)) in ToImpliedReturnJS()
742 javascript << L", "; in ToImpliedReturnJS()
744 javascript << L");\n"; in ToImpliedReturnJS()
745 javascript << L"var "; in ToImpliedReturnJS()
746 javascript << RUNTIMEBLOCKTEMPARRAYINDEX; in ToImpliedReturnJS()
747 javascript << L" = 0;\n"; in ToImpliedReturnJS()
748 javascript << L"while("; in ToImpliedReturnJS()
749 javascript << RUNTIMEBLOCKTEMPARRAYINDEX; in ToImpliedReturnJS()
750 javascript << L" < "; in ToImpliedReturnJS()
751 javascript << RUNTIMEBLOCKTEMPARRAY; in ToImpliedReturnJS()
752 javascript << L".length)\n{\n"; in ToImpliedReturnJS()
757 javascript << tempIdentifier; in ToImpliedReturnJS()
759 javascript << m_wsIdentifier; in ToImpliedReturnJS()
761 javascript << L" = "; in ToImpliedReturnJS()
762 javascript << RUNTIMEBLOCKTEMPARRAY; in ToImpliedReturnJS()
763 javascript << L"["; in ToImpliedReturnJS()
764 javascript << RUNTIMEBLOCKTEMPARRAYINDEX; in ToImpliedReturnJS()
765 javascript << L"++];\n"; in ToImpliedReturnJS()
766 if (!m_pList->ToImpliedReturnJS(javascript)) in ToImpliedReturnJS()
768 javascript << L"}\n"; in ToImpliedReturnJS()
769 javascript << L"}\n"; in ToImpliedReturnJS()
770 return !CXFA_IsTooBig(javascript); in ToImpliedReturnJS()