/usr/share/doc/libclosure-compiler-java/api/com/google/javascript/jscomp/Compiler.html is in libclosure-compiler-java-doc 20130227+dfsg1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Compiler (Closure Compiler)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Compiler (Closure Compiler)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../com/google/javascript/jscomp/CompilationLevel.html" title="enum in com.google.javascript.jscomp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../com/google/javascript/jscomp/Compiler.CodeBuilder.html" title="class in com.google.javascript.jscomp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/google/javascript/jscomp/Compiler.html" target="_top">Frames</a></li>
<li><a href="Compiler.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li><a href="#nested_class_summary">Nested</a> | </li>
<li><a href="#field_summary">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.google.javascript.jscomp</div>
<h2 title="Class Compiler" class="title">Class Compiler</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html" title="class in com.google.javascript.jscomp">com.google.javascript.jscomp.AbstractCompiler</a></li>
<li>
<ul class="inheritance">
<li>com.google.javascript.jscomp.Compiler</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../com/google/javascript/jscomp/SourceExcerptProvider.html" title="interface in com.google.javascript.jscomp">SourceExcerptProvider</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">Compiler</span>
extends <a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html" title="class in com.google.javascript.jscomp">AbstractCompiler</a></pre>
<div class="block">Compiler (and the other classes in this package) does the following:
<ul>
<li>parses JS code
<li>checks for undefined variables
<li>performs optimizations such as constant folding and constants inlining
<li>renames variables (to short names)
<li>outputs compact JavaScript code
</ul>
External variables are declared in 'externs' files. For instance, the file
may include definitions for global javascript/browser objects such as
window, document.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class </code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.CodeBuilder.html" title="class in com.google.javascript.jscomp">Compiler.CodeBuilder</a></strong></code>
<div class="block">Stores a buffer of text to which more can be appended.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class </code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.IntermediateState.html" title="class in com.google.javascript.jscomp">Compiler.IntermediateState</a></strong></code>
<div class="block">Stores the internal compiler state just before optimization is performed.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="nested_classes_inherited_from_class_com.google.javascript.jscomp.SourceExcerptProvider">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface com.google.javascript.jscomp.<a href="../../../../com/google/javascript/jscomp/SourceExcerptProvider.html" title="interface in com.google.javascript.jscomp">SourceExcerptProvider</a></h3>
<code><a href="../../../../com/google/javascript/jscomp/SourceExcerptProvider.ExcerptFormatter.html" title="interface in com.google.javascript.jscomp">SourceExcerptProvider.ExcerptFormatter</a>, <a href="../../../../com/google/javascript/jscomp/SourceExcerptProvider.SourceExcerpt.html" title="enum in com.google.javascript.jscomp">SourceExcerptProvider.SourceExcerpt</a></code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../com/google/javascript/jscomp/DiagnosticType.html" title="class in com.google.javascript.jscomp">DiagnosticType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#MOTION_ITERATIONS_ERROR">MOTION_ITERATIONS_ERROR</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../com/google/javascript/jscomp/DiagnosticType.html" title="class in com.google.javascript.jscomp">DiagnosticType</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#OPTIMIZE_LOOP_ERROR">OPTIMIZE_LOOP_ERROR</a></strong></code>
<div class="block">Error strings used for reporting JSErrors</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected com.google.javascript.jscomp.CodeChangeHandler</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#recentChange">recentChange</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/PerformanceTracker.html" title="class in com.google.javascript.jscomp">PerformanceTracker</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#tracker">tracker</a></strong></code> </td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#Compiler()">Compiler</a></strong>()</code>
<div class="block">Creates a Compiler that reports errors and warnings to its logger.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#Compiler(com.google.javascript.jscomp.ErrorManager)">Compiler</a></strong>(<a href="../../../../com/google/javascript/jscomp/ErrorManager.html" title="interface in com.google.javascript.jscomp">ErrorManager</a> errorManager)</code>
<div class="block">Creates a Compiler that uses a custom error manager.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#Compiler(java.io.PrintStream)">Compiler</a></strong>(java.io.PrintStream stream)</code>
<div class="block">Creates a Compiler that reports errors and warnings to an output stream.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#acceptConstKeyword()">acceptConstKeyword</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#acceptEcmaScript5()">acceptEcmaScript5</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#addNewScript(com.google.javascript.jscomp.JsAst)">addNewScript</a></strong>(<a href="../../../../com/google/javascript/jscomp/JsAst.html" title="class in com.google.javascript.jscomp">JsAst</a> ast)</code>
<div class="block">Adds a new Script AST to the compile state.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/SymbolTable.html" title="class in com.google.javascript.jscomp">SymbolTable</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#buildKnownSymbolTable()">buildKnownSymbolTable</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#check()">check</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/Result.html" title="class in com.google.javascript.jscomp">Result</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#compile(com.google.javascript.jscomp.JSSourceFile[], com.google.javascript.jscomp.JSModule[], com.google.javascript.jscomp.CompilerOptions)">compile</a></strong>(<a href="../../../../com/google/javascript/jscomp/JSSourceFile.html" title="class in com.google.javascript.jscomp">JSSourceFile</a>[] externs,
<a href="../../../../com/google/javascript/jscomp/JSModule.html" title="class in com.google.javascript.jscomp">JSModule</a>[] modules,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Convert your arrays to lists and use the list-based
compileModules method.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/Result.html" title="class in com.google.javascript.jscomp">Result</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#compile(com.google.javascript.jscomp.JSSourceFile[], com.google.javascript.jscomp.JSSourceFile[], com.google.javascript.jscomp.CompilerOptions)">compile</a></strong>(<a href="../../../../com/google/javascript/jscomp/JSSourceFile.html" title="class in com.google.javascript.jscomp">JSSourceFile</a>[] externs,
<a href="../../../../com/google/javascript/jscomp/JSSourceFile.html" title="class in com.google.javascript.jscomp">JSSourceFile</a>[] inputs,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Convert your arrays to lists and use the list-based compile
method.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/Result.html" title="class in com.google.javascript.jscomp">Result</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#compile(com.google.javascript.jscomp.JSSourceFile, com.google.javascript.jscomp.JSModule[], com.google.javascript.jscomp.CompilerOptions)">compile</a></strong>(<a href="../../../../com/google/javascript/jscomp/JSSourceFile.html" title="class in com.google.javascript.jscomp">JSSourceFile</a> extern,
<a href="../../../../com/google/javascript/jscomp/JSModule.html" title="class in com.google.javascript.jscomp">JSModule</a>[] modules,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Convert your arrays to lists and use the list-based
compileModules method.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><T1 extends <a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a>,T2 extends <a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a>> <br><a href="../../../../com/google/javascript/jscomp/Result.html" title="class in com.google.javascript.jscomp">Result</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#compile(java.util.List, java.util.List, com.google.javascript.jscomp.CompilerOptions)">compile</a></strong>(java.util.List<T1> externs,
java.util.List<T2> inputs,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</code>
<div class="block">Compiles a list of inputs.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/Result.html" title="class in com.google.javascript.jscomp">Result</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#compile(com.google.javascript.jscomp.SourceFile, com.google.javascript.jscomp.JSSourceFile[], com.google.javascript.jscomp.CompilerOptions)">compile</a></strong>(<a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a> extern,
<a href="../../../../com/google/javascript/jscomp/JSSourceFile.html" title="class in com.google.javascript.jscomp">JSSourceFile</a>[] input,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Convert your arrays to lists and use the list-based API.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/Result.html" title="class in com.google.javascript.jscomp">Result</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#compile(com.google.javascript.jscomp.SourceFile, com.google.javascript.jscomp.SourceFile, com.google.javascript.jscomp.CompilerOptions)">compile</a></strong>(<a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a> extern,
<a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a> input,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><T extends <a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a>> <br><a href="../../../../com/google/javascript/jscomp/Result.html" title="class in com.google.javascript.jscomp">Result</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#compileModules(java.util.List, java.util.List, com.google.javascript.jscomp.CompilerOptions)">compileModules</a></strong>(java.util.List<T> externs,
java.util.List<<a href="../../../../com/google/javascript/jscomp/JSModule.html" title="class in com.google.javascript.jscomp">JSModule</a>> modules,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</code>
<div class="block">Compiles a list of modules.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#disableThreads()">disableThreads</a></strong>()</code>
<div class="block">Disable threads.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getAstDotGraph()">getAstDotGraph</a></strong>()</code>
<div class="block">Gets the DOT graph of the AST generated at the end of compilation.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/CodingConvention.html" title="interface in com.google.javascript.jscomp">CodingConvention</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getCodingConvention()">getCodingConvention</a></strong>()</code>
<div class="block">Gets the current coding convention.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../com/google/javascript/jscomp/DiagnosticGroups.html" title="class in com.google.javascript.jscomp">DiagnosticGroups</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getDiagnosticGroups()">getDiagnosticGroups</a></strong>()</code>
<div class="block">The warning classes that are available from the command-line, and
are suppressible by the <code>@suppress</code> annotation.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getErrorCount()">getErrorCount</a></strong>()</code>
<div class="block">Gets the number of errors.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getErrorLevel(com.google.javascript.jscomp.JSError)">getErrorLevel</a></strong>(<a href="../../../../com/google/javascript/jscomp/JSError.html" title="class in com.google.javascript.jscomp">JSError</a> error)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/ErrorManager.html" title="interface in com.google.javascript.jscomp">ErrorManager</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getErrorManager()">getErrorManager</a></strong>()</code>
<div class="block">Gets the error manager.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/JSError.html" title="class in com.google.javascript.jscomp">JSError</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getErrors()">getErrors</a></strong>()</code>
<div class="block">Returns the array of errors (never null).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/CompilerInput.html" title="class in com.google.javascript.jscomp">CompilerInput</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getInput(com.google.javascript.rhino.InputId)">getInput</a></strong>(<a href="../../../../com/google/javascript/rhino/InputId.html" title="class in com.google.javascript.rhino">InputId</a> id)</code>
<div class="block">Looks up an input (possibly an externs input) by input id.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Map<<a href="../../../../com/google/javascript/rhino/InputId.html" title="class in com.google.javascript.rhino">InputId</a>,<a href="../../../../com/google/javascript/jscomp/CompilerInput.html" title="class in com.google.javascript.jscomp">CompilerInput</a>></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getInputsById()">getInputsById</a></strong>()</code>
<div class="block">Returns an unmodifiable view of the compiler inputs indexed by id.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/JSError.html" title="class in com.google.javascript.jscomp">JSError</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getMessages()">getMessages</a></strong>()</code>
<div class="block">Returns an array constructed from errors + temporary warnings.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>com.google.javascript.rhino.head.ast.AstRoot</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getOldParseTreeByName(java.lang.String)">getOldParseTreeByName</a></strong>(java.lang.String sourceName)</code>
<div class="block">Gets an old format parse tree for a given source file.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getProgress()">getProgress</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getReleaseDate()">getReleaseDate</a></strong>()</code>
<div class="block">Returns the compiler date baked into the jar.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getReleaseVersion()">getReleaseVersion</a></strong>()</code>
<div class="block">Returns the compiler version baked into the jar.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/Result.html" title="class in com.google.javascript.jscomp">Result</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getResult()">getResult</a></strong>()</code>
<div class="block">Returns the result of the compilation.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/type/ReverseAbstractInterpreter.html" title="interface in com.google.javascript.jscomp.type">ReverseAbstractInterpreter</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getReverseAbstractInterpreter()">getReverseAbstractInterpreter</a></strong>()</code>
<div class="block">Get an interpreter for type analysis.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getRoot()">getRoot</a></strong>()</code>
<div class="block">Returns the root node of the AST, which includes both externs and source.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getSourceLine(java.lang.String, int)">getSourceLine</a></strong>(java.lang.String sourceName,
int lineNumber)</code>
<div class="block">Get the line indicated by the line number.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/SourceMap.html" title="class in com.google.javascript.jscomp">SourceMap</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getSourceMap()">getSourceMap</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/Region.html" title="interface in com.google.javascript.jscomp">Region</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getSourceRegion(java.lang.String, int)">getSourceRegion</a></strong>(java.lang.String sourceName,
int lineNumber)</code>
<div class="block">Get a region around the indicated line number.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/Compiler.IntermediateState.html" title="class in com.google.javascript.jscomp">Compiler.IntermediateState</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getState()">getState</a></strong>()</code>
<div class="block">Returns the current internal state, excluding the input files and modules.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/Scope.html" title="class in com.google.javascript.jscomp">Scope</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getTopScope()">getTopScope</a></strong>()</code>
<div class="block">Gets the top scope.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>com.google.javascript.jscomp.MemoizedScopeCreator</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getTypedScopeCreator()">getTypedScopeCreator</a></strong>()</code>
<div class="block">Gets a memoized scope creator with type information.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html" title="class in com.google.javascript.rhino.jstype">JSTypeRegistry</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getTypeRegistry()">getTypeRegistry</a></strong>()</code>
<div class="block">Gets a central registry of type information from the compiled JS.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getWarningCount()">getWarningCount</a></strong>()</code>
<div class="block">Gets the number of warnings.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/JSError.html" title="class in com.google.javascript.jscomp">JSError</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#getWarnings()">getWarnings</a></strong>()</code>
<div class="block">Returns the array of warnings (never null).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#hasErrors()">hasErrors</a></strong>()</code>
<div class="block">Consults the <a href="../../../../com/google/javascript/jscomp/ErrorManager.html" title="interface in com.google.javascript.jscomp"><code>ErrorManager</code></a> to see if we've encountered errors
that should halt compilation.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#init(com.google.javascript.jscomp.JSSourceFile[], com.google.javascript.jscomp.JSModule[], com.google.javascript.jscomp.CompilerOptions)">init</a></strong>(<a href="../../../../com/google/javascript/jscomp/JSSourceFile.html" title="class in com.google.javascript.jscomp">JSSourceFile</a>[] externs,
<a href="../../../../com/google/javascript/jscomp/JSModule.html" title="class in com.google.javascript.jscomp">JSModule</a>[] modules,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Convert your arrays to lists and use the list-based API.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#init(com.google.javascript.jscomp.JSSourceFile[], com.google.javascript.jscomp.JSSourceFile[], com.google.javascript.jscomp.CompilerOptions)">init</a></strong>(<a href="../../../../com/google/javascript/jscomp/JSSourceFile.html" title="class in com.google.javascript.jscomp">JSSourceFile</a>[] externs,
<a href="../../../../com/google/javascript/jscomp/JSSourceFile.html" title="class in com.google.javascript.jscomp">JSSourceFile</a>[] inputs,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Convert your arrays to lists and use the list-based API.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><T1 extends <a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a>,T2 extends <a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a>> <br>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#init(java.util.List, java.util.List, com.google.javascript.jscomp.CompilerOptions)">init</a></strong>(java.util.List<T1> externs,
java.util.List<T2> inputs,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</code>
<div class="block">Initializes the instance state needed for a compile job.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><T extends <a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a>> <br>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#initModules(java.util.List, java.util.List, com.google.javascript.jscomp.CompilerOptions)">initModules</a></strong>(java.util.List<T> externs,
java.util.List<<a href="../../../../com/google/javascript/jscomp/JSModule.html" title="class in com.google.javascript.jscomp">JSModule</a>> modules,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</code>
<div class="block">Initializes the instance state needed for a compile job if the sources
are in modules.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#initOptions(com.google.javascript.jscomp.CompilerOptions)">initOptions</a></strong>(<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</code>
<div class="block">Initialize the compiler options.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#isIdeMode()">isIdeMode</a></strong>()</code>
<div class="block">Returns true if compiling in IDE mode.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#isTypeCheckingEnabled()">isTypeCheckingEnabled</a></strong>()</code>
<div class="block">Returns true if type checking is enabled.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/CompilerOptions.LanguageMode.html" title="enum in com.google.javascript.jscomp">CompilerOptions.LanguageMode</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#languageMode()">languageMode</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#newCompilerOptions()">newCompilerOptions</a></strong>()</code>
<div class="block">Allow subclasses to override the default CompileOptions object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/jscomp/CompilerInput.html" title="class in com.google.javascript.jscomp">CompilerInput</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#newExternInput(java.lang.String)">newExternInput</a></strong>(java.lang.String name)</code>
<div class="block">Creates a new externs file.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#normalize()">normalize</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#optimize()">optimize</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#parse()">parse</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#parse(com.google.javascript.jscomp.SourceFile)">parse</a></strong>(<a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a> file)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#processDefines()">processDefines</a></strong>()</code>
<div class="block">Reprocesses the current defines over the AST.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#rebuildInputsFromModules()">rebuildInputsFromModules</a></strong>()</code>
<div class="block">Rebuilds the internal list of inputs by iterating over all modules.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#reconcileOptionsWithGuards()">reconcileOptionsWithGuards</a></strong>()</code>
<div class="block">When the CompilerOptions and its WarningsGuard overlap, reconcile
any discrepencies.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#removeExternInput(com.google.javascript.rhino.InputId)">removeExternInput</a></strong>(<a href="../../../../com/google/javascript/rhino/InputId.html" title="class in com.google.javascript.rhino">InputId</a> id)</code>
<div class="block">Removes an input file from AST.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#replaceScript(com.google.javascript.jscomp.JsAst)">replaceScript</a></strong>(<a href="../../../../com/google/javascript/jscomp/JsAst.html" title="class in com.google.javascript.jscomp">JsAst</a> ast)</code>
<div class="block">Replaces one file in a hot-swap mode.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#report(com.google.javascript.jscomp.JSError)">report</a></strong>(<a href="../../../../com/google/javascript/jscomp/JSError.html" title="class in com.google.javascript.jscomp">JSError</a> error)</code>
<div class="block">Report an error or warning.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#reportCodeChange()">reportCodeChange</a></strong>()</code>
<div class="block">All passes should call reportCodeChange() when they alter
the JS tree structure.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#setErrorManager(com.google.javascript.jscomp.ErrorManager)">setErrorManager</a></strong>(<a href="../../../../com/google/javascript/jscomp/ErrorManager.html" title="interface in com.google.javascript.jscomp">ErrorManager</a> errorManager)</code>
<div class="block">Sets the error manager.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#setLoggingLevel(java.util.logging.Level)">setLoggingLevel</a></strong>(java.util.logging.Level level)</code>
<div class="block">Sets the logging level for the com.google.javascript.jscomp package.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#setOldParseTree(java.lang.String, com.google.javascript.rhino.head.ast.AstRoot)">setOldParseTree</a></strong>(java.lang.String sourceName,
com.google.javascript.rhino.head.ast.AstRoot oldAst)</code>
<div class="block">Stores the "new" Rhino parse tree for a given source file.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#setPassConfig(com.google.javascript.jscomp.PassConfig)">setPassConfig</a></strong>(<a href="../../../../com/google/javascript/jscomp/PassConfig.html" title="class in com.google.javascript.jscomp">PassConfig</a> passes)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#setState(com.google.javascript.jscomp.Compiler.IntermediateState)">setState</a></strong>(<a href="../../../../com/google/javascript/jscomp/Compiler.IntermediateState.html" title="class in com.google.javascript.jscomp">Compiler.IntermediateState</a> state)</code>
<div class="block">Sets the internal state to the capture given.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#toSource()">toSource</a></strong>()</code>
<div class="block">Converts the main parse tree back to JS code.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#toSource(com.google.javascript.jscomp.Compiler.CodeBuilder, int, com.google.javascript.rhino.Node)">toSource</a></strong>(<a href="../../../../com/google/javascript/jscomp/Compiler.CodeBuilder.html" title="class in com.google.javascript.jscomp">Compiler.CodeBuilder</a> cb,
int inputSeqNum,
<a href="../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a> root)</code>
<div class="block">Writes out JS code from a root node.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#toSource(com.google.javascript.jscomp.JSModule)">toSource</a></strong>(<a href="../../../../com/google/javascript/jscomp/JSModule.html" title="class in com.google.javascript.jscomp">JSModule</a> module)</code>
<div class="block">Converts the parse tree for a module back to JS code.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String[]</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#toSourceArray()">toSourceArray</a></strong>()</code>
<div class="block">Converts the parse tree for each input back to JS code.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String[]</code></td>
<td class="colLast"><code><strong><a href="../../../../com/google/javascript/jscomp/Compiler.html#toSourceArray(com.google.javascript.jscomp.JSModule)">toSourceArray</a></strong>(<a href="../../../../com/google/javascript/jscomp/JSModule.html" title="class in com.google.javascript.jscomp">JSModule</a> module)</code>
<div class="block">Converts the parse tree for each input in a module back to JS code.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="tracker">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tracker</h4>
<pre>public <a href="../../../../com/google/javascript/jscomp/PerformanceTracker.html" title="class in com.google.javascript.jscomp">PerformanceTracker</a> tracker</pre>
</li>
</ul>
<a name="OPTIMIZE_LOOP_ERROR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OPTIMIZE_LOOP_ERROR</h4>
<pre>public static final <a href="../../../../com/google/javascript/jscomp/DiagnosticType.html" title="class in com.google.javascript.jscomp">DiagnosticType</a> OPTIMIZE_LOOP_ERROR</pre>
<div class="block">Error strings used for reporting JSErrors</div>
</li>
</ul>
<a name="MOTION_ITERATIONS_ERROR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MOTION_ITERATIONS_ERROR</h4>
<pre>public static final <a href="../../../../com/google/javascript/jscomp/DiagnosticType.html" title="class in com.google.javascript.jscomp">DiagnosticType</a> MOTION_ITERATIONS_ERROR</pre>
</li>
</ul>
<a name="recentChange">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>recentChange</h4>
<pre>protected final com.google.javascript.jscomp.CodeChangeHandler recentChange</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Compiler()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Compiler</h4>
<pre>public Compiler()</pre>
<div class="block">Creates a Compiler that reports errors and warnings to its logger.</div>
</li>
</ul>
<a name="Compiler(java.io.PrintStream)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Compiler</h4>
<pre>public Compiler(java.io.PrintStream stream)</pre>
<div class="block">Creates a Compiler that reports errors and warnings to an output stream.</div>
</li>
</ul>
<a name="Compiler(com.google.javascript.jscomp.ErrorManager)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Compiler</h4>
<pre>public Compiler(<a href="../../../../com/google/javascript/jscomp/ErrorManager.html" title="interface in com.google.javascript.jscomp">ErrorManager</a> errorManager)</pre>
<div class="block">Creates a Compiler that uses a custom error manager.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setErrorManager(com.google.javascript.jscomp.ErrorManager)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setErrorManager</h4>
<pre>public void setErrorManager(<a href="../../../../com/google/javascript/jscomp/ErrorManager.html" title="interface in com.google.javascript.jscomp">ErrorManager</a> errorManager)</pre>
<div class="block">Sets the error manager.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>errorManager</code> - the error manager, it cannot be <code>null</code></dd></dl>
</li>
</ul>
<a name="initOptions(com.google.javascript.jscomp.CompilerOptions)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initOptions</h4>
<pre>public void initOptions(<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</pre>
<div class="block">Initialize the compiler options. Only necessary if you're not doing
a normal compile() job.</div>
</li>
</ul>
<a name="reconcileOptionsWithGuards()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reconcileOptionsWithGuards</h4>
<pre>protected void reconcileOptionsWithGuards()</pre>
<div class="block">When the CompilerOptions and its WarningsGuard overlap, reconcile
any discrepencies.</div>
</li>
</ul>
<a name="init(com.google.javascript.jscomp.JSSourceFile[], com.google.javascript.jscomp.JSSourceFile[], com.google.javascript.jscomp.CompilerOptions)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>@Deprecated
public void init(<a href="../../../../com/google/javascript/jscomp/JSSourceFile.html" title="class in com.google.javascript.jscomp">JSSourceFile</a>[] externs,
<a href="../../../../com/google/javascript/jscomp/JSSourceFile.html" title="class in com.google.javascript.jscomp">JSSourceFile</a>[] inputs,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Convert your arrays to lists and use the list-based API.</i></div>
<div class="block">Initializes the instance state needed for a compile job.</div>
</li>
</ul>
<a name="init(java.util.List, java.util.List, com.google.javascript.jscomp.CompilerOptions)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>public <T1 extends <a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a>,T2 extends <a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a>> void init(java.util.List<T1> externs,
java.util.List<T2> inputs,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</pre>
<div class="block">Initializes the instance state needed for a compile job.</div>
</li>
</ul>
<a name="init(com.google.javascript.jscomp.JSSourceFile[], com.google.javascript.jscomp.JSModule[], com.google.javascript.jscomp.CompilerOptions)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>@Deprecated
public void init(<a href="../../../../com/google/javascript/jscomp/JSSourceFile.html" title="class in com.google.javascript.jscomp">JSSourceFile</a>[] externs,
<a href="../../../../com/google/javascript/jscomp/JSModule.html" title="class in com.google.javascript.jscomp">JSModule</a>[] modules,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Convert your arrays to lists and use the list-based API.</i></div>
<div class="block">Initializes the instance state needed for a compile job if the sources
are in modules.</div>
</li>
</ul>
<a name="initModules(java.util.List, java.util.List, com.google.javascript.jscomp.CompilerOptions)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initModules</h4>
<pre>public <T extends <a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a>> void initModules(java.util.List<T> externs,
java.util.List<<a href="../../../../com/google/javascript/jscomp/JSModule.html" title="class in com.google.javascript.jscomp">JSModule</a>> modules,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</pre>
<div class="block">Initializes the instance state needed for a compile job if the sources
are in modules.</div>
</li>
</ul>
<a name="rebuildInputsFromModules()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rebuildInputsFromModules</h4>
<pre>public void rebuildInputsFromModules()</pre>
<div class="block">Rebuilds the internal list of inputs by iterating over all modules.
This is necessary if inputs have been added to or removed from a module
after the <a href="../../../../com/google/javascript/jscomp/Compiler.html#init(java.util.List, java.util.List, com.google.javascript.jscomp.CompilerOptions)"><code>init(List, List, CompilerOptions)</code></a> call.</div>
</li>
</ul>
<a name="compile(com.google.javascript.jscomp.SourceFile, com.google.javascript.jscomp.SourceFile, com.google.javascript.jscomp.CompilerOptions)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compile</h4>
<pre>public <a href="../../../../com/google/javascript/jscomp/Result.html" title="class in com.google.javascript.jscomp">Result</a> compile(<a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a> extern,
<a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a> input,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</pre>
</li>
</ul>
<a name="compile(com.google.javascript.jscomp.SourceFile, com.google.javascript.jscomp.JSSourceFile[], com.google.javascript.jscomp.CompilerOptions)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compile</h4>
<pre>@Deprecated
public <a href="../../../../com/google/javascript/jscomp/Result.html" title="class in com.google.javascript.jscomp">Result</a> compile(<a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a> extern,
<a href="../../../../com/google/javascript/jscomp/JSSourceFile.html" title="class in com.google.javascript.jscomp">JSSourceFile</a>[] input,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Convert your arrays to lists and use the list-based API.</i></div>
</li>
</ul>
<a name="compile(com.google.javascript.jscomp.JSSourceFile, com.google.javascript.jscomp.JSModule[], com.google.javascript.jscomp.CompilerOptions)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compile</h4>
<pre>@Deprecated
public <a href="../../../../com/google/javascript/jscomp/Result.html" title="class in com.google.javascript.jscomp">Result</a> compile(<a href="../../../../com/google/javascript/jscomp/JSSourceFile.html" title="class in com.google.javascript.jscomp">JSSourceFile</a> extern,
<a href="../../../../com/google/javascript/jscomp/JSModule.html" title="class in com.google.javascript.jscomp">JSModule</a>[] modules,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Convert your arrays to lists and use the list-based
compileModules method.</i></div>
</li>
</ul>
<a name="compile(com.google.javascript.jscomp.JSSourceFile[], com.google.javascript.jscomp.JSSourceFile[], com.google.javascript.jscomp.CompilerOptions)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compile</h4>
<pre>@Deprecated
public <a href="../../../../com/google/javascript/jscomp/Result.html" title="class in com.google.javascript.jscomp">Result</a> compile(<a href="../../../../com/google/javascript/jscomp/JSSourceFile.html" title="class in com.google.javascript.jscomp">JSSourceFile</a>[] externs,
<a href="../../../../com/google/javascript/jscomp/JSSourceFile.html" title="class in com.google.javascript.jscomp">JSSourceFile</a>[] inputs,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Convert your arrays to lists and use the list-based compile
method.</i></div>
<div class="block">Compiles a list of inputs.</div>
</li>
</ul>
<a name="compile(java.util.List, java.util.List, com.google.javascript.jscomp.CompilerOptions)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compile</h4>
<pre>public <T1 extends <a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a>,T2 extends <a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a>> <a href="../../../../com/google/javascript/jscomp/Result.html" title="class in com.google.javascript.jscomp">Result</a> compile(java.util.List<T1> externs,
java.util.List<T2> inputs,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</pre>
<div class="block">Compiles a list of inputs.</div>
</li>
</ul>
<a name="compile(com.google.javascript.jscomp.JSSourceFile[], com.google.javascript.jscomp.JSModule[], com.google.javascript.jscomp.CompilerOptions)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compile</h4>
<pre>@Deprecated
public <a href="../../../../com/google/javascript/jscomp/Result.html" title="class in com.google.javascript.jscomp">Result</a> compile(<a href="../../../../com/google/javascript/jscomp/JSSourceFile.html" title="class in com.google.javascript.jscomp">JSSourceFile</a>[] externs,
<a href="../../../../com/google/javascript/jscomp/JSModule.html" title="class in com.google.javascript.jscomp">JSModule</a>[] modules,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Convert your arrays to lists and use the list-based
compileModules method.</i></div>
<div class="block">Compiles a list of modules.</div>
</li>
</ul>
<a name="compileModules(java.util.List, java.util.List, com.google.javascript.jscomp.CompilerOptions)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compileModules</h4>
<pre>public <T extends <a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a>> <a href="../../../../com/google/javascript/jscomp/Result.html" title="class in com.google.javascript.jscomp">Result</a> compileModules(java.util.List<T> externs,
java.util.List<<a href="../../../../com/google/javascript/jscomp/JSModule.html" title="class in com.google.javascript.jscomp">JSModule</a>> modules,
<a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> options)</pre>
<div class="block">Compiles a list of modules.</div>
</li>
</ul>
<a name="disableThreads()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>disableThreads</h4>
<pre>public void disableThreads()</pre>
<div class="block">Disable threads. This is for clients that run on AppEngine and
don't have threads.</div>
</li>
</ul>
<a name="parse()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parse</h4>
<pre>public void parse()</pre>
</li>
</ul>
<a name="setPassConfig(com.google.javascript.jscomp.PassConfig)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPassConfig</h4>
<pre>public void setPassConfig(<a href="../../../../com/google/javascript/jscomp/PassConfig.html" title="class in com.google.javascript.jscomp">PassConfig</a> passes)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>passes</code> - The PassConfig to use with this Compiler.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.NullPointerException</code> - if passes is null</dd>
<dd><code>java.lang.IllegalStateException</code> - if this.passes has already been assigned</dd></dl>
</li>
</ul>
<a name="check()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>check</h4>
<pre>public void check()</pre>
</li>
</ul>
<a name="getResult()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResult</h4>
<pre>public <a href="../../../../com/google/javascript/jscomp/Result.html" title="class in com.google.javascript.jscomp">Result</a> getResult()</pre>
<div class="block">Returns the result of the compilation.</div>
</li>
</ul>
<a name="getMessages()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMessages</h4>
<pre>public <a href="../../../../com/google/javascript/jscomp/JSError.html" title="class in com.google.javascript.jscomp">JSError</a>[] getMessages()</pre>
<div class="block">Returns an array constructed from errors + temporary warnings.</div>
</li>
</ul>
<a name="getErrors()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getErrors</h4>
<pre>public <a href="../../../../com/google/javascript/jscomp/JSError.html" title="class in com.google.javascript.jscomp">JSError</a>[] getErrors()</pre>
<div class="block">Returns the array of errors (never null).</div>
</li>
</ul>
<a name="getWarnings()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWarnings</h4>
<pre>public <a href="../../../../com/google/javascript/jscomp/JSError.html" title="class in com.google.javascript.jscomp">JSError</a>[] getWarnings()</pre>
<div class="block">Returns the array of warnings (never null).</div>
</li>
</ul>
<a name="getRoot()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRoot</h4>
<pre>public <a href="../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a> getRoot()</pre>
<div class="block"><strong>Description copied from class: <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#getRoot()">AbstractCompiler</a></code></strong></div>
<div class="block">Returns the root node of the AST, which includes both externs and source.</div>
</li>
</ul>
<a name="getInput(com.google.javascript.rhino.InputId)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInput</h4>
<pre>public <a href="../../../../com/google/javascript/jscomp/CompilerInput.html" title="class in com.google.javascript.jscomp">CompilerInput</a> getInput(<a href="../../../../com/google/javascript/rhino/InputId.html" title="class in com.google.javascript.rhino">InputId</a> id)</pre>
<div class="block"><strong>Description copied from class: <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#getInput(com.google.javascript.rhino.InputId)">AbstractCompiler</a></code></strong></div>
<div class="block">Looks up an input (possibly an externs input) by input id.
May return null.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#getInput(com.google.javascript.rhino.InputId)">getInput</a></code> in class <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html" title="class in com.google.javascript.jscomp">AbstractCompiler</a></code></dd>
</dl>
</li>
</ul>
<a name="removeExternInput(com.google.javascript.rhino.InputId)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeExternInput</h4>
<pre>protected void removeExternInput(<a href="../../../../com/google/javascript/rhino/InputId.html" title="class in com.google.javascript.rhino">InputId</a> id)</pre>
<div class="block">Removes an input file from AST.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>id</code> - The id of the input to be removed.</dd></dl>
</li>
</ul>
<a name="newExternInput(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newExternInput</h4>
<pre>public <a href="../../../../com/google/javascript/jscomp/CompilerInput.html" title="class in com.google.javascript.jscomp">CompilerInput</a> newExternInput(java.lang.String name)</pre>
<div class="block"><strong>Description copied from class: <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#newExternInput(java.lang.String)">AbstractCompiler</a></code></strong></div>
<div class="block">Creates a new externs file.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - A name for the new externs file.</dd></dl>
</li>
</ul>
<a name="getTypeRegistry()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTypeRegistry</h4>
<pre>public <a href="../../../../com/google/javascript/rhino/jstype/JSTypeRegistry.html" title="class in com.google.javascript.rhino.jstype">JSTypeRegistry</a> getTypeRegistry()</pre>
<div class="block"><strong>Description copied from class: <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#getTypeRegistry()">AbstractCompiler</a></code></strong></div>
<div class="block">Gets a central registry of type information from the compiled JS.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#getTypeRegistry()">getTypeRegistry</a></code> in class <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html" title="class in com.google.javascript.jscomp">AbstractCompiler</a></code></dd>
</dl>
</li>
</ul>
<a name="getTypedScopeCreator()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTypedScopeCreator</h4>
<pre>public com.google.javascript.jscomp.MemoizedScopeCreator getTypedScopeCreator()</pre>
<div class="block"><strong>Description copied from class: <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#getTypedScopeCreator()">AbstractCompiler</a></code></strong></div>
<div class="block">Gets a memoized scope creator with type information.</div>
</li>
</ul>
<a name="buildKnownSymbolTable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>buildKnownSymbolTable</h4>
<pre>public <a href="../../../../com/google/javascript/jscomp/SymbolTable.html" title="class in com.google.javascript.jscomp">SymbolTable</a> buildKnownSymbolTable()</pre>
</li>
</ul>
<a name="getTopScope()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTopScope</h4>
<pre>public <a href="../../../../com/google/javascript/jscomp/Scope.html" title="class in com.google.javascript.jscomp">Scope</a> getTopScope()</pre>
<div class="block"><strong>Description copied from class: <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#getTopScope()">AbstractCompiler</a></code></strong></div>
<div class="block">Gets the top scope.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#getTopScope()">getTopScope</a></code> in class <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html" title="class in com.google.javascript.jscomp">AbstractCompiler</a></code></dd>
</dl>
</li>
</ul>
<a name="getReverseAbstractInterpreter()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReverseAbstractInterpreter</h4>
<pre>public <a href="../../../../com/google/javascript/jscomp/type/ReverseAbstractInterpreter.html" title="interface in com.google.javascript.jscomp.type">ReverseAbstractInterpreter</a> getReverseAbstractInterpreter()</pre>
<div class="block"><strong>Description copied from class: <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#getReverseAbstractInterpreter()">AbstractCompiler</a></code></strong></div>
<div class="block">Get an interpreter for type analysis.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#getReverseAbstractInterpreter()">getReverseAbstractInterpreter</a></code> in class <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html" title="class in com.google.javascript.jscomp">AbstractCompiler</a></code></dd>
</dl>
</li>
</ul>
<a name="parse(com.google.javascript.jscomp.SourceFile)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parse</h4>
<pre>public <a href="../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a> parse(<a href="../../../../com/google/javascript/jscomp/SourceFile.html" title="class in com.google.javascript.jscomp">SourceFile</a> file)</pre>
</li>
</ul>
<a name="newCompilerOptions()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newCompilerOptions</h4>
<pre>protected <a href="../../../../com/google/javascript/jscomp/CompilerOptions.html" title="class in com.google.javascript.jscomp">CompilerOptions</a> newCompilerOptions()</pre>
<div class="block">Allow subclasses to override the default CompileOptions object.</div>
</li>
</ul>
<a name="toSource()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toSource</h4>
<pre>public java.lang.String toSource()</pre>
<div class="block">Converts the main parse tree back to JS code.</div>
</li>
</ul>
<a name="toSourceArray()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toSourceArray</h4>
<pre>public java.lang.String[] toSourceArray()</pre>
<div class="block">Converts the parse tree for each input back to JS code.</div>
</li>
</ul>
<a name="toSource(com.google.javascript.jscomp.JSModule)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toSource</h4>
<pre>public java.lang.String toSource(<a href="../../../../com/google/javascript/jscomp/JSModule.html" title="class in com.google.javascript.jscomp">JSModule</a> module)</pre>
<div class="block">Converts the parse tree for a module back to JS code.</div>
</li>
</ul>
<a name="toSourceArray(com.google.javascript.jscomp.JSModule)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toSourceArray</h4>
<pre>public java.lang.String[] toSourceArray(<a href="../../../../com/google/javascript/jscomp/JSModule.html" title="class in com.google.javascript.jscomp">JSModule</a> module)</pre>
<div class="block">Converts the parse tree for each input in a module back to JS code.</div>
</li>
</ul>
<a name="toSource(com.google.javascript.jscomp.Compiler.CodeBuilder, int, com.google.javascript.rhino.Node)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toSource</h4>
<pre>public void toSource(<a href="../../../../com/google/javascript/jscomp/Compiler.CodeBuilder.html" title="class in com.google.javascript.jscomp">Compiler.CodeBuilder</a> cb,
int inputSeqNum,
<a href="../../../../com/google/javascript/rhino/Node.html" title="class in com.google.javascript.rhino">Node</a> root)</pre>
<div class="block">Writes out JS code from a root node. If printing input delimiters, this
method will attach a comment to the start of the text indicating which
input the output derived from. If there were any preserve annotations
within the root's source, they will also be printed in a block comment
at the beginning of the output.</div>
</li>
</ul>
<a name="optimize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>optimize</h4>
<pre>public void optimize()</pre>
</li>
</ul>
<a name="processDefines()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>processDefines</h4>
<pre>public void processDefines()</pre>
<div class="block">Reprocesses the current defines over the AST. This is used by GwtCompiler
to generate N outputs for different targets from the same (checked) AST.
For each target, we apply the target-specific defines by calling
<code>processDefines</code> and then <code>optimize</code> to optimize the AST
specifically for that target.</div>
</li>
</ul>
<a name="normalize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>normalize</h4>
<pre>public void normalize()</pre>
</li>
</ul>
<a name="reportCodeChange()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reportCodeChange</h4>
<pre>public void reportCodeChange()</pre>
<div class="block">All passes should call reportCodeChange() when they alter
the JS tree structure. This is verified by CompilerTestCase.
This allows us to optimize to a fixed point.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#reportCodeChange()">reportCodeChange</a></code> in class <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html" title="class in com.google.javascript.jscomp">AbstractCompiler</a></code></dd>
</dl>
</li>
</ul>
<a name="getCodingConvention()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCodingConvention</h4>
<pre>public <a href="../../../../com/google/javascript/jscomp/CodingConvention.html" title="interface in com.google.javascript.jscomp">CodingConvention</a> getCodingConvention()</pre>
<div class="block"><strong>Description copied from class: <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#getCodingConvention()">AbstractCompiler</a></code></strong></div>
<div class="block">Gets the current coding convention.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#getCodingConvention()">getCodingConvention</a></code> in class <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html" title="class in com.google.javascript.jscomp">AbstractCompiler</a></code></dd>
</dl>
</li>
</ul>
<a name="isIdeMode()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isIdeMode</h4>
<pre>public boolean isIdeMode()</pre>
<div class="block"><strong>Description copied from class: <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#isIdeMode()">AbstractCompiler</a></code></strong></div>
<div class="block">Returns true if compiling in IDE mode.</div>
</li>
</ul>
<a name="acceptEcmaScript5()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>acceptEcmaScript5</h4>
<pre>public boolean acceptEcmaScript5()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Whether the compiler is in ES5Mode.</dd></dl>
</li>
</ul>
<a name="languageMode()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>languageMode</h4>
<pre>public <a href="../../../../com/google/javascript/jscomp/CompilerOptions.LanguageMode.html" title="enum in com.google.javascript.jscomp">CompilerOptions.LanguageMode</a> languageMode()</pre>
</li>
</ul>
<a name="acceptConstKeyword()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>acceptConstKeyword</h4>
<pre>public boolean acceptConstKeyword()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>Whether the compiler accepts `const' keyword.</dd></dl>
</li>
</ul>
<a name="isTypeCheckingEnabled()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isTypeCheckingEnabled</h4>
<pre>public boolean isTypeCheckingEnabled()</pre>
<div class="block"><strong>Description copied from class: <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#isTypeCheckingEnabled()">AbstractCompiler</a></code></strong></div>
<div class="block">Returns true if type checking is enabled.</div>
</li>
</ul>
<a name="getDiagnosticGroups()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDiagnosticGroups</h4>
<pre>protected <a href="../../../../com/google/javascript/jscomp/DiagnosticGroups.html" title="class in com.google.javascript.jscomp">DiagnosticGroups</a> getDiagnosticGroups()</pre>
<div class="block">The warning classes that are available from the command-line, and
are suppressible by the <code>@suppress</code> annotation.</div>
</li>
</ul>
<a name="report(com.google.javascript.jscomp.JSError)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>report</h4>
<pre>public void report(<a href="../../../../com/google/javascript/jscomp/JSError.html" title="class in com.google.javascript.jscomp">JSError</a> error)</pre>
<div class="block"><strong>Description copied from class: <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#report(com.google.javascript.jscomp.JSError)">AbstractCompiler</a></code></strong></div>
<div class="block">Report an error or warning.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#report(com.google.javascript.jscomp.JSError)">report</a></code> in class <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html" title="class in com.google.javascript.jscomp">AbstractCompiler</a></code></dd>
</dl>
</li>
</ul>
<a name="getErrorLevel(com.google.javascript.jscomp.JSError)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getErrorLevel</h4>
<pre>public <a href="../../../../com/google/javascript/jscomp/CheckLevel.html" title="enum in com.google.javascript.jscomp">CheckLevel</a> getErrorLevel(<a href="../../../../com/google/javascript/jscomp/JSError.html" title="class in com.google.javascript.jscomp">JSError</a> error)</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>The error level the given error object will be reported at.</dd></dl>
</li>
</ul>
<a name="getErrorCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getErrorCount</h4>
<pre>public int getErrorCount()</pre>
<div class="block">Gets the number of errors.</div>
</li>
</ul>
<a name="getWarningCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWarningCount</h4>
<pre>public int getWarningCount()</pre>
<div class="block">Gets the number of warnings.</div>
</li>
</ul>
<a name="hasErrors()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasErrors</h4>
<pre>public boolean hasErrors()</pre>
<div class="block">Consults the <a href="../../../../com/google/javascript/jscomp/ErrorManager.html" title="interface in com.google.javascript.jscomp"><code>ErrorManager</code></a> to see if we've encountered errors
that should halt compilation. <p>
If <a href="../../../../com/google/javascript/jscomp/CompilerOptions.html#ideMode"><code>CompilerOptions.ideMode</code></a> is <code>true</code>, this function
always returns <code>false</code> without consulting the error manager. The
error manager will continue to be told about new errors and warnings, but
the compiler will complete compilation of all inputs.<p></div>
</li>
</ul>
<a name="getSourceLine(java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSourceLine</h4>
<pre>public java.lang.String getSourceLine(java.lang.String sourceName,
int lineNumber)</pre>
<div class="block"><strong>Description copied from interface: <code><a href="../../../../com/google/javascript/jscomp/SourceExcerptProvider.html#getSourceLine(java.lang.String, int)">SourceExcerptProvider</a></code></strong></div>
<div class="block">Get the line indicated by the line number. This call will return only the
specific line.</div>
<dl><dd><code>lineNumber</code> - the line number, 1 being the first line of the file</dd>
<dt><span class="strong">Returns:</span></dt><dd>the line indicated, or <code>null</code> if it does not exist</dd></dl>
</li>
</ul>
<a name="getSourceRegion(java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSourceRegion</h4>
<pre>public <a href="../../../../com/google/javascript/jscomp/Region.html" title="interface in com.google.javascript.jscomp">Region</a> getSourceRegion(java.lang.String sourceName,
int lineNumber)</pre>
<div class="block"><strong>Description copied from interface: <code><a href="../../../../com/google/javascript/jscomp/SourceExcerptProvider.html#getSourceRegion(java.lang.String, int)">SourceExcerptProvider</a></code></strong></div>
<div class="block">Get a region around the indicated line number. The exact definition of a
region is implementation specific, but it must contain the line indicated
by the line number. A region must not start or end by a carriage return.</div>
<dl><dd><code>lineNumber</code> - the line number, 1 being the first line of the file</dd>
<dt><span class="strong">Returns:</span></dt><dd>the region around the line number indicated, or <code>null</null>
if it does not exist</dd></dl>
</li>
</ul>
<a name="getSourceMap()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSourceMap</h4>
<pre>public <a href="../../../../com/google/javascript/jscomp/SourceMap.html" title="class in com.google.javascript.jscomp">SourceMap</a> getSourceMap()</pre>
</li>
</ul>
<a name="setLoggingLevel(java.util.logging.Level)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLoggingLevel</h4>
<pre>public static void setLoggingLevel(java.util.logging.Level level)</pre>
<div class="block">Sets the logging level for the com.google.javascript.jscomp package.</div>
</li>
</ul>
<a name="getAstDotGraph()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAstDotGraph</h4>
<pre>public java.lang.String getAstDotGraph()
throws java.io.IOException</pre>
<div class="block">Gets the DOT graph of the AST generated at the end of compilation.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="getErrorManager()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getErrorManager</h4>
<pre>public <a href="../../../../com/google/javascript/jscomp/ErrorManager.html" title="interface in com.google.javascript.jscomp">ErrorManager</a> getErrorManager()</pre>
<div class="block"><strong>Description copied from class: <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#getErrorManager()">AbstractCompiler</a></code></strong></div>
<div class="block">Gets the error manager.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#getErrorManager()">getErrorManager</a></code> in class <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html" title="class in com.google.javascript.jscomp">AbstractCompiler</a></code></dd>
</dl>
</li>
</ul>
<a name="getInputsById()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInputsById</h4>
<pre>public java.util.Map<<a href="../../../../com/google/javascript/rhino/InputId.html" title="class in com.google.javascript.rhino">InputId</a>,<a href="../../../../com/google/javascript/jscomp/CompilerInput.html" title="class in com.google.javascript.jscomp">CompilerInput</a>> getInputsById()</pre>
<div class="block">Returns an unmodifiable view of the compiler inputs indexed by id.</div>
</li>
</ul>
<a name="getState()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getState</h4>
<pre>public <a href="../../../../com/google/javascript/jscomp/Compiler.IntermediateState.html" title="class in com.google.javascript.jscomp">Compiler.IntermediateState</a> getState()</pre>
<div class="block">Returns the current internal state, excluding the input files and modules.</div>
</li>
</ul>
<a name="setState(com.google.javascript.jscomp.Compiler.IntermediateState)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setState</h4>
<pre>public void setState(<a href="../../../../com/google/javascript/jscomp/Compiler.IntermediateState.html" title="class in com.google.javascript.jscomp">Compiler.IntermediateState</a> state)</pre>
<div class="block">Sets the internal state to the capture given. Note that this assumes that
the input files are already set up.</div>
</li>
</ul>
<a name="getProgress()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProgress</h4>
<pre>public double getProgress()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html#getProgress()">getProgress</a></code> in class <code><a href="../../../../com/google/javascript/jscomp/AbstractCompiler.html" title="class in com.google.javascript.jscomp">AbstractCompiler</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>a number in [0,1] range indicating an approximate progress of the
last compile. Note this should only be used as a hint and no assumptions
should be made on accuracy, even a completed compile may choose not to set
this to 1.0 at the end.</dd></dl>
</li>
</ul>
<a name="replaceScript(com.google.javascript.jscomp.JsAst)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceScript</h4>
<pre>public void replaceScript(<a href="../../../../com/google/javascript/jscomp/JsAst.html" title="class in com.google.javascript.jscomp">JsAst</a> ast)</pre>
<div class="block">Replaces one file in a hot-swap mode. The given JsAst should be made
from a new version of a file that already was present in the last compile
call. If the file is new, this will silently ignored.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ast</code> - the ast of the file that is being replaced</dd></dl>
</li>
</ul>
<a name="addNewScript(com.google.javascript.jscomp.JsAst)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addNewScript</h4>
<pre>public void addNewScript(<a href="../../../../com/google/javascript/jscomp/JsAst.html" title="class in com.google.javascript.jscomp">JsAst</a> ast)</pre>
<div class="block">Adds a new Script AST to the compile state. If a script for the same file
already exists the script will not be added, instead a call to
#replaceScript should be used.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ast</code> - the ast of the new file</dd></dl>
</li>
</ul>
<a name="getReleaseVersion()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReleaseVersion</h4>
<pre>public static java.lang.String getReleaseVersion()</pre>
<div class="block">Returns the compiler version baked into the jar.</div>
</li>
</ul>
<a name="getReleaseDate()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReleaseDate</h4>
<pre>public static java.lang.String getReleaseDate()</pre>
<div class="block">Returns the compiler date baked into the jar.</div>
</li>
</ul>
<a name="setOldParseTree(java.lang.String, com.google.javascript.rhino.head.ast.AstRoot)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOldParseTree</h4>
<pre>public void setOldParseTree(java.lang.String sourceName,
com.google.javascript.rhino.head.ast.AstRoot oldAst)</pre>
<div class="block">Stores the "new" Rhino parse tree for a given source file.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sourceName</code> - The source file name.</dd><dd><code>oldAst</code> - The "new" Rhino parse tree.</dd></dl>
</li>
</ul>
<a name="getOldParseTreeByName(java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getOldParseTreeByName</h4>
<pre>public com.google.javascript.rhino.head.ast.AstRoot getOldParseTreeByName(java.lang.String sourceName)</pre>
<div class="block">Gets an old format parse tree for a given source file.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sourceName</code> - The source file name to get the tree for.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The "new" Rhino parse tree for the given source file.</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../com/google/javascript/jscomp/CompilationLevel.html" title="enum in com.google.javascript.jscomp"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../com/google/javascript/jscomp/Compiler.CodeBuilder.html" title="class in com.google.javascript.jscomp"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/google/javascript/jscomp/Compiler.html" target="_top">Frames</a></li>
<li><a href="Compiler.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li><a href="#nested_class_summary">Nested</a> | </li>
<li><a href="#field_summary">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
|