/usr/share/vala/vapi/libvala-0.40.vapi is in libvala-0.40-dev 0.40.4-1.
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 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 | /* gee.vapi generated by valac, do not modify. */
namespace Vala {
[CCode (cheader_filename = "valagee.h")]
public class ArrayList<G> : Vala.List<G> {
public ArrayList (GLib.EqualFunc<G> equal_func = GLib.direct_equal);
public override bool add (G item);
public override void clear ();
public override bool contains (G item);
public override G @get (int index);
public override GLib.Type get_element_type ();
public override int index_of (G item);
public override void insert (int index, G item);
public override Vala.Iterator<G> iterator ();
public override bool remove (G item);
public override G remove_at (int index);
public override void @set (int index, G item);
public GLib.EqualFunc<G> equal_func { set; }
public override int size { get; }
}
[CCode (cheader_filename = "valagee.h")]
public abstract class Collection<G> : Vala.Iterable<G> {
public Collection ();
public abstract bool add (G item);
public virtual bool add_all (Vala.Collection<G> collection);
public abstract void clear ();
public abstract bool contains (G item);
public abstract bool remove (G item);
public virtual G[] to_array ();
public virtual bool is_empty { get; }
public abstract int size { get; }
}
[CCode (cheader_filename = "valagee.h")]
public class HashMap<K,V> : Vala.Map<K,V> {
public HashMap (GLib.HashFunc<K> key_hash_func = GLib.direct_hash, GLib.EqualFunc<K> key_equal_func = GLib.direct_equal, GLib.EqualFunc<V> value_equal_func = GLib.direct_equal);
public override void clear ();
public override bool contains (K key);
public override V @get (K key);
public override Vala.Set<K> get_keys ();
public override Vala.Collection<V> get_values ();
public override Vala.MapIterator<K,V> map_iterator ();
public override bool remove (K key);
public override void @set (K key, V value);
public GLib.EqualFunc<K> key_equal_func { set; }
public GLib.HashFunc<K> key_hash_func { set; }
public override int size { get; }
public GLib.EqualFunc<V> value_equal_func { set; }
}
[CCode (cheader_filename = "valagee.h")]
public class HashSet<G> : Vala.Set<G> {
public HashSet (GLib.HashFunc<G> hash_func = GLib.direct_hash, GLib.EqualFunc<G> equal_func = GLib.direct_equal);
public override bool add (G key);
public override void clear ();
public override bool contains (G key);
public override GLib.Type get_element_type ();
public override Vala.Iterator<G> iterator ();
public override bool remove (G key);
public GLib.EqualFunc<G> equal_func { set; }
public GLib.HashFunc<G> hash_func { set; }
public override int size { get; }
}
[CCode (cheader_filename = "valagee.h")]
public abstract class Iterable<G> {
public Iterable ();
public abstract GLib.Type get_element_type ();
public abstract Vala.Iterator<G> iterator ();
}
[CCode (cheader_filename = "valagee.h")]
public abstract class Iterator<G> {
public Iterator ();
public abstract G @get ();
public abstract bool has_next ();
public abstract bool next ();
public abstract void remove ();
public abstract bool valid { get; }
}
[CCode (cheader_filename = "valagee.h")]
public abstract class List<G> : Vala.Collection<G> {
public List ();
public virtual G first ();
public abstract G @get (int index);
public abstract int index_of (G item);
public abstract void insert (int index, G item);
public virtual void insert_all (int index, Vala.Collection<G> collection);
public virtual G last ();
public abstract G remove_at (int index);
public abstract void @set (int index, G item);
public virtual void sort (owned GLib.CompareDataFunc<G> compare_func);
}
[CCode (cheader_filename = "valagee.h")]
public abstract class Map<K,V> {
public Map ();
public abstract void clear ();
public abstract bool contains (K key);
public abstract V @get (K key);
public abstract Vala.Set<K> get_keys ();
public abstract Vala.Collection<V> get_values ();
public abstract Vala.MapIterator<K,V> map_iterator ();
public abstract bool remove (K key);
public abstract void @set (K key, V value);
public abstract int size { get; }
}
[CCode (cheader_filename = "valagee.h")]
public abstract class MapIterator<K,V> {
public MapIterator ();
public abstract K get_key ();
public abstract V get_value ();
public abstract bool next ();
}
[CCode (cheader_filename = "valagee.h")]
public abstract class Set<G> : Vala.Collection<G> {
public Set ();
}
}
/* vala.vapi generated by valac, do not modify. */
namespace Vala {
namespace Genie {
[CCode (cheader_filename = "vala.h")]
public class Parser : Vala.CodeVisitor {
public Parser ();
public void parse (Vala.CodeContext context);
public void parse_file (Vala.SourceFile source_file);
public override void visit_source_file (Vala.SourceFile source_file);
}
[CCode (cheader_filename = "vala.h")]
public class Scanner {
public Scanner (Vala.SourceFile source_file);
public static Vala.Genie.TokenType get_identifier_or_keyword (char* begin, int len);
public void parse_file_comments ();
public Vala.Comment? pop_comment ();
public Vala.Genie.TokenType read_regex_token (out Vala.SourceLocation token_begin, out Vala.SourceLocation token_end);
public Vala.Genie.TokenType read_template_token (out Vala.SourceLocation token_begin, out Vala.SourceLocation token_end);
public Vala.Genie.TokenType read_token (out Vala.SourceLocation token_begin, out Vala.SourceLocation token_end);
public void seek (Vala.SourceLocation location);
public int indent_spaces { get; set; }
public Vala.SourceFile source_file { get; private set; }
}
[CCode (cheader_filename = "vala.h")]
public enum TokenType {
NONE,
ABSTRACT,
ARRAY,
AS,
ASSERT,
ASSIGN,
ASSIGN_ADD,
ASSIGN_BITWISE_AND,
ASSIGN_BITWISE_OR,
ASSIGN_BITWISE_XOR,
ASSIGN_DIV,
ASSIGN_MUL,
ASSIGN_PERCENT,
ASSIGN_SHIFT_LEFT,
ASSIGN_SUB,
ASYNC,
BITWISE_AND,
BITWISE_OR,
BREAK,
CARRET,
CASE,
CHARACTER_LITERAL,
CLASS,
CLOSE_BRACE,
CLOSE_BRACKET,
CLOSE_PARENS,
CLOSE_REGEX_LITERAL,
CLOSE_TEMPLATE,
COLON,
COMMA,
CONST,
CONSTRUCT,
CONTINUE,
DEDENT,
DEF,
DEFAULT,
DELEGATE,
DELETE,
DICT,
DIV,
DO,
DOT,
DOWNTO,
DYNAMIC,
ELLIPSIS,
ELSE,
ENUM,
ENSURES,
ERRORDOMAIN,
EOF,
EOL,
EVENT,
EXCEPT,
EXTERN,
FALSE,
FINAL,
FINALLY,
FOR,
GET,
HASH,
IDENTIFIER,
IF,
IMPLEMENTS,
IN,
INDENT,
INIT,
INLINE,
INTEGER_LITERAL,
INTERFACE,
INTERNAL,
INTERR,
IS,
ISA,
LAMBDA,
LIST,
LOCK,
MINUS,
NAMESPACE,
NEW,
NULL,
OF,
OUT,
OP_AND,
OP_DEC,
OP_EQ,
OP_GE,
OP_GT,
OP_INC,
OP_LE,
OP_LT,
OP_NE,
OP_NEG,
OP_OR,
OP_PTR,
OP_SHIFT_LEFT,
OPEN_BRACE,
OPEN_BRACKET,
OPEN_PARENS,
OPEN_REGEX_LITERAL,
OPEN_TEMPLATE,
OVERRIDE,
OWNED,
PARAMS,
PASS,
PERCENT,
PLUS,
PRINT,
PRIVATE,
PROP,
PROTECTED,
PUBLIC,
RAISE,
RAISES,
READONLY,
REAL_LITERAL,
REF,
REGEX_LITERAL,
REQUIRES,
RETURN,
SEALED,
SEMICOLON,
SET,
SIZEOF,
STAR,
STATIC,
STRING_LITERAL,
STRUCT,
SUPER,
TEMPLATE_STRING_LITERAL,
THIS,
TILDE,
TO,
TRUE,
TRY,
TYPEOF,
UNOWNED,
USES,
VAR,
VERBATIM_STRING_LITERAL,
VIRTUAL,
VOID,
VOLATILE,
WEAK,
WHEN,
WHILE,
WRITEONLY,
YIELD;
public unowned string to_string ();
}
}
[CCode (cheader_filename = "vala.h")]
public class AddressofExpression : Vala.Expression {
public AddressofExpression (Vala.Expression inner, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override bool is_accessible (Vala.Symbol sym);
public override bool is_pure ();
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public Vala.Expression inner { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class ArrayCopyMethod : Vala.Method {
public ArrayCopyMethod (Vala.SourceReference source_reference);
}
[CCode (cheader_filename = "vala.h")]
public class ArrayCreationExpression : Vala.Expression {
public ArrayCreationExpression (Vala.DataType element_type, int rank, Vala.InitializerList? initializer_list, Vala.SourceReference source_reference);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public void append_size (Vala.Expression size);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public Vala.List<Vala.Expression> get_sizes ();
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override bool is_accessible (Vala.Symbol sym);
public override bool is_pure ();
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public Vala.DataType element_type { get; set; }
public Vala.InitializerList? initializer_list { get; set; }
public int rank { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class ArrayLengthField : Vala.Field {
public ArrayLengthField (Vala.SourceReference source_reference);
}
[CCode (cheader_filename = "vala.h")]
public class ArrayMoveMethod : Vala.Method {
public ArrayMoveMethod (Vala.SourceReference source_reference);
}
[CCode (cheader_filename = "vala.h")]
public class ArrayResizeMethod : Vala.Method {
public ArrayResizeMethod (Vala.SourceReference source_reference);
}
[CCode (cheader_filename = "vala.h")]
public class ArrayType : Vala.ReferenceType {
public ArrayType (Vala.DataType element_type, int rank, Vala.SourceReference? source_reference);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override bool compatible (Vala.DataType target_type);
public override Vala.DataType copy ();
public override Vala.DataType get_actual_type (Vala.DataType? derived_instance_type, Vala.List<Vala.DataType>? method_type_arguments, Vala.CodeNode node_reference);
public override Vala.Symbol? get_member (string member_name);
public override Vala.DataType? infer_type_argument (Vala.TypeParameter type_param, Vala.DataType value_type);
public override bool is_accessible (Vala.Symbol sym);
public override bool is_array ();
public override bool is_disposable ();
public override bool is_reference_type_or_type_parameter ();
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public override string to_qualified_string (Vala.Scope? scope);
public Vala.DataType element_type { get; set; }
public bool fixed_length { get; set; }
public bool inline_allocated { get; set; }
public bool invalid_syntax { get; set; }
public Vala.Expression? length { get; set; }
public int rank { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Assignment : Vala.Expression {
public Assignment (Vala.Expression left, Vala.Expression right, Vala.AssignmentOperator operator = AssignmentOperator.SIMPLE, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override bool is_accessible (Vala.Symbol sym);
public override bool is_pure ();
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public Vala.Expression left { get; set; }
public Vala.AssignmentOperator operator { get; set; }
public Vala.Expression right { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Attribute : Vala.CodeNode {
public Attribute (string name, Vala.SourceReference? source_reference = null);
public void add_argument (string key, string value);
public bool get_bool (string name, bool default_value = false);
public double get_double (string name, double default_value = 0);
public int get_integer (string name, int default_value = 0);
public string? get_string (string name, string? default_value = null);
public bool has_argument (string name);
public Vala.Map<string,string> args { get; private set; }
public string name { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class AttributeCache {
public AttributeCache ();
}
[CCode (cheader_filename = "vala.h")]
public class BaseAccess : Vala.Expression {
public BaseAccess (Vala.SourceReference? source = null);
public override void accept (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override bool is_pure ();
public override string to_string ();
}
[CCode (cheader_filename = "vala.h")]
public class BasicBlock {
public BasicBlock ();
public void add_child (Vala.BasicBlock block);
public void add_dominator_frontier (Vala.BasicBlock block);
public void add_node (Vala.CodeNode node);
public void add_phi_function (Vala.PhiFunction phi);
public void connect (Vala.BasicBlock target);
public BasicBlock.entry ();
public BasicBlock.exit ();
public Vala.List<Vala.BasicBlock> get_children ();
public Vala.Set<Vala.BasicBlock> get_dominator_frontier ();
public Vala.List<Vala.CodeNode> get_nodes ();
public Vala.Set<Vala.PhiFunction> get_phi_functions ();
public Vala.List<weak Vala.BasicBlock> get_predecessors ();
public Vala.List<Vala.BasicBlock> get_successors ();
public Vala.BasicBlock parent { get; private set; }
public int postorder_number { get; set; }
public bool postorder_visited { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class BinaryExpression : Vala.Expression {
public BinaryExpression (Vala.BinaryOperator op, Vala.Expression _left, Vala.Expression _right, Vala.SourceReference? source = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public BinaryExpression.chained (Vala.BinaryOperator op, Vala.Expression _left, Vala.Expression _right, Vala.SourceReference? source = null);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override bool is_accessible (Vala.Symbol sym);
public override bool is_constant ();
public override bool is_non_null ();
public override bool is_pure ();
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public override string to_string ();
public bool is_chained { get; private set; }
public Vala.Expression left { get; set; }
public Vala.BinaryOperator operator { get; set; }
public Vala.Expression right { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Block : Vala.Symbol, Vala.Statement {
public Block (Vala.SourceReference? source_reference);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public void add_local_constant (Vala.Constant constant);
public void add_local_variable (Vala.LocalVariable local);
public void add_statement (Vala.Statement stmt);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public Vala.List<Vala.LocalVariable> get_local_variables ();
public Vala.List<Vala.Statement> get_statements ();
public void insert_before (Vala.Statement stmt, Vala.Statement new_stmt);
public void insert_statement (int index, Vala.Statement stmt);
public void remove_local_variable (Vala.LocalVariable local);
public void replace_statement (Vala.Statement old_stmt, Vala.Statement new_stmt);
public bool captured { get; set; }
public bool contains_jump_statement { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class BooleanLiteral : Vala.Literal {
public BooleanLiteral (bool b, Vala.SourceReference? source = null);
public override void accept (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override bool is_pure ();
public override string to_string ();
public bool value { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class BooleanType : Vala.ValueType {
public BooleanType (Vala.Struct type_symbol);
public override Vala.DataType copy ();
}
[CCode (cheader_filename = "vala.h")]
public class BreakStatement : Vala.CodeNode, Vala.Statement {
public BreakStatement (Vala.SourceReference? source);
public override void accept (Vala.CodeVisitor visitor);
public override void emit (Vala.CodeGenerator codegen);
}
[CCode (cheader_filename = "vala.h")]
public abstract class CallableType : Vala.DataType {
public CallableType ();
public override string to_prototype_string (string? override_name = null);
}
[CCode (cheader_filename = "vala.h")]
public class CastExpression : Vala.Expression {
public CastExpression (Vala.Expression inner, Vala.DataType type_reference, Vala.SourceReference source_reference);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override bool is_accessible (Vala.Symbol sym);
public override bool is_constant ();
public override bool is_pure ();
public CastExpression.non_null (Vala.Expression inner, Vala.SourceReference source_reference);
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public CastExpression.silent (Vala.Expression inner, Vala.DataType type_reference, Vala.SourceReference source_reference);
public Vala.Expression inner { get; set; }
public bool is_non_null_cast { get; private set; }
public bool is_silent_cast { get; private set; }
public Vala.DataType type_reference { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class CatchClause : Vala.CodeNode {
public CatchClause (Vala.DataType? error_type, string? variable_name, Vala.Block body, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public Vala.Block body { get; set; }
public string? clabel_name { get; set; }
public Vala.DataType? error_type { get; set; }
public Vala.LocalVariable error_variable { get; set; }
public string? variable_name { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class CharacterLiteral : Vala.Literal {
public CharacterLiteral (string c, Vala.SourceReference? source = null);
public override void accept (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public unichar get_char ();
public override bool is_pure ();
public override string to_string ();
public string value { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Class : Vala.ObjectTypeSymbol {
public Class (string name, Vala.SourceReference? source_reference = null, Vala.Comment? comment = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public void add_base_type (Vala.DataType type);
public override void add_constructor (Vala.Constructor c);
public override void add_destructor (Vala.Destructor d);
public override void add_field (Vala.Field f);
public override void add_method (Vala.Method m);
public override void add_property (Vala.Property prop);
public override bool check (Vala.CodeContext context);
public Vala.List<Vala.DataType> get_base_types ();
public bool is_fundamental ();
public override bool is_reference_type ();
public override bool is_subtype_of (Vala.TypeSymbol t);
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public Vala.Class base_class { get; set; }
public Vala.Constructor class_constructor { get; set; }
public Vala.Destructor? class_destructor { get; set; }
public Vala.Constructor constructor { get; set; }
public Vala.CreationMethod default_construction_method { get; set; }
public Vala.Destructor? destructor { get; set; }
public bool has_class_private_fields { get; private set; }
public bool has_private_fields { get; set; }
public bool is_abstract { get; set; }
public bool is_compact { get; set; }
public bool is_error_base { get; }
public bool is_immutable { get; set; }
public Vala.Constructor static_constructor { get; set; }
public Vala.Destructor? static_destructor { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class ClassType : Vala.ReferenceType {
public ClassType (Vala.Class class_symbol);
public override Vala.DataType copy ();
public Vala.Class class_symbol { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class CodeContext {
public CodeContext ();
public void accept (Vala.CodeVisitor visitor);
public void add_c_source_file (string file);
public void add_define (string define);
public bool add_external_package (string pkg);
public void add_package (string pkg);
public bool add_packages_from_file (string filename);
public void add_source_file (Vala.SourceFile file);
public bool add_source_filename (string filename, bool is_source = false, bool cmdline = false);
public void check ();
public static Vala.CodeContext @get ();
public Vala.List<string> get_c_source_files ();
public string? get_gir_path (string gir);
public string? get_gresource_path (string gresource, string resource);
public string? get_metadata_path (string gir_filename);
public Vala.List<string> get_packages ();
public Vala.List<Vala.SourceFile> get_source_files ();
public string? get_vapi_path (string pkg);
public bool has_package (string pkg);
public bool is_defined (string define);
public string? pkg_config_compile_flags (string package_name);
public bool pkg_config_exists (string package_name);
public string? pkg_config_modversion (string package_name);
public static void pop ();
public static void push (Vala.CodeContext context);
public static string realpath (string name);
public bool require_glib_version (int major, int minor);
public void write_dependencies (string filename);
public bool abi_stability { get; set; }
public Vala.SemanticAnalyzer analyzer { get; private set; }
public bool assert { get; set; }
public string basedir { get; set; }
public bool ccode_only { get; set; }
public bool checking { get; set; }
public Vala.CodeGenerator codegen { get; set; }
public bool compile_only { get; set; }
public bool debug { get; set; }
public bool deprecated { get; set; }
public string directory { get; set; }
public Vala.Method? entry_point { get; set; }
public string entry_point_name { get; set; }
public bool experimental { get; set; }
public bool experimental_non_null { get; set; }
public Vala.FlowAnalyzer flow_analyzer { get; private set; }
public string[] gir_directories { get; set; }
public bool gobject_tracing { get; set; }
public string[] gresources { get; set; }
public string[] gresources_directories { get; set; }
public string? header_filename { get; set; }
public bool hide_internal { get; set; }
public string? includedir { get; set; }
public string? internal_header_filename { get; set; }
public bool mem_profiler { get; set; }
public string[] metadata_directories { get; set; }
public Vala.Method module_init_method { get; set; }
public bool nostdpkg { get; set; }
public int optlevel { get; set; }
public string output { get; set; }
public string pkg_config_command { get; set; }
public Vala.Profile profile { get; set; }
public Vala.Report report { get; set; }
public Vala.SymbolResolver resolver { get; private set; }
public Vala.Namespace root { get; }
public bool run_output { get; set; }
public bool save_csources { get; }
public bool save_temps { get; set; }
public bool since_check { get; set; }
public string? symbols_filename { get; set; }
public int target_glib_major { get; set; }
public int target_glib_minor { get; set; }
public bool use_fast_vapi { get; set; }
public bool use_header { get; set; }
public Vala.UsedAttr used_attr { get; set; }
public bool vapi_comments { get; set; }
public string[] vapi_directories { get; set; }
public bool verbose_mode { get; set; }
public bool version_header { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public abstract class CodeGenerator : Vala.CodeVisitor {
public CodeGenerator ();
public virtual void emit (Vala.CodeContext context);
public abstract Vala.TargetValue load_field (Vala.Field field, Vala.TargetValue? instance);
public abstract Vala.TargetValue load_local (Vala.LocalVariable local);
public abstract Vala.TargetValue load_parameter (Vala.Parameter param);
public abstract void store_field (Vala.Field field, Vala.TargetValue? instance, Vala.TargetValue value, Vala.SourceReference? source_reference = null);
public abstract void store_local (Vala.LocalVariable local, Vala.TargetValue value, bool initializer, Vala.SourceReference? source_reference = null);
public abstract void store_parameter (Vala.Parameter param, Vala.TargetValue value, bool capturing_parameter = false, Vala.SourceReference? source_reference = null);
}
[CCode (cheader_filename = "vala.h")]
public abstract class CodeNode {
public GLib.List<Vala.Attribute> attributes;
public CodeNode ();
public virtual void accept (Vala.CodeVisitor visitor);
public virtual void accept_children (Vala.CodeVisitor visitor);
public void add_error_type (Vala.DataType error_type);
public void add_error_types (Vala.List<Vala.DataType> error_types);
public virtual bool check (Vala.CodeContext context);
public virtual void emit (Vala.CodeGenerator codegen);
public Vala.Attribute? get_attribute (string name);
public bool get_attribute_bool (string attribute, string argument, bool default_value = false);
public Vala.AttributeCache? get_attribute_cache (int index);
public static int get_attribute_cache_index ();
public double get_attribute_double (string attribute, string argument, double default_value = 0);
public int get_attribute_integer (string attribute, string argument, int default_value = 0);
public string? get_attribute_string (string attribute, string argument, string? default_value = null);
public virtual void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public Vala.List<Vala.DataType> get_error_types ();
public static string get_temp_name ();
public virtual void get_used_variables (Vala.Collection<Vala.Variable> collection);
public bool has_attribute_argument (string attribute, string argument);
public void remove_attribute_argument (string attribute, string argument);
public virtual void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public virtual void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public void set_attribute (string name, bool value, Vala.SourceReference? source_reference = null);
public void set_attribute_bool (string attribute, string argument, bool value, Vala.SourceReference? source_reference = null);
public void set_attribute_cache (int index, Vala.AttributeCache cache);
public void set_attribute_double (string attribute, string argument, double value, Vala.SourceReference? source_reference = null);
public void set_attribute_integer (string attribute, string argument, int value, Vala.SourceReference? source_reference = null);
public void set_attribute_string (string attribute, string argument, string? value, Vala.SourceReference? source_reference = null);
public virtual string to_string ();
public bool checked { get; set; }
public bool error { get; set; }
public Vala.CodeNode? parent_node { get; set; }
public Vala.SourceReference? source_reference { get; set; }
public bool tree_can_fail { get; }
public string type_name { get; }
public bool unreachable { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public abstract class CodeVisitor {
public CodeVisitor ();
public virtual void visit_addressof_expression (Vala.AddressofExpression expr);
public virtual void visit_array_creation_expression (Vala.ArrayCreationExpression expr);
public virtual void visit_assignment (Vala.Assignment a);
public virtual void visit_base_access (Vala.BaseAccess expr);
public virtual void visit_binary_expression (Vala.BinaryExpression expr);
public virtual void visit_block (Vala.Block b);
public virtual void visit_boolean_literal (Vala.BooleanLiteral lit);
public virtual void visit_break_statement (Vala.BreakStatement stmt);
public virtual void visit_cast_expression (Vala.CastExpression expr);
public virtual void visit_catch_clause (Vala.CatchClause clause);
public virtual void visit_character_literal (Vala.CharacterLiteral lit);
public virtual void visit_class (Vala.Class cl);
public virtual void visit_conditional_expression (Vala.ConditionalExpression expr);
public virtual void visit_constant (Vala.Constant c);
public virtual void visit_constructor (Vala.Constructor c);
public virtual void visit_continue_statement (Vala.ContinueStatement stmt);
public virtual void visit_creation_method (Vala.CreationMethod m);
public virtual void visit_data_type (Vala.DataType type);
public virtual void visit_declaration_statement (Vala.DeclarationStatement stmt);
public virtual void visit_delegate (Vala.Delegate d);
public virtual void visit_delete_statement (Vala.DeleteStatement stmt);
public virtual void visit_destructor (Vala.Destructor d);
public virtual void visit_do_statement (Vala.DoStatement stmt);
public virtual void visit_element_access (Vala.ElementAccess expr);
public virtual void visit_empty_statement (Vala.EmptyStatement stmt);
public virtual void visit_end_full_expression (Vala.Expression expr);
public virtual void visit_enum (Vala.Enum en);
public virtual void visit_enum_value (Vala.EnumValue ev);
public virtual void visit_error_code (Vala.ErrorCode ecode);
public virtual void visit_error_domain (Vala.ErrorDomain edomain);
public virtual void visit_expression (Vala.Expression expr);
public virtual void visit_expression_statement (Vala.ExpressionStatement stmt);
public virtual void visit_field (Vala.Field f);
public virtual void visit_for_statement (Vala.ForStatement stmt);
public virtual void visit_foreach_statement (Vala.ForeachStatement stmt);
public virtual void visit_formal_parameter (Vala.Parameter p);
public virtual void visit_if_statement (Vala.IfStatement stmt);
public virtual void visit_initializer_list (Vala.InitializerList list);
public virtual void visit_integer_literal (Vala.IntegerLiteral lit);
public virtual void visit_interface (Vala.Interface iface);
public virtual void visit_lambda_expression (Vala.LambdaExpression expr);
public virtual void visit_local_variable (Vala.LocalVariable local);
public virtual void visit_lock_statement (Vala.LockStatement stmt);
public virtual void visit_loop (Vala.Loop stmt);
public virtual void visit_member_access (Vala.MemberAccess expr);
public virtual void visit_method (Vala.Method m);
public virtual void visit_method_call (Vala.MethodCall expr);
public virtual void visit_named_argument (Vala.NamedArgument expr);
public virtual void visit_namespace (Vala.Namespace ns);
public virtual void visit_null_literal (Vala.NullLiteral lit);
public virtual void visit_object_creation_expression (Vala.ObjectCreationExpression expr);
public virtual void visit_pointer_indirection (Vala.PointerIndirection expr);
public virtual void visit_postfix_expression (Vala.PostfixExpression expr);
public virtual void visit_property (Vala.Property prop);
public virtual void visit_property_accessor (Vala.PropertyAccessor acc);
public virtual void visit_real_literal (Vala.RealLiteral lit);
public virtual void visit_reference_transfer_expression (Vala.ReferenceTransferExpression expr);
public virtual void visit_regex_literal (Vala.RegexLiteral lit);
public virtual void visit_return_statement (Vala.ReturnStatement stmt);
public virtual void visit_signal (Vala.Signal sig);
public virtual void visit_sizeof_expression (Vala.SizeofExpression expr);
public virtual void visit_slice_expression (Vala.SliceExpression expr);
public virtual void visit_source_file (Vala.SourceFile source_file);
public virtual void visit_string_literal (Vala.StringLiteral lit);
public virtual void visit_struct (Vala.Struct st);
public virtual void visit_switch_label (Vala.SwitchLabel label);
public virtual void visit_switch_section (Vala.SwitchSection section);
public virtual void visit_switch_statement (Vala.SwitchStatement stmt);
public virtual void visit_template (Vala.Template tmpl);
public virtual void visit_throw_statement (Vala.ThrowStatement stmt);
public virtual void visit_try_statement (Vala.TryStatement stmt);
public virtual void visit_tuple (Vala.Tuple tuple);
public virtual void visit_type_check (Vala.TypeCheck expr);
public virtual void visit_type_parameter (Vala.TypeParameter p);
public virtual void visit_typeof_expression (Vala.TypeofExpression expr);
public virtual void visit_unary_expression (Vala.UnaryExpression expr);
public virtual void visit_unlock_statement (Vala.UnlockStatement stmt);
public virtual void visit_using_directive (Vala.UsingDirective ns);
public virtual void visit_while_statement (Vala.WhileStatement stmt);
public virtual void visit_yield_statement (Vala.YieldStatement y);
}
[CCode (cheader_filename = "vala.h")]
public class CodeWriter : Vala.CodeVisitor {
public CodeWriter (Vala.CodeWriterType type = CodeWriterType.EXTERNAL);
public void set_cheader_override (string original, string replacement);
public override void visit_addressof_expression (Vala.AddressofExpression expr);
public override void visit_array_creation_expression (Vala.ArrayCreationExpression expr);
public override void visit_assignment (Vala.Assignment a);
public override void visit_base_access (Vala.BaseAccess expr);
public override void visit_binary_expression (Vala.BinaryExpression expr);
public override void visit_block (Vala.Block b);
public override void visit_boolean_literal (Vala.BooleanLiteral lit);
public override void visit_break_statement (Vala.BreakStatement stmt);
public override void visit_cast_expression (Vala.CastExpression expr);
public override void visit_catch_clause (Vala.CatchClause clause);
public override void visit_character_literal (Vala.CharacterLiteral lit);
public override void visit_class (Vala.Class cl);
public override void visit_conditional_expression (Vala.ConditionalExpression expr);
public override void visit_constant (Vala.Constant c);
public override void visit_constructor (Vala.Constructor c);
public override void visit_continue_statement (Vala.ContinueStatement stmt);
public override void visit_creation_method (Vala.CreationMethod m);
public override void visit_declaration_statement (Vala.DeclarationStatement stmt);
public override void visit_delegate (Vala.Delegate cb);
public override void visit_delete_statement (Vala.DeleteStatement stmt);
public override void visit_do_statement (Vala.DoStatement stmt);
public override void visit_element_access (Vala.ElementAccess expr);
public override void visit_empty_statement (Vala.EmptyStatement stmt);
public override void visit_enum (Vala.Enum en);
public override void visit_error_domain (Vala.ErrorDomain edomain);
public override void visit_expression_statement (Vala.ExpressionStatement stmt);
public override void visit_field (Vala.Field f);
public override void visit_for_statement (Vala.ForStatement stmt);
public override void visit_foreach_statement (Vala.ForeachStatement stmt);
public override void visit_if_statement (Vala.IfStatement stmt);
public override void visit_initializer_list (Vala.InitializerList list);
public override void visit_integer_literal (Vala.IntegerLiteral lit);
public override void visit_interface (Vala.Interface iface);
public override void visit_lambda_expression (Vala.LambdaExpression expr);
public override void visit_local_variable (Vala.LocalVariable local);
public override void visit_lock_statement (Vala.LockStatement stmt);
public override void visit_loop (Vala.Loop stmt);
public override void visit_member_access (Vala.MemberAccess expr);
public override void visit_method (Vala.Method m);
public override void visit_method_call (Vala.MethodCall expr);
public override void visit_namespace (Vala.Namespace ns);
public override void visit_null_literal (Vala.NullLiteral lit);
public override void visit_object_creation_expression (Vala.ObjectCreationExpression expr);
public override void visit_pointer_indirection (Vala.PointerIndirection expr);
public override void visit_postfix_expression (Vala.PostfixExpression expr);
public override void visit_property (Vala.Property prop);
public override void visit_real_literal (Vala.RealLiteral lit);
public override void visit_reference_transfer_expression (Vala.ReferenceTransferExpression expr);
public override void visit_return_statement (Vala.ReturnStatement stmt);
public override void visit_signal (Vala.Signal sig);
public override void visit_sizeof_expression (Vala.SizeofExpression expr);
public override void visit_slice_expression (Vala.SliceExpression expr);
public override void visit_string_literal (Vala.StringLiteral lit);
public override void visit_struct (Vala.Struct st);
public override void visit_switch_label (Vala.SwitchLabel label);
public override void visit_switch_section (Vala.SwitchSection section);
public override void visit_switch_statement (Vala.SwitchStatement stmt);
public override void visit_throw_statement (Vala.ThrowStatement stmt);
public override void visit_try_statement (Vala.TryStatement stmt);
public override void visit_type_check (Vala.TypeCheck expr);
public override void visit_typeof_expression (Vala.TypeofExpression expr);
public override void visit_unary_expression (Vala.UnaryExpression expr);
public override void visit_using_directive (Vala.UsingDirective ns);
public override void visit_while_statement (Vala.WhileStatement stmt);
public override void visit_yield_statement (Vala.YieldStatement y);
public void write_file (Vala.CodeContext context, string filename);
}
[CCode (cheader_filename = "vala.h")]
public class Comment {
public Comment (string comment, Vala.SourceReference _source_reference);
public string content { get; set; }
public Vala.SourceReference source_reference { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class ConditionalExpression : Vala.Expression {
public ConditionalExpression (Vala.Expression cond, Vala.Expression true_expr, Vala.Expression false_expr, Vala.SourceReference source);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override bool is_accessible (Vala.Symbol sym);
public override bool is_pure ();
public Vala.Expression condition { get; set; }
public Vala.Expression false_expression { get; set; }
public Vala.Expression true_expression { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Constant : Vala.Symbol, Vala.Lockable {
public Constant (string name, Vala.DataType? type_reference, Vala.Expression? value, Vala.SourceReference? source_reference, Vala.Comment? comment = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public Vala.DataType type_reference { get; set; }
public Vala.Expression? value { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Constructor : Vala.Subroutine {
public Constructor (Vala.SourceReference? source);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public Vala.MemberBinding binding { get; set; }
public override bool has_result { get; }
public Vala.Parameter this_parameter { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class ContinueStatement : Vala.CodeNode, Vala.Statement {
public ContinueStatement (Vala.SourceReference source);
public override void accept (Vala.CodeVisitor visitor);
public override void emit (Vala.CodeGenerator codegen);
}
[CCode (cheader_filename = "vala.h")]
public class CreationMethod : Vala.Method {
public CreationMethod (string? class_name, string? name, Vala.SourceReference? source_reference = null, Vala.Comment? comment = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public bool chain_up { get; set; }
public string class_name { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public abstract class DataType : Vala.CodeNode {
public DataType ();
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public void add_type_argument (Vala.DataType arg);
public virtual bool compatible (Vala.DataType target_type);
public abstract Vala.DataType copy ();
public virtual bool equals (Vala.DataType type2);
public virtual Vala.DataType get_actual_type (Vala.DataType? derived_instance_type, Vala.List<Vala.DataType>? method_type_arguments, Vala.CodeNode node_reference);
public virtual Vala.Symbol? get_member (string member_name);
public virtual Vala.List<Vala.Parameter>? get_parameters ();
public virtual Vala.Symbol? get_pointer_member (string member_name);
public virtual Vala.DataType? get_return_type ();
public Vala.List<Vala.DataType> get_type_arguments ();
public bool has_type_arguments ();
public virtual Vala.DataType? infer_type_argument (Vala.TypeParameter type_param, Vala.DataType value_type);
public virtual bool is_accessible (Vala.Symbol sym);
public virtual bool is_array ();
public virtual bool is_disposable ();
public virtual bool is_invokable ();
public bool is_real_non_null_struct_type ();
public virtual bool is_real_struct_type ();
public virtual bool is_reference_type_or_type_parameter ();
public bool is_weak ();
public void remove_all_type_arguments ();
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public virtual bool stricter (Vala.DataType type2);
public virtual string to_prototype_string (string? override_name = null);
public virtual string to_qualified_string (Vala.Scope? scope = null);
public override string to_string ();
public Vala.TypeSymbol data_type { get; set; }
public bool floating_reference { get; set; }
public bool is_dynamic { get; set; }
public bool nullable { get; set; }
public bool value_owned { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class DeclarationStatement : Vala.CodeNode, Vala.Statement {
public DeclarationStatement (Vala.Symbol declaration, Vala.SourceReference? source_reference);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public Vala.Symbol declaration { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Delegate : Vala.TypeSymbol, Vala.Callable {
public Delegate (string? name, Vala.DataType return_type, Vala.SourceReference? source_reference = null, Vala.Comment? comment = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public void add_type_parameter (Vala.TypeParameter p);
public override bool check (Vala.CodeContext context);
public override int get_type_parameter_index (string name);
public Vala.List<Vala.TypeParameter> get_type_parameters ();
public override bool is_reference_type ();
public bool matches_method (Vala.Method m, Vala.DataType dt);
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public bool has_target { get; set; }
public Vala.DataType? sender_type { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class DelegateType : Vala.CallableType {
public DelegateType (Vala.Delegate delegate_symbol);
public override bool check (Vala.CodeContext context);
public override bool compatible (Vala.DataType target_type);
public override Vala.DataType copy ();
public override Vala.List<Vala.Parameter>? get_parameters ();
public override Vala.DataType? get_return_type ();
public override bool is_accessible (Vala.Symbol sym);
public override bool is_disposable ();
public override bool is_invokable ();
public override string to_qualified_string (Vala.Scope? scope);
public Vala.Delegate delegate_symbol { get; set; }
public bool is_called_once { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class DeleteStatement : Vala.CodeNode, Vala.Statement {
public DeleteStatement (Vala.Expression expression, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public Vala.Expression expression { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Destructor : Vala.Subroutine {
public Destructor (Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public Vala.MemberBinding binding { get; set; }
public override bool has_result { get; }
public Vala.Parameter this_parameter { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class DoStatement : Vala.CodeNode, Vala.Statement {
public DoStatement (Vala.Block body, Vala.Expression condition, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public Vala.Block body { get; set; }
public Vala.Expression condition { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class DynamicMethod : Vala.Method {
public DynamicMethod (Vala.DataType dynamic_type, string name, Vala.DataType return_type, Vala.SourceReference? source_reference = null, Vala.Comment? comment = null);
public override bool check (Vala.CodeContext context);
public Vala.DataType dynamic_type { get; set; }
public Vala.MethodCall invocation { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class DynamicProperty : Vala.Property {
public DynamicProperty (Vala.DataType dynamic_type, string name, Vala.SourceReference? source_reference = null, Vala.Comment? comment = null);
public override bool check (Vala.CodeContext context);
public Vala.DataType dynamic_type { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class DynamicSignal : Vala.Signal {
public DynamicSignal (Vala.DataType dynamic_type, string name, Vala.DataType return_type, Vala.SourceReference? source_reference = null, Vala.Comment? comment = null);
public override bool check (Vala.CodeContext context);
public Vala.DataType dynamic_type { get; set; }
public Vala.Expression handler { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class ElementAccess : Vala.Expression {
public ElementAccess (Vala.Expression container, Vala.SourceReference source_reference);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public void append_index (Vala.Expression index);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public Vala.List<Vala.Expression> get_indices ();
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override bool is_accessible (Vala.Symbol sym);
public override bool is_pure ();
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public Vala.Expression container { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class EmptyStatement : Vala.CodeNode, Vala.Statement {
public EmptyStatement (Vala.SourceReference source);
public override void accept (Vala.CodeVisitor visitor);
public override void emit (Vala.CodeGenerator codegen);
}
[CCode (cheader_filename = "vala.h")]
public class Enum : Vala.TypeSymbol {
public Enum (string name, Vala.SourceReference? source_reference = null, Vala.Comment? comment = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override void add_constant (Vala.Constant c);
public override void add_method (Vala.Method m);
public void add_value (Vala.EnumValue value);
public override bool check (Vala.CodeContext context);
public Vala.List<Vala.Constant> get_constants ();
public Vala.List<Vala.Method> get_methods ();
public Vala.List<Vala.EnumValue> get_values ();
public override bool is_reference_type ();
public void remove_all_values ();
public bool is_flags { get; }
}
[CCode (cheader_filename = "vala.h")]
public class EnumValue : Vala.Constant {
public EnumValue (string name, Vala.Expression? value, Vala.SourceReference? source_reference = null, Vala.Comment? comment = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
}
[CCode (cheader_filename = "vala.h")]
public class EnumValueType : Vala.ValueType {
public EnumValueType (Vala.Enum type_symbol);
public override Vala.DataType copy ();
public override Vala.Symbol? get_member (string member_name);
public Vala.Method get_to_string_method ();
}
[CCode (cheader_filename = "vala.h")]
public class ErrorCode : Vala.TypeSymbol {
public ErrorCode (string name, Vala.SourceReference? source_reference = null, Vala.Comment? comment = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public ErrorCode.with_value (string name, Vala.Expression value, Vala.SourceReference? source_reference = null);
public Vala.Expression value { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class ErrorDomain : Vala.TypeSymbol {
public ErrorDomain (string name, Vala.SourceReference? source_reference = null, Vala.Comment? comment = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public void add_code (Vala.ErrorCode ecode);
public override void add_method (Vala.Method m);
public override bool check (Vala.CodeContext context);
public Vala.List<Vala.ErrorCode> get_codes ();
public Vala.List<Vala.Method> get_methods ();
public override bool is_reference_type ();
}
[CCode (cheader_filename = "vala.h")]
public class ErrorType : Vala.ReferenceType {
public ErrorType (Vala.ErrorDomain? error_domain, Vala.ErrorCode? error_code, Vala.SourceReference? source_reference = null);
public override bool check (Vala.CodeContext context);
public override bool compatible (Vala.DataType target_type);
public override Vala.DataType copy ();
public override bool equals (Vala.DataType type2);
public override Vala.Symbol? get_member (string member_name);
public override bool is_reference_type_or_type_parameter ();
public override string to_qualified_string (Vala.Scope? scope);
public bool dynamic_error { get; set; }
public Vala.ErrorCode? error_code { get; set; }
public Vala.ErrorDomain? error_domain { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public abstract class Expression : Vala.CodeNode {
public Expression ();
public void insert_statement (Vala.Block block, Vala.Statement stmt);
public virtual bool is_accessible (Vala.Symbol sym);
public virtual bool is_constant ();
public virtual bool is_non_null ();
public abstract bool is_pure ();
public Vala.DataType? formal_target_type { get; set; }
public Vala.DataType? formal_value_type { get; set; }
public bool lvalue { get; set; }
public Vala.Statement? parent_statement { get; }
public Vala.Symbol symbol_reference { get; set; }
public Vala.DataType target_type { get; set; }
public Vala.TargetValue? target_value { get; set; }
public Vala.DataType value_type { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class ExpressionStatement : Vala.CodeNode, Vala.Statement {
public ExpressionStatement (Vala.Expression expression, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public Vala.Expression expression { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Field : Vala.Variable, Vala.Lockable {
public Field (string name, Vala.DataType variable_type, Vala.Expression? initializer, Vala.SourceReference? source_reference = null, Vala.Comment? comment = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public Vala.MemberBinding binding { get; set; }
public bool is_volatile { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class FieldPrototype : Vala.DataType {
public FieldPrototype (Vala.Field field_symbol);
public override Vala.DataType copy ();
public override string to_qualified_string (Vala.Scope? scope);
public Vala.Field field_symbol { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class FloatingType : Vala.ValueType {
public FloatingType (Vala.Struct type_symbol);
public override Vala.DataType copy ();
}
[CCode (cheader_filename = "vala.h")]
public class FlowAnalyzer : Vala.CodeVisitor {
public FlowAnalyzer ();
public void analyze (Vala.CodeContext context);
public override void visit_block (Vala.Block b);
public override void visit_break_statement (Vala.BreakStatement stmt);
public override void visit_class (Vala.Class cl);
public override void visit_continue_statement (Vala.ContinueStatement stmt);
public override void visit_creation_method (Vala.CreationMethod m);
public override void visit_declaration_statement (Vala.DeclarationStatement stmt);
public override void visit_enum (Vala.Enum en);
public override void visit_error_domain (Vala.ErrorDomain ed);
public override void visit_expression (Vala.Expression expr);
public override void visit_expression_statement (Vala.ExpressionStatement stmt);
public override void visit_field (Vala.Field f);
public override void visit_foreach_statement (Vala.ForeachStatement stmt);
public override void visit_if_statement (Vala.IfStatement stmt);
public override void visit_interface (Vala.Interface iface);
public override void visit_lambda_expression (Vala.LambdaExpression le);
public override void visit_local_variable (Vala.LocalVariable local);
public override void visit_lock_statement (Vala.LockStatement stmt);
public override void visit_loop (Vala.Loop stmt);
public override void visit_method (Vala.Method m);
public override void visit_property (Vala.Property prop);
public override void visit_property_accessor (Vala.PropertyAccessor acc);
public override void visit_return_statement (Vala.ReturnStatement stmt);
public override void visit_signal (Vala.Signal sig);
public override void visit_source_file (Vala.SourceFile source_file);
public override void visit_struct (Vala.Struct st);
public override void visit_switch_statement (Vala.SwitchStatement stmt);
public override void visit_throw_statement (Vala.ThrowStatement stmt);
public override void visit_try_statement (Vala.TryStatement stmt);
public override void visit_unlock_statement (Vala.UnlockStatement stmt);
public override void visit_yield_statement (Vala.YieldStatement stmt);
}
[CCode (cheader_filename = "vala.h")]
public class ForStatement : Vala.CodeNode, Vala.Statement {
public ForStatement (Vala.Expression? condition, Vala.Block body, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public void add_initializer (Vala.Expression init);
public void add_iterator (Vala.Expression iter);
public override bool check (Vala.CodeContext context);
public Vala.List<Vala.Expression> get_initializer ();
public Vala.List<Vala.Expression> get_iterator ();
public Vala.Block body { get; set; }
public Vala.Expression? condition { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class ForeachStatement : Vala.Block {
public ForeachStatement (Vala.DataType? type_reference, string variable_name, Vala.Expression collection, Vala.Block body, Vala.SourceReference source_reference);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public Vala.Block body { get; set; }
public Vala.Expression collection { get; set; }
public Vala.LocalVariable collection_variable { get; set; }
public Vala.LocalVariable element_variable { get; set; }
public Vala.LocalVariable iterator_variable { get; set; }
public Vala.DataType? type_reference { get; set; }
public bool use_iterator { get; private set; }
public string variable_name { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class GenericType : Vala.DataType {
public GenericType (Vala.TypeParameter type_parameter);
public override Vala.DataType copy ();
public override Vala.Symbol? get_member (string member_name);
public override Vala.DataType? infer_type_argument (Vala.TypeParameter type_param, Vala.DataType value_type);
public override string to_qualified_string (Vala.Scope? scope = null);
public Vala.TypeParameter type_parameter { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class GirComment : Vala.Comment {
public GirComment (string? comment, Vala.SourceReference _source_reference);
public Vala.Comment? get_content_for_parameter (string name);
public Vala.MapIterator<string,Vala.Comment> parameter_iterator ();
public Vala.Comment? return_content { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class GirParser : Vala.CodeVisitor {
public GirParser ();
public void parse (Vala.CodeContext context);
public void parse_file (Vala.SourceFile source_file);
public override void visit_source_file (Vala.SourceFile source_file);
}
[CCode (cheader_filename = "vala.h")]
public class IfStatement : Vala.CodeNode, Vala.Statement {
public IfStatement (Vala.Expression cond, Vala.Block true_stmt, Vala.Block? false_stmt, Vala.SourceReference? source);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public Vala.Expression condition { get; set; }
public Vala.Block? false_statement { get; set; }
public Vala.Block true_statement { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class InitializerList : Vala.Expression {
public InitializerList (Vala.SourceReference source_reference);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public void append (Vala.Expression expr);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public Vala.List<Vala.Expression> get_initializers ();
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override bool is_accessible (Vala.Symbol sym);
public override bool is_constant ();
public override bool is_pure ();
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public int size { get; }
}
[CCode (cheader_filename = "vala.h")]
public class IntegerLiteral : Vala.Literal {
public IntegerLiteral (string i, Vala.SourceReference? source = null);
public override void accept (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override bool is_pure ();
public override string to_string ();
public string type_suffix { get; set; }
public string value { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class IntegerType : Vala.ValueType {
public IntegerType (Vala.Struct type_symbol, string? literal_value = null, string? literal_type_name = null);
public override bool compatible (Vala.DataType target_type);
public override Vala.DataType copy ();
}
[CCode (cheader_filename = "vala.h")]
public class Interface : Vala.ObjectTypeSymbol {
public Interface (string name, Vala.SourceReference? source_reference = null, Vala.Comment? comment = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override void add_method (Vala.Method m);
public void add_prerequisite (Vala.DataType type);
public override void add_property (Vala.Property prop);
public override bool check (Vala.CodeContext context);
public Vala.List<Vala.DataType> get_prerequisites ();
public virtual Vala.List<Vala.Symbol> get_virtuals ();
public override bool is_reference_type ();
public override bool is_subtype_of (Vala.TypeSymbol t);
public void prepend_prerequisite (Vala.DataType type);
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
}
[CCode (cheader_filename = "vala.h")]
public class InterfaceType : Vala.ReferenceType {
public InterfaceType (Vala.Interface interface_symbol);
public override Vala.DataType copy ();
public Vala.Interface interface_symbol { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class InvalidType : Vala.DataType {
public InvalidType ();
public override Vala.DataType copy ();
}
[CCode (cheader_filename = "vala.h")]
public class LambdaExpression : Vala.Expression {
public LambdaExpression (Vala.Expression expression_body, Vala.SourceReference source_reference);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public void add_parameter (Vala.Parameter param);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public Vala.List<Vala.Parameter> get_parameters ();
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override bool is_pure ();
public LambdaExpression.with_statement_body (Vala.Block statement_body, Vala.SourceReference source_reference);
public Vala.Expression expression_body { get; set; }
public Vala.Method method { get; set; }
public Vala.Block statement_body { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public abstract class Literal : Vala.Expression {
public Literal ();
public override bool is_constant ();
public override bool is_pure ();
}
[CCode (cheader_filename = "vala.h")]
public class LocalVariable : Vala.Variable {
public LocalVariable (Vala.DataType? variable_type, string name, Vala.Expression? initializer = null, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public bool captured { get; set; }
public bool init { get; set; }
public bool is_result { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class LockStatement : Vala.CodeNode, Vala.Statement {
public LockStatement (Vala.Expression resource, Vala.Block? body, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public Vala.Block? body { get; set; }
public Vala.Expression resource { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Loop : Vala.CodeNode, Vala.Statement {
public Loop (Vala.Block body, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public Vala.Block body { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class MarkupReader {
public MarkupReader (string filename);
public MarkupReader.from_string (string filename, string content);
public string? get_attribute (string attr);
public Vala.Map<string,string> get_attributes ();
public Vala.MarkupTokenType read_token (out Vala.SourceLocation token_begin, out Vala.SourceLocation token_end);
public string content { get; private set; }
public string filename { get; private set; }
public string name { get; private set; }
}
[CCode (cheader_filename = "vala.h")]
public class MemberAccess : Vala.Expression {
public MemberAccess (Vala.Expression? inner, string member_name, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public void add_type_argument (Vala.DataType arg);
public override bool check (Vala.CodeContext context);
public void check_lvalue_access ();
public override void emit (Vala.CodeGenerator codegen);
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public Vala.List<Vala.DataType> get_type_arguments ();
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override bool is_accessible (Vala.Symbol sym);
public override bool is_constant ();
public override bool is_non_null ();
public override bool is_pure ();
public MemberAccess.pointer (Vala.Expression inner, string member_name, Vala.SourceReference? source_reference = null);
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public MemberAccess.simple (string member_name, Vala.SourceReference? source_reference = null);
public override string to_string ();
public bool creation_member { get; set; }
public Vala.Expression? inner { get; set; }
public string member_name { get; set; }
public bool pointer_member_access { get; set; }
public bool prototype_access { get; set; }
public bool qualified { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class MemberInitializer : Vala.CodeNode {
public MemberInitializer (string name, Vala.Expression initializer, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public Vala.Expression initializer { get; set; }
public string name { get; set; }
public Vala.Symbol symbol_reference { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Method : Vala.Subroutine, Vala.Callable {
public Method (string? name, Vala.DataType return_type, Vala.SourceReference? source_reference = null, Vala.Comment? comment = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public void add_captured_variable (Vala.LocalVariable local);
public void add_postcondition (Vala.Expression postcondition);
public void add_precondition (Vala.Expression precondition);
public void add_type_parameter (Vala.TypeParameter p);
public override bool check (Vala.CodeContext context);
public void clear_parameters ();
public bool compatible (Vala.Method base_method, out string? invalid_match);
public Vala.List<Vala.Parameter> get_async_begin_parameters ();
public Vala.List<Vala.Parameter> get_async_end_parameters ();
public Vala.Method get_callback_method ();
public void get_captured_variables (Vala.Collection<Vala.LocalVariable> variables);
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public Vala.Method get_end_method ();
public int get_format_arg_index ();
public Vala.List<Vala.Expression> get_postconditions ();
public Vala.List<Vala.Expression> get_preconditions ();
public int get_required_arguments ();
public int get_type_parameter_index (string name);
public Vala.List<Vala.TypeParameter> get_type_parameters ();
public bool has_error_type_parameter ();
public bool is_variadic ();
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public Vala.Method base_interface_method { get; }
public Vala.DataType base_interface_type { get; set; }
public Vala.Method base_method { get; }
public Vala.MemberBinding binding { get; set; }
public bool closure { get; set; }
public bool coroutine { get; set; }
public bool entry_point { get; private set; }
public bool has_construct_function { get; set; }
public override bool has_result { get; }
public bool is_abstract { get; set; }
public bool is_async_callback { get; set; }
public bool is_inline { get; set; }
public bool is_virtual { get; set; }
public bool overrides { get; set; }
public bool printf_format { get; set; }
public bool returns_floating_reference { get; set; }
public bool returns_modified_pointer { get; set; }
public bool scanf_format { get; set; }
public Vala.Signal signal_reference { get; set; }
public Vala.Parameter this_parameter { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class MethodCall : Vala.Expression {
public MethodCall (Vala.Expression call, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public void add_argument (Vala.Expression arg);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public Vala.List<Vala.Expression> get_argument_list ();
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public Vala.StringLiteral? get_format_literal ();
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override bool is_accessible (Vala.Symbol sym);
public override bool is_constant ();
public override bool is_pure ();
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public Vala.Expression call { get; set; }
public bool is_assert { get; private set; }
public bool is_chainup { get; private set; }
public bool is_constructv_chainup { get; private set; }
public bool is_yield_expression { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class MethodType : Vala.CallableType {
public MethodType (Vala.Method method_symbol);
public override bool compatible (Vala.DataType target_type);
public override Vala.DataType copy ();
public override Vala.Symbol? get_member (string member_name);
public override Vala.List<Vala.Parameter>? get_parameters ();
public override Vala.DataType? get_return_type ();
public override bool is_invokable ();
public override string to_qualified_string (Vala.Scope? scope);
public Vala.Method method_symbol { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class NamedArgument : Vala.Expression {
public NamedArgument (string name, Vala.Expression inner, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override bool is_pure ();
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public Vala.Expression inner { get; set; }
public string name { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Namespace : Vala.Symbol {
public Namespace (string? name, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override void add_class (Vala.Class cl);
public void add_comment (Vala.Comment comment);
public override void add_constant (Vala.Constant constant);
public override void add_delegate (Vala.Delegate d);
public override void add_enum (Vala.Enum en);
public override void add_error_domain (Vala.ErrorDomain edomain);
public override void add_field (Vala.Field f);
public override void add_interface (Vala.Interface iface);
public override void add_method (Vala.Method m);
public override void add_namespace (Vala.Namespace ns);
public override void add_struct (Vala.Struct st);
public void add_using_directive (Vala.UsingDirective ns);
public override bool check (Vala.CodeContext context);
public Vala.List<Vala.Class> get_classes ();
public Vala.List<Vala.Comment> get_comments ();
public Vala.List<Vala.Constant> get_constants ();
public Vala.List<Vala.Delegate> get_delegates ();
public Vala.List<Vala.Enum> get_enums ();
public Vala.List<Vala.ErrorDomain> get_error_domains ();
public Vala.List<Vala.Field> get_fields ();
public Vala.List<Vala.Interface> get_interfaces ();
public Vala.List<Vala.Method> get_methods ();
public Vala.List<Vala.Namespace> get_namespaces ();
public Vala.List<Vala.Struct> get_structs ();
public void remove_struct (Vala.Struct st);
}
[CCode (cheader_filename = "vala.h")]
public class NullLiteral : Vala.Literal {
public NullLiteral (Vala.SourceReference? source = null);
public override void accept (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override bool is_pure ();
public override string to_string ();
}
[CCode (cheader_filename = "vala.h")]
public class NullType : Vala.ReferenceType {
public NullType (Vala.SourceReference? source_reference);
public override bool compatible (Vala.DataType target_type);
public override Vala.DataType copy ();
public override bool is_disposable ();
public override string to_qualified_string (Vala.Scope? scope = null);
}
[CCode (cheader_filename = "vala.h")]
public class ObjectCreationExpression : Vala.Expression {
public ObjectCreationExpression (Vala.MemberAccess member_name, Vala.SourceReference source_reference);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public void add_argument (Vala.Expression arg);
public void add_member_initializer (Vala.MemberInitializer init);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public Vala.List<Vala.Expression> get_argument_list ();
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public Vala.List<Vala.MemberInitializer> get_object_initializer ();
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override bool is_accessible (Vala.Symbol sym);
public override bool is_pure ();
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public bool is_yield_expression { get; set; }
public Vala.MemberAccess member_name { get; set; }
public bool struct_creation { get; set; }
public Vala.DataType type_reference { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class ObjectType : Vala.ReferenceType {
public ObjectType (Vala.ObjectTypeSymbol type_symbol);
public override bool check (Vala.CodeContext context);
public override Vala.DataType copy ();
public override Vala.List<Vala.Parameter>? get_parameters ();
public override Vala.DataType? get_return_type ();
public override bool is_invokable ();
public override bool stricter (Vala.DataType target_type);
public Vala.ObjectTypeSymbol type_symbol { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public abstract class ObjectTypeSymbol : Vala.TypeSymbol {
public ObjectTypeSymbol (string name, Vala.SourceReference? source_reference = null, Vala.Comment? comment = null);
public override void add_class (Vala.Class cl);
public override void add_constant (Vala.Constant c);
public override void add_delegate (Vala.Delegate d);
public override void add_enum (Vala.Enum en);
public override void add_field (Vala.Field f);
public void add_hidden_method (Vala.Method m);
public override void add_method (Vala.Method m);
public override void add_property (Vala.Property prop);
public override void add_signal (Vala.Signal sig);
public override void add_struct (Vala.Struct st);
public void add_type_parameter (Vala.TypeParameter p);
public Vala.List<Vala.Class> get_classes ();
public Vala.List<Vala.Constant> get_constants ();
public Vala.List<Vala.Delegate> get_delegates ();
public Vala.List<Vala.Enum> get_enums ();
public Vala.List<Vala.Field> get_fields ();
public Vala.List<Vala.Symbol> get_members ();
public Vala.List<Vala.Method> get_methods ();
public Vala.List<Vala.Property> get_properties ();
public Vala.List<Vala.Signal> get_signals ();
public Vala.List<Vala.Struct> get_structs ();
public Vala.ObjectType get_this_type ();
public override int get_type_parameter_index (string name);
public Vala.List<Vala.TypeParameter> get_type_parameters ();
}
[CCode (cheader_filename = "vala.h")]
public class Parameter : Vala.Variable {
public Parameter (string name, Vala.DataType? variable_type, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public Vala.Parameter copy ();
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public Parameter.with_ellipsis (Vala.SourceReference? source_reference = null);
public Vala.Parameter base_parameter { get; set; }
public bool captured { get; set; }
public Vala.ParameterDirection direction { get; set; }
public bool ellipsis { get; set; }
public bool format_arg { get; }
public bool params_array { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Parser : Vala.CodeVisitor {
public Parser ();
public void parse (Vala.CodeContext context);
public void parse_file (Vala.SourceFile source_file);
public override void visit_source_file (Vala.SourceFile source_file);
}
[CCode (cheader_filename = "vala.h")]
public class PhiFunction {
public PhiFunction (Vala.Variable variable, int num_of_ops);
public Vala.List<Vala.Variable?> operands { get; private set; }
public Vala.Variable original_variable { get; private set; }
}
[CCode (cheader_filename = "vala.h")]
public class PointerIndirection : Vala.Expression {
public PointerIndirection (Vala.Expression inner, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override bool is_accessible (Vala.Symbol sym);
public override bool is_pure ();
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public Vala.Expression inner { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class PointerType : Vala.DataType {
public PointerType (Vala.DataType base_type, Vala.SourceReference? source_reference = null);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override bool compatible (Vala.DataType target_type);
public override Vala.DataType copy ();
public override Vala.DataType get_actual_type (Vala.DataType? derived_instance_type, Vala.List<Vala.DataType>? method_type_arguments, Vala.CodeNode node_reference);
public override Vala.Symbol? get_member (string member_name);
public override Vala.Symbol? get_pointer_member (string member_name);
public override Vala.DataType? infer_type_argument (Vala.TypeParameter type_param, Vala.DataType value_type);
public override bool is_accessible (Vala.Symbol sym);
public override bool is_disposable ();
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public override string to_qualified_string (Vala.Scope? scope);
public Vala.DataType base_type { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class PostfixExpression : Vala.Expression {
public PostfixExpression (Vala.Expression _inner, bool inc, Vala.SourceReference source);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override bool is_accessible (Vala.Symbol sym);
public override bool is_pure ();
public bool increment { get; set; }
public Vala.Expression inner { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Property : Vala.Symbol, Vala.Lockable {
public Property (string name, Vala.DataType? property_type, Vala.PropertyAccessor? get_accessor, Vala.PropertyAccessor? set_accessor, Vala.SourceReference? source_reference = null, Vala.Comment? comment = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public bool compatible (Vala.Property base_property, out string? invalid_match);
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public Vala.Property base_interface_property { get; }
public Vala.Property base_property { get; }
public Vala.MemberBinding binding { get; set; }
public string blurb { get; }
public Vala.Field field { get; set; }
public Vala.PropertyAccessor? get_accessor { get; set; }
public Vala.Expression initializer { get; set; }
public bool interface_only { get; set; }
public bool is_abstract { get; set; }
public bool is_virtual { get; set; }
public string nick { get; }
public bool notify { get; }
public bool overrides { get; set; }
public Vala.DataType? property_type { get; set; }
public Vala.PropertyAccessor? set_accessor { get; set; }
public Vala.Parameter this_parameter { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class PropertyAccessor : Vala.Subroutine {
public PropertyAccessor (bool readable, bool writable, bool construction, Vala.DataType? value_type, Vala.Block? body, Vala.SourceReference? source_reference, Vala.Comment? comment = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public Vala.Method? get_method ();
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public bool automatic_body { get; private set; }
public bool construction { get; private set; }
public override bool has_result { get; }
public Vala.Property prop { get; }
public bool readable { get; private set; }
public Vala.Parameter value_parameter { get; private set; }
public Vala.DataType? value_type { get; private set; }
public bool writable { get; private set; }
}
[CCode (cheader_filename = "vala.h")]
public class RealLiteral : Vala.Literal {
public RealLiteral (string r, Vala.SourceReference? source = null);
public override void accept (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public string get_type_name ();
public override bool is_pure ();
public override string to_string ();
public string value { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class ReferenceTransferExpression : Vala.Expression {
public ReferenceTransferExpression (Vala.Expression inner, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override bool is_accessible (Vala.Symbol sym);
public override bool is_pure ();
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public Vala.Expression inner { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public abstract class ReferenceType : Vala.DataType {
public ReferenceType ();
}
[CCode (cheader_filename = "vala.h")]
public class RegexLiteral : Vala.Literal {
public RegexLiteral (string value, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override bool is_non_null ();
public override bool is_pure ();
public override string to_string ();
public string value { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Report {
public enum Colored {
AUTO,
NEVER,
ALWAYS
}
protected int errors;
protected int warnings;
public Report ();
public virtual void depr (Vala.SourceReference? source, string message);
public static void deprecated (Vala.SourceReference? source, string message);
public virtual void err (Vala.SourceReference? source, string message);
public static void error (Vala.SourceReference? source, string message);
public static void experimental (Vala.SourceReference? source, string message);
public int get_errors ();
public int get_warnings ();
public virtual void note (Vala.SourceReference? source, string message);
public static void notice (Vala.SourceReference? source, string message);
public bool set_colors (string str, Vala.Report.Colored colored_output = Report.Colored.AUTO);
public void set_verbose_errors (bool verbose);
public virtual void warn (Vala.SourceReference? source, string message);
public static void warning (Vala.SourceReference? source, string message);
public bool enable_warnings { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class ReturnStatement : Vala.CodeNode, Vala.Statement {
public ReturnStatement (Vala.Expression? return_expression = null, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public Vala.Expression? return_expression { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Scanner {
public Scanner (Vala.SourceFile source_file);
public static Vala.TokenType get_identifier_or_keyword (char* begin, int len);
public void parse_file_comments ();
public Vala.Comment? pop_comment ();
public Vala.TokenType read_regex_token (out Vala.SourceLocation token_begin, out Vala.SourceLocation token_end);
public Vala.TokenType read_template_token (out Vala.SourceLocation token_begin, out Vala.SourceLocation token_end);
public Vala.TokenType read_token (out Vala.SourceLocation token_begin, out Vala.SourceLocation token_end);
public void seek (Vala.SourceLocation location);
public Vala.SourceFile source_file { get; private set; }
}
[CCode (cheader_filename = "vala.h")]
public class Scope {
public Scope (Vala.Symbol? owner = null);
public void add (string? name, Vala.Symbol sym);
public Vala.Map<string,Vala.Symbol> get_symbol_table ();
public bool is_subscope_of (Vala.Scope? scope);
public Vala.Symbol? lookup (string name);
public void remove (string name);
public Vala.Symbol owner { get; set; }
public Vala.Scope parent_scope { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class SemanticAnalyzer : Vala.CodeVisitor {
public Vala.DataType bool_type;
public Vala.DataType double_type;
public Vala.DataType garray_type;
public Vala.Class gerror_type;
public Vala.DataType glist_type;
public Vala.DataType gslist_type;
public Vala.Class gsource_type;
public Vala.StructValueType gvalue_type;
public Vala.DataType gvaluearray_type;
public Vala.ObjectType gvariant_type;
public Vala.Block insert_block;
public Vala.DataType int8_type;
public Vala.DataType int_type;
public Vala.DataType list_type;
public Vala.DataType long_type;
public Vala.Class object_type;
public Vala.DataType regex_type;
public Vala.List<Vala.CodeNode> replaced_nodes;
public Vala.DataType short_type;
public Vala.DataType size_t_type;
public Vala.DataType ssize_t_type;
public Vala.DataType string_type;
public Vala.DataType tuple_type;
public Vala.DataType type_type;
public Vala.DataType uchar_type;
public Vala.DataType uint_type;
public Vala.DataType ulong_type;
public Vala.DataType unichar_type;
public Vala.DataType ushort_type;
public Vala.DataType va_list_type;
public Vala.DataType void_type;
public SemanticAnalyzer ();
public void analyze (Vala.CodeContext context);
public bool check_arguments (Vala.Expression expr, Vala.DataType mtype, Vala.List<Vala.Parameter> @params, Vala.List<Vala.Expression> args);
public bool check_print_format (string format, Vala.Iterator<Vala.Expression> arg_it, Vala.SourceReference source_reference);
public bool check_variadic_arguments (Vala.Iterator<Vala.Expression>? arg_it, int i, Vala.SourceReference source_reference);
public static Vala.Expression create_temp_access (Vala.LocalVariable local, Vala.DataType? target_type);
public Vala.Method? find_current_method ();
public Vala.Method? find_parent_method (Vala.Symbol sym);
public Vala.Symbol? find_parent_method_or_property_accessor (Vala.Symbol sym);
public static Vala.DataType get_actual_type (Vala.DataType? derived_instance_type, Vala.List<Vala.DataType>? method_type_arguments, Vala.GenericType generic_type, Vala.CodeNode node_reference);
public Vala.DataType? get_arithmetic_result_type (Vala.DataType left_type, Vala.DataType right_type);
public static Vala.DataType get_data_type_for_symbol (Vala.Symbol sym);
public static Vala.Symbol? get_symbol_for_data_type (Vala.DataType type);
public Vala.DataType? get_value_type_for_symbol (Vala.Symbol sym, bool lvalue);
public bool is_in_constructor ();
public bool is_in_destructor ();
public bool is_in_instance_method ();
public bool is_type_accessible (Vala.Symbol sym, Vala.DataType type);
public static Vala.Symbol? symbol_lookup_inherited (Vala.Symbol sym, string name);
public void visit_member_initializer (Vala.MemberInitializer init, Vala.DataType type);
public override void visit_source_file (Vala.SourceFile file);
public Vala.Method? current_async_method { get; }
public Vala.Class? current_class { get; }
public Vala.Method? current_method { get; }
public Vala.Symbol? current_method_or_property_accessor { get; }
public Vala.PropertyAccessor? current_property_accessor { get; }
public Vala.DataType? current_return_type { get; }
public Vala.SourceFile current_source_file { get; set; }
public Vala.Struct? current_struct { get; }
public Vala.Symbol current_symbol { get; set; }
public Vala.TypeSymbol? current_type_symbol { get; }
}
[CCode (cheader_filename = "vala.h")]
public class Signal : Vala.Symbol, Vala.Lockable, Vala.Callable {
public Signal (string name, Vala.DataType return_type, Vala.SourceReference? source_reference = null, Vala.Comment? comment = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public Vala.Delegate get_delegate (Vala.DataType sender_type, Vala.CodeNode node_reference);
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public Vala.Block body { get; set; }
public Vala.Method default_handler { get; private set; }
public Vala.Method emitter { get; private set; }
public bool is_virtual { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class SignalType : Vala.CallableType {
public SignalType (Vala.Signal signal_symbol);
public override bool compatible (Vala.DataType target_type);
public override Vala.DataType copy ();
public Vala.DelegateType get_handler_type ();
public override Vala.Symbol? get_member (string member_name);
public override Vala.List<Vala.Parameter>? get_parameters ();
public override Vala.DataType? get_return_type ();
public override bool is_accessible (Vala.Symbol sym);
public override bool is_invokable ();
public override string to_qualified_string (Vala.Scope? scope);
public Vala.Signal signal_symbol { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class SizeofExpression : Vala.Expression {
public SizeofExpression (Vala.DataType type, Vala.SourceReference source);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override bool is_constant ();
public override bool is_pure ();
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public Vala.DataType type_reference { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class SliceExpression : Vala.Expression {
public SliceExpression (Vala.Expression container, Vala.Expression start, Vala.Expression stop, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override bool is_accessible (Vala.Symbol sym);
public override bool is_pure ();
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public Vala.Expression container { get; set; }
public Vala.Expression start { get; private set; }
public Vala.Expression stop { get; private set; }
}
[CCode (cheader_filename = "vala.h")]
public class SourceFile {
public SourceFile (Vala.CodeContext context, Vala.SourceFileType type, string filename, string? content = null, bool cmdline = false);
public void accept (Vala.CodeVisitor visitor);
public void accept_children (Vala.CodeVisitor visitor);
public void add_comment (Vala.Comment comment);
public void add_node (Vala.CodeNode node);
public void add_using_directive (Vala.UsingDirective ns);
public bool check (Vala.CodeContext context);
public string get_cinclude_filename ();
public Vala.List<Vala.Comment> get_comments ();
public string get_csource_filename ();
public char* get_mapped_contents ();
public size_t get_mapped_length ();
public Vala.List<Vala.CodeNode> get_nodes ();
public string get_relative_filename ();
public string? get_source_line (int lineno);
public void remove_node (Vala.CodeNode node);
public string? content { get; set; }
public Vala.CodeContext context { get; set; }
public Vala.List<Vala.UsingDirective> current_using_directives { get; set; }
public bool explicit { get; set; }
public Vala.SourceFileType file_type { get; set; }
public string filename { get; set; }
public bool from_commandline { get; set; }
public string gir_namespace { get; set; }
public string gir_version { get; set; }
public string? installed_version { get; set; }
public string? package_name { get; set; }
public string? relative_filename { set; }
public bool used { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class SourceReference {
public SourceReference (Vala.SourceFile _file, Vala.SourceLocation begin, Vala.SourceLocation end);
public string to_string ();
public Vala.SourceLocation begin { get; set; }
public Vala.SourceLocation end { get; set; }
public Vala.SourceFile file { get; set; }
public Vala.List<Vala.UsingDirective> using_directives { get; private set; }
}
[CCode (cheader_filename = "vala.h")]
public class StatementList : Vala.CodeNode, Vala.Statement {
public StatementList (Vala.SourceReference source_reference);
public override void accept (Vala.CodeVisitor visitor);
public void add (Vala.Statement stmt);
public override void emit (Vala.CodeGenerator codegen);
public Vala.Statement @get (int index);
public void insert (int index, Vala.Statement stmt);
public void @set (int index, Vala.Statement stmt);
public int length { get; }
}
[CCode (cheader_filename = "vala.h")]
public class StringLiteral : Vala.Literal {
public StringLiteral (string value, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public string? eval ();
public static Vala.StringLiteral? get_format_literal (Vala.Expression expr);
public override bool is_non_null ();
public override bool is_pure ();
public override string to_string ();
public bool translate { get; set; }
public string value { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Struct : Vala.TypeSymbol {
public Struct (string name, Vala.SourceReference? source_reference = null, Vala.Comment? comment = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override void add_constant (Vala.Constant c);
public override void add_field (Vala.Field f);
public override void add_method (Vala.Method m);
public override void add_property (Vala.Property prop);
public void add_type_parameter (Vala.TypeParameter p);
public override bool check (Vala.CodeContext context);
public Vala.List<Vala.Constant> get_constants ();
public Vala.List<Vala.Field> get_fields ();
public Vala.List<Vala.Method> get_methods ();
public Vala.List<Vala.Property> get_properties ();
public int get_rank ();
public override int get_type_parameter_index (string name);
public Vala.List<Vala.TypeParameter> get_type_parameters ();
public bool is_boolean_type ();
public bool is_decimal_floating_type ();
public bool is_disposable ();
public bool is_floating_type ();
public bool is_integer_type ();
public bool is_simple_type ();
public override bool is_subtype_of (Vala.TypeSymbol t);
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public void set_rank (int rank);
public void set_simple_type (bool simple_type);
public Vala.Struct? base_struct { get; }
public Vala.DataType? base_type { get; set; }
public Vala.Method default_construction_method { get; set; }
public bool is_immutable { get; set; }
public bool signed { get; set; }
public int width { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class StructValueType : Vala.ValueType {
public StructValueType (Vala.Struct type_symbol);
public override Vala.DataType copy ();
public override Vala.List<Vala.Parameter>? get_parameters ();
public override Vala.DataType? get_return_type ();
public override bool is_invokable ();
}
[CCode (cheader_filename = "vala.h")]
public abstract class Subroutine : Vala.Symbol {
protected Subroutine (string? name, Vala.SourceReference? source_reference, Vala.Comment? comment = null);
public Vala.Block body { get; set; }
public Vala.BasicBlock entry_block { get; set; }
public Vala.BasicBlock exit_block { get; set; }
public abstract bool has_result { get; }
public Vala.LocalVariable result_var { get; set; }
public Vala.BasicBlock return_block { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class SwitchLabel : Vala.CodeNode {
public SwitchLabel (Vala.Expression expr, Vala.SourceReference? source = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public SwitchLabel.with_default (Vala.SourceReference? source = null);
public Vala.Expression expression { get; set; }
public Vala.SwitchSection section { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class SwitchSection : Vala.Block {
public SwitchSection (Vala.SourceReference? source_reference);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public void add_label (Vala.SwitchLabel label);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public Vala.List<Vala.SwitchLabel> get_labels ();
public bool has_default_label ();
}
[CCode (cheader_filename = "vala.h")]
public class SwitchStatement : Vala.CodeNode, Vala.Statement {
public SwitchStatement (Vala.Expression expression, Vala.SourceReference? source_reference);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public void add_section (Vala.SwitchSection section);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public Vala.List<Vala.SwitchSection> get_sections ();
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public Vala.Expression expression { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public abstract class Symbol : Vala.CodeNode {
public Symbol (string? name, Vala.SourceReference? source_reference, Vala.Comment? comment = null);
public virtual void add_class (Vala.Class cl);
public virtual void add_constant (Vala.Constant constant);
public virtual void add_constructor (Vala.Constructor c);
public virtual void add_delegate (Vala.Delegate d);
public virtual void add_destructor (Vala.Destructor d);
public virtual void add_enum (Vala.Enum en);
public virtual void add_error_domain (Vala.ErrorDomain edomain);
public virtual void add_field (Vala.Field f);
public virtual void add_interface (Vala.Interface iface);
public virtual void add_method (Vala.Method m);
public virtual void add_namespace (Vala.Namespace ns);
public virtual void add_property (Vala.Property prop);
public virtual void add_signal (Vala.Signal sig);
public virtual void add_struct (Vala.Struct st);
public static string camel_case_to_lower_case (string camel_case);
public string get_full_name ();
public Vala.Symbol? get_hidden_member ();
public Vala.Scope? get_top_accessible_scope (bool is_internal = false);
public bool is_accessible (Vala.Symbol sym);
public virtual bool is_class_member ();
public virtual bool is_instance_member ();
public bool is_internal_symbol ();
public bool is_private_symbol ();
public static string lower_case_to_camel_case (string lower_case);
public Vala.SymbolAccessibility access { get; set; }
public bool active { get; set; }
public Vala.Comment? comment { get; set; }
public bool external { get; set; }
public bool external_package { get; }
public bool from_commandline { get; }
public bool hides { get; set; }
public string? name { get; set; }
public Vala.Scope owner { get; set; }
public Vala.Symbol? parent_symbol { get; }
public Vala.Scope scope { get; }
public Vala.SourceFileType source_type { get; }
public bool used { get; set; }
public Vala.VersionAttribute version { get; }
}
[CCode (cheader_filename = "vala.h")]
public class SymbolResolver : Vala.CodeVisitor {
public SymbolResolver ();
public void resolve (Vala.CodeContext context);
public override void visit_addressof_expression (Vala.AddressofExpression expr);
public override void visit_array_creation_expression (Vala.ArrayCreationExpression e);
public override void visit_assignment (Vala.Assignment a);
public override void visit_binary_expression (Vala.BinaryExpression expr);
public override void visit_block (Vala.Block b);
public override void visit_cast_expression (Vala.CastExpression expr);
public override void visit_catch_clause (Vala.CatchClause clause);
public override void visit_class (Vala.Class cl);
public override void visit_conditional_expression (Vala.ConditionalExpression expr);
public override void visit_constant (Vala.Constant c);
public override void visit_constructor (Vala.Constructor c);
public override void visit_creation_method (Vala.CreationMethod m);
public override void visit_data_type (Vala.DataType data_type);
public override void visit_declaration_statement (Vala.DeclarationStatement stmt);
public override void visit_delegate (Vala.Delegate cb);
public override void visit_delete_statement (Vala.DeleteStatement stmt);
public override void visit_destructor (Vala.Destructor d);
public override void visit_do_statement (Vala.DoStatement stmt);
public override void visit_element_access (Vala.ElementAccess expr);
public override void visit_enum (Vala.Enum en);
public override void visit_error_domain (Vala.ErrorDomain ed);
public override void visit_expression_statement (Vala.ExpressionStatement stmt);
public override void visit_field (Vala.Field f);
public override void visit_for_statement (Vala.ForStatement stmt);
public override void visit_foreach_statement (Vala.ForeachStatement stmt);
public override void visit_formal_parameter (Vala.Parameter p);
public override void visit_if_statement (Vala.IfStatement stmt);
public override void visit_initializer_list (Vala.InitializerList list);
public override void visit_interface (Vala.Interface iface);
public override void visit_lambda_expression (Vala.LambdaExpression l);
public override void visit_local_variable (Vala.LocalVariable local);
public override void visit_loop (Vala.Loop stmt);
public override void visit_member_access (Vala.MemberAccess expr);
public override void visit_method (Vala.Method m);
public override void visit_method_call (Vala.MethodCall expr);
public override void visit_named_argument (Vala.NamedArgument expr);
public override void visit_namespace (Vala.Namespace ns);
public override void visit_object_creation_expression (Vala.ObjectCreationExpression expr);
public override void visit_postfix_expression (Vala.PostfixExpression expr);
public override void visit_property (Vala.Property prop);
public override void visit_property_accessor (Vala.PropertyAccessor acc);
public override void visit_reference_transfer_expression (Vala.ReferenceTransferExpression expr);
public override void visit_return_statement (Vala.ReturnStatement stmt);
public override void visit_signal (Vala.Signal sig);
public override void visit_sizeof_expression (Vala.SizeofExpression expr);
public override void visit_slice_expression (Vala.SliceExpression expr);
public override void visit_struct (Vala.Struct st);
public override void visit_switch_label (Vala.SwitchLabel label);
public override void visit_switch_section (Vala.SwitchSection section);
public override void visit_switch_statement (Vala.SwitchStatement stmt);
public override void visit_template (Vala.Template tmpl);
public override void visit_throw_statement (Vala.ThrowStatement stmt);
public override void visit_try_statement (Vala.TryStatement stmt);
public override void visit_tuple (Vala.Tuple tuple);
public override void visit_type_check (Vala.TypeCheck expr);
public override void visit_typeof_expression (Vala.TypeofExpression expr);
public override void visit_unary_expression (Vala.UnaryExpression expr);
public override void visit_using_directive (Vala.UsingDirective ns);
public override void visit_while_statement (Vala.WhileStatement stmt);
public override void visit_yield_statement (Vala.YieldStatement stmt);
}
[CCode (cheader_filename = "vala.h")]
public abstract class TargetValue {
protected TargetValue (Vala.DataType? value_type);
public Vala.DataType? actual_value_type { get; set; }
public Vala.DataType? value_type { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Template : Vala.Expression {
public Template (Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public void add_expression (Vala.Expression expr);
public override bool check (Vala.CodeContext context);
public Vala.List<Vala.Expression> get_expressions ();
public override bool is_pure ();
}
[CCode (cheader_filename = "vala.h")]
public class ThrowStatement : Vala.CodeNode, Vala.Statement {
public ThrowStatement (Vala.Expression error_expression, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public Vala.Expression error_expression { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class TryStatement : Vala.CodeNode, Vala.Statement {
public TryStatement (Vala.Block body, Vala.Block? finally_body, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public void add_catch_clause (Vala.CatchClause clause);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public Vala.List<Vala.CatchClause> get_catch_clauses ();
public bool after_try_block_reachable { get; set; }
public Vala.Block body { get; set; }
public Vala.Block? finally_body { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Tuple : Vala.Expression {
public Tuple (Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public void add_expression (Vala.Expression expr);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public Vala.List<Vala.Expression> get_expressions ();
public override bool is_pure ();
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
}
[CCode (cheader_filename = "vala.h")]
public class TypeCheck : Vala.Expression {
public TypeCheck (Vala.Expression expr, Vala.DataType type, Vala.SourceReference source);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override bool is_pure ();
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public Vala.Expression expression { get; set; }
public Vala.DataType type_reference { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class TypeParameter : Vala.Symbol {
public TypeParameter (string name, Vala.SourceReference source_reference);
public override void accept (Vala.CodeVisitor visitor);
public bool equals (Vala.TypeParameter param2);
}
[CCode (cheader_filename = "vala.h")]
public abstract class TypeSymbol : Vala.Symbol {
public TypeSymbol (string? name, Vala.SourceReference? source_reference = null, Vala.Comment? comment = null);
public virtual int get_type_parameter_index (string name);
public virtual bool is_reference_type ();
public virtual bool is_subtype_of (Vala.TypeSymbol t);
}
[CCode (cheader_filename = "vala.h")]
public class TypeofExpression : Vala.Expression {
public TypeofExpression (Vala.DataType type, Vala.SourceReference source);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override bool is_pure ();
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public Vala.DataType type_reference { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class UnaryExpression : Vala.Expression {
public UnaryExpression (Vala.UnaryOperator op, Vala.Expression _inner, Vala.SourceReference source);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override void get_defined_variables (Vala.Collection<Vala.Variable> collection);
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
public override bool is_accessible (Vala.Symbol sym);
public override bool is_constant ();
public override bool is_pure ();
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public override string to_string ();
public Vala.Expression inner { get; set; }
public Vala.UnaryOperator operator { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class UnlockStatement : Vala.CodeNode, Vala.Statement {
public UnlockStatement (Vala.Expression resource, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public Vala.Expression resource { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class UnresolvedSymbol : Vala.Symbol {
public UnresolvedSymbol (Vala.UnresolvedSymbol? inner, string name, Vala.SourceReference? source_reference = null);
public Vala.UnresolvedSymbol copy ();
public static Vala.UnresolvedSymbol? new_from_expression (Vala.Expression expr);
public override string to_string ();
public Vala.UnresolvedSymbol? inner { get; set; }
public bool qualified { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class UnresolvedType : Vala.DataType {
public UnresolvedType ();
public override Vala.DataType copy ();
public UnresolvedType.from_symbol (Vala.UnresolvedSymbol symbol, Vala.SourceReference? source = null);
public override bool is_disposable ();
public static Vala.UnresolvedType? new_from_expression (Vala.Expression expr);
public override string to_qualified_string (Vala.Scope? scope);
public Vala.UnresolvedSymbol unresolved_symbol { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class UsedAttr : Vala.CodeVisitor {
public Vala.Map<string,Vala.Set<string>> marked;
public UsedAttr ();
public void check_unused (Vala.CodeContext context);
public void mark (string attribute, string? argument);
public override void visit_class (Vala.Class cl);
public override void visit_constant (Vala.Constant c);
public override void visit_creation_method (Vala.CreationMethod m);
public override void visit_delegate (Vala.Delegate cb);
public override void visit_enum (Vala.Enum en);
public override void visit_error_domain (Vala.ErrorDomain ed);
public override void visit_field (Vala.Field f);
public override void visit_formal_parameter (Vala.Parameter p);
public override void visit_interface (Vala.Interface iface);
public override void visit_method (Vala.Method m);
public override void visit_namespace (Vala.Namespace ns);
public override void visit_property (Vala.Property prop);
public override void visit_signal (Vala.Signal sig);
public override void visit_struct (Vala.Struct st);
}
[CCode (cheader_filename = "vala.h")]
public class UsingDirective : Vala.CodeNode {
public UsingDirective (Vala.Symbol namespace_symbol, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public Vala.Symbol namespace_symbol { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public abstract class ValueType : Vala.DataType {
public ValueType (Vala.TypeSymbol type_symbol);
public override bool check (Vala.CodeContext context);
public override bool is_disposable ();
public Vala.TypeSymbol type_symbol { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class Variable : Vala.Symbol {
public Variable (Vala.DataType? variable_type, string? name, Vala.Expression? initializer = null, Vala.SourceReference? source_reference = null, Vala.Comment? comment = null);
public Vala.Expression? initializer { get; set; }
public bool single_assignment { get; set; }
public Vala.DataType? variable_type { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class VersionAttribute {
public VersionAttribute (Vala.Symbol symbol);
public bool check (Vala.SourceReference? source_ref = null);
public static int cmp_versions (string v1str, string v2str);
public bool deprecated { get; set; }
public string? deprecated_since { owned get; set; }
public bool experimental { get; set; }
public string? experimental_until { owned get; set; }
public string? replacement { owned get; set; }
public string? since { owned get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class VoidType : Vala.DataType {
public VoidType (Vala.SourceReference? source_reference = null);
public override Vala.DataType copy ();
public override bool stricter (Vala.DataType type2);
public override string to_qualified_string (Vala.Scope? scope);
}
[CCode (cheader_filename = "vala.h")]
public class WhileStatement : Vala.CodeNode, Vala.Statement {
public WhileStatement (Vala.Expression condition, Vala.Block body, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public Vala.Block body { get; set; }
public Vala.Expression condition { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class YieldStatement : Vala.CodeNode, Vala.Statement {
public YieldStatement (Vala.Expression? yield_expression, Vala.SourceReference? source_reference = null);
public override void accept (Vala.CodeVisitor visitor);
public override void accept_children (Vala.CodeVisitor visitor);
public override bool check (Vala.CodeContext context);
public override void emit (Vala.CodeGenerator codegen);
public override void replace_expression (Vala.Expression old_node, Vala.Expression new_node);
public Vala.Expression? yield_expression { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public interface Callable : Vala.CodeNode {
public abstract void add_parameter (Vala.Parameter param);
public abstract Vala.List<Vala.Parameter> get_parameters ();
public abstract Vala.DataType return_type { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public interface Lockable {
public abstract bool get_lock_used ();
public abstract void set_lock_used (bool used);
}
[CCode (cheader_filename = "vala.h")]
public interface Statement : Vala.CodeNode {
}
[CCode (cheader_filename = "vala.h")]
public struct SourceLocation {
public char* pos;
public int line;
public int column;
public SourceLocation (char* _pos, int _line, int _column);
}
[CCode (cheader_filename = "vala.h")]
public enum AssignmentOperator {
NONE,
SIMPLE,
BITWISE_OR,
BITWISE_AND,
BITWISE_XOR,
ADD,
SUB,
MUL,
DIV,
PERCENT,
SHIFT_LEFT,
SHIFT_RIGHT
}
[CCode (cheader_filename = "vala.h")]
public enum BinaryOperator {
NONE,
PLUS,
MINUS,
MUL,
DIV,
MOD,
SHIFT_LEFT,
SHIFT_RIGHT,
LESS_THAN,
GREATER_THAN,
LESS_THAN_OR_EQUAL,
GREATER_THAN_OR_EQUAL,
EQUALITY,
INEQUALITY,
BITWISE_AND,
BITWISE_OR,
BITWISE_XOR,
AND,
OR,
IN,
COALESCE
}
[CCode (cheader_filename = "vala.h")]
public enum CodeWriterType {
EXTERNAL,
INTERNAL,
FAST,
DUMP
}
[CCode (cheader_filename = "vala.h")]
public enum MarkupTokenType {
NONE,
START_ELEMENT,
END_ELEMENT,
TEXT,
EOF;
public unowned string to_string ();
}
[CCode (cheader_filename = "vala.h")]
public enum MemberBinding {
INSTANCE,
CLASS,
STATIC
}
[CCode (cheader_filename = "vala.h")]
public enum ParameterDirection {
IN,
OUT,
REF
}
[CCode (cheader_filename = "vala.h")]
public enum Profile {
GOBJECT
}
[CCode (cheader_filename = "vala.h")]
public enum SourceFileType {
NONE,
SOURCE,
PACKAGE,
FAST
}
[CCode (cheader_filename = "vala.h")]
public enum SymbolAccessibility {
PRIVATE,
INTERNAL,
PROTECTED,
PUBLIC
}
[CCode (cheader_filename = "vala.h")]
public enum TokenType {
NONE,
ABSTRACT,
AS,
ASSIGN,
ASSIGN_ADD,
ASSIGN_BITWISE_AND,
ASSIGN_BITWISE_OR,
ASSIGN_BITWISE_XOR,
ASSIGN_DIV,
ASSIGN_MUL,
ASSIGN_PERCENT,
ASSIGN_SHIFT_LEFT,
ASSIGN_SUB,
ASYNC,
BASE,
BITWISE_AND,
BITWISE_OR,
BREAK,
CARRET,
CASE,
CATCH,
CHARACTER_LITERAL,
CLASS,
CLOSE_BRACE,
CLOSE_BRACKET,
CLOSE_PARENS,
CLOSE_REGEX_LITERAL,
CLOSE_TEMPLATE,
COLON,
COMMA,
CONST,
CONSTRUCT,
CONTINUE,
DEFAULT,
DELEGATE,
DELETE,
DIV,
DO,
DOUBLE_COLON,
DOT,
DYNAMIC,
ELLIPSIS,
ELSE,
ENUM,
ENSURES,
ERRORDOMAIN,
EOF,
EXTERN,
FALSE,
FINALLY,
FOR,
FOREACH,
GET,
HASH,
IDENTIFIER,
IF,
IN,
INLINE,
INTEGER_LITERAL,
INTERFACE,
INTERNAL,
INTERR,
IS,
LAMBDA,
LOCK,
MINUS,
NAMESPACE,
NEW,
NULL,
OUT,
OP_AND,
OP_COALESCING,
OP_DEC,
OP_EQ,
OP_GE,
OP_GT,
OP_INC,
OP_LE,
OP_LT,
OP_NE,
OP_NEG,
OP_OR,
OP_PTR,
OP_SHIFT_LEFT,
OPEN_BRACE,
OPEN_BRACKET,
OPEN_PARENS,
OPEN_REGEX_LITERAL,
OPEN_TEMPLATE,
OVERRIDE,
OWNED,
PARAMS,
PERCENT,
PLUS,
PRIVATE,
PROTECTED,
PUBLIC,
REAL_LITERAL,
REF,
REGEX_LITERAL,
REQUIRES,
RETURN,
SEALED,
SEMICOLON,
SET,
SIGNAL,
SIZEOF,
STAR,
STATIC,
STRING_LITERAL,
STRUCT,
SWITCH,
TEMPLATE_STRING_LITERAL,
THIS,
THROW,
THROWS,
TILDE,
TRUE,
TRY,
TYPEOF,
UNOWNED,
USING,
VAR,
VERBATIM_STRING_LITERAL,
VIRTUAL,
VOID,
VOLATILE,
WEAK,
WHILE,
YIELD;
public unowned string to_string ();
}
[CCode (cheader_filename = "vala.h")]
public enum UnaryOperator {
NONE,
PLUS,
MINUS,
LOGICAL_NEGATION,
BITWISE_COMPLEMENT,
INCREMENT,
DECREMENT,
REF,
OUT
}
[CCode (cheader_filename = "vala.h")]
public errordomain ParseError {
FAILED,
SYNTAX
}
}
|