/usr/share/vala-0.18/vapi/libvala-0.18.vapi is in valac-0.18-vapi 0.18.1-0ubuntu11.
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 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 | /* gee.vapi generated by valac-0.18, do not modify. */
namespace Vala {
[CCode (cheader_filename = "valagee.h")]
public class ArrayList<G> : Vala.List<G> {
public ArrayList (GLib.EqualFunc 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 void remove_at (int index);
public override void @set (int index, G item);
public GLib.EqualFunc 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 abstract void clear ();
public abstract bool contains (G item);
public abstract bool remove (G item);
public abstract int size { get; }
}
[CCode (cheader_filename = "valagee.h")]
public class HashMap<K,V> : Vala.Map<K,V> {
public HashMap (GLib.HashFunc key_hash_func = GLib.direct_hash, GLib.EqualFunc key_equal_func = GLib.direct_equal, GLib.EqualFunc 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 key_equal_func { set; }
public GLib.HashFunc key_hash_func { set; }
public override int size { get; }
public GLib.EqualFunc value_equal_func { set; }
}
[CCode (cheader_filename = "valagee.h")]
public class HashSet<G> : Vala.Set<G> {
public HashSet (GLib.HashFunc hash_func = GLib.direct_hash, GLib.EqualFunc 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 equal_func { set; }
public GLib.HashFunc 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 next ();
}
[CCode (cheader_filename = "valagee.h")]
public abstract class List<G> : Vala.Collection<G> {
public List ();
public abstract G @get (int index);
public abstract int index_of (G item);
public abstract void insert (int index, G item);
public abstract void remove_at (int index);
public abstract void @set (int index, G item);
}
[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 ();
}
}
/* ccode.vapi generated by valac-0.18, do not modify. */
namespace Vala {
[CCode (cheader_filename = "valaccode.h")]
public class CCodeAssignment : Vala.CCodeExpression {
public CCodeAssignment (Vala.CCodeExpression l, Vala.CCodeExpression r, Vala.CCodeAssignmentOperator op = CCodeAssignmentOperator.SIMPLE);
public override void write (Vala.CCodeWriter writer);
public override void write_inner (Vala.CCodeWriter writer);
public Vala.CCodeExpression left { get; set; }
public Vala.CCodeAssignmentOperator operator { get; set; }
public Vala.CCodeExpression right { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeBinaryExpression : Vala.CCodeExpression {
public CCodeBinaryExpression (Vala.CCodeBinaryOperator op, Vala.CCodeExpression l, Vala.CCodeExpression r);
public override void write (Vala.CCodeWriter writer);
public override void write_inner (Vala.CCodeWriter writer);
public Vala.CCodeExpression left { get; set; }
public Vala.CCodeBinaryOperator operator { get; set; }
public Vala.CCodeExpression right { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeBlock : Vala.CCodeStatement {
public CCodeBlock ();
public void add_statement (Vala.CCodeNode statement);
public void prepend_statement (Vala.CCodeNode statement);
public override void write (Vala.CCodeWriter writer);
public bool suppress_newline { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeBreakStatement : Vala.CCodeStatement {
public CCodeBreakStatement ();
public override void write (Vala.CCodeWriter writer);
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeCaseStatement : Vala.CCodeStatement {
public CCodeCaseStatement (Vala.CCodeExpression expression);
public override void write (Vala.CCodeWriter writer);
public Vala.CCodeExpression expression { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeCastExpression : Vala.CCodeExpression {
public CCodeCastExpression (Vala.CCodeExpression expr, string type);
public override void write (Vala.CCodeWriter writer);
public override void write_inner (Vala.CCodeWriter writer);
public Vala.CCodeExpression inner { get; set; }
public string type_name { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeCommaExpression : Vala.CCodeExpression {
public CCodeCommaExpression ();
public void append_expression (Vala.CCodeExpression expr);
public Vala.List<Vala.CCodeExpression> get_inner ();
public void set_expression (int index, Vala.CCodeExpression expr);
public override void write (Vala.CCodeWriter writer);
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeComment : Vala.CCodeNode {
public CCodeComment (string _text);
public override void write (Vala.CCodeWriter writer);
public string text { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeConditionalExpression : Vala.CCodeExpression {
public CCodeConditionalExpression (Vala.CCodeExpression cond, Vala.CCodeExpression true_expr, Vala.CCodeExpression false_expr);
public override void write (Vala.CCodeWriter writer);
public override void write_inner (Vala.CCodeWriter writer);
public Vala.CCodeExpression condition { get; set; }
public Vala.CCodeExpression false_expression { get; set; }
public Vala.CCodeExpression true_expression { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeConstant : Vala.CCodeExpression {
public CCodeConstant (global::string _name);
public CCodeConstant.string (global::string _name);
public override void write (Vala.CCodeWriter writer);
public global::string name { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeContinueStatement : Vala.CCodeStatement {
public CCodeContinueStatement ();
public override void write (Vala.CCodeWriter writer);
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeDeclaration : Vala.CCodeStatement {
public CCodeDeclaration (string type_name);
public void add_declarator (Vala.CCodeDeclarator decl);
public override void write (Vala.CCodeWriter writer);
public override void write_declaration (Vala.CCodeWriter writer);
public Vala.CCodeModifiers modifiers { get; set; }
public string type_name { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public abstract class CCodeDeclarator : Vala.CCodeNode {
public CCodeDeclarator ();
public virtual void write_initialization (Vala.CCodeWriter writer);
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeDoStatement : Vala.CCodeStatement {
public CCodeDoStatement (Vala.CCodeStatement stmt, Vala.CCodeExpression cond);
public override void write (Vala.CCodeWriter writer);
public Vala.CCodeStatement body { get; set; }
public Vala.CCodeExpression condition { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeElementAccess : Vala.CCodeExpression {
public CCodeElementAccess (Vala.CCodeExpression cont, Vala.CCodeExpression i);
public override void write (Vala.CCodeWriter writer);
public Vala.CCodeExpression container { get; set; }
public Vala.CCodeExpression index { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeEmptyStatement : Vala.CCodeStatement {
public CCodeEmptyStatement ();
public override void write (Vala.CCodeWriter writer);
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeEnum : Vala.CCodeNode {
public CCodeEnum (string? name = null);
public void add_value (Vala.CCodeEnumValue value);
public override void write (Vala.CCodeWriter writer);
public bool deprecated { get; set; }
public string name { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeEnumValue : Vala.CCodeNode {
public CCodeEnumValue (string name, Vala.CCodeExpression? value = null);
public override void write (Vala.CCodeWriter writer);
public bool deprecated { get; set; }
public string name { get; set; }
public Vala.CCodeExpression? value { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public abstract class CCodeExpression : Vala.CCodeNode {
public CCodeExpression ();
public virtual void write_inner (Vala.CCodeWriter writer);
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeExpressionStatement : Vala.CCodeStatement {
public CCodeExpressionStatement (Vala.CCodeExpression expr);
public override void write (Vala.CCodeWriter writer);
public Vala.CCodeExpression expression { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeFile {
public CCodeFile ();
public void add_comment (Vala.CCodeComment comment);
public void add_constant_declaration (Vala.CCodeNode node);
public bool add_declaration (string name);
public void add_function (Vala.CCodeFunction func);
public void add_function_declaration (Vala.CCodeFunction func);
public void add_include (string filename, bool local = false);
public void add_type_declaration (Vala.CCodeNode node);
public void add_type_definition (Vala.CCodeNode node);
public void add_type_member_declaration (Vala.CCodeNode node);
public void add_type_member_definition (Vala.CCodeNode node);
public Vala.List<string> get_symbols ();
public bool store (string filename, string? source_filename, bool write_version, bool line_directives, string? begin_decls = null, string? end_decls = null);
public bool is_header { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeForStatement : Vala.CCodeStatement {
public CCodeForStatement (Vala.CCodeExpression? condition, Vala.CCodeStatement? body = null);
public void add_initializer (Vala.CCodeExpression expr);
public void add_iterator (Vala.CCodeExpression expr);
public override void write (Vala.CCodeWriter writer);
public Vala.CCodeStatement body { get; set; }
public Vala.CCodeExpression? condition { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeFragment : Vala.CCodeNode {
public CCodeFragment ();
public void append (Vala.CCodeNode node);
public Vala.List<Vala.CCodeNode> get_children ();
public override void write (Vala.CCodeWriter writer);
public override void write_combined (Vala.CCodeWriter writer);
public override void write_declaration (Vala.CCodeWriter writer);
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeFunction : Vala.CCodeNode {
public CCodeFunction (string name, string return_type = "void");
public void add_assignment (Vala.CCodeExpression left, Vala.CCodeExpression right);
public void add_break ();
public void add_case (Vala.CCodeExpression expression);
public void add_continue ();
public void add_declaration (string type_name, Vala.CCodeDeclarator declarator, Vala.CCodeModifiers modifiers = 0);
public void add_default ();
public void add_else ();
public void add_expression (Vala.CCodeExpression expression);
public void add_goto (string target);
public void add_label (string label);
public void add_parameter (Vala.CCodeParameter param);
public void add_return (Vala.CCodeExpression? expression = null);
public void add_statement (Vala.CCodeNode stmt);
public void close ();
public Vala.CCodeFunction copy ();
public void else_if (Vala.CCodeExpression condition);
public Vala.CCodeParameter get_parameter (int position);
public int get_parameter_count ();
public void insert_parameter (int position, Vala.CCodeParameter param);
public void open_block ();
public void open_for (Vala.CCodeExpression? initializer, Vala.CCodeExpression condition, Vala.CCodeExpression? iterator);
public void open_if (Vala.CCodeExpression condition);
public void open_switch (Vala.CCodeExpression expression);
public void open_while (Vala.CCodeExpression condition);
public override void write (Vala.CCodeWriter writer);
public string attributes { get; set; }
public Vala.CCodeBlock block { get; set; }
public Vala.CCodeLineDirective current_line { get; set; }
public bool is_declaration { get; set; }
public Vala.CCodeModifiers modifiers { get; set; }
public string name { get; set; }
public string return_type { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeFunctionCall : Vala.CCodeExpression {
public CCodeFunctionCall (Vala.CCodeExpression? call = null);
public void add_argument (Vala.CCodeExpression expr);
public Vala.List<Vala.CCodeExpression> get_arguments ();
public void insert_argument (int index, Vala.CCodeExpression expr);
public override void write (Vala.CCodeWriter writer);
public Vala.CCodeExpression? call { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeFunctionDeclarator : Vala.CCodeDeclarator {
public CCodeFunctionDeclarator (string name);
public void add_parameter (Vala.CCodeParameter param);
public override void write (Vala.CCodeWriter writer);
public override void write_declaration (Vala.CCodeWriter writer);
public string name { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeGotoStatement : Vala.CCodeStatement {
public CCodeGotoStatement (string name);
public override void write (Vala.CCodeWriter writer);
public string name { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeIdentifier : Vala.CCodeExpression {
public CCodeIdentifier (string _name);
public override void write (Vala.CCodeWriter writer);
public string name { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeIfStatement : Vala.CCodeStatement {
public CCodeIfStatement (Vala.CCodeExpression cond, Vala.CCodeStatement true_stmt, Vala.CCodeStatement? false_stmt = null);
public override void write (Vala.CCodeWriter writer);
public Vala.CCodeExpression condition { get; set; }
public bool else_if { get; set; }
public Vala.CCodeStatement? false_statement { get; set; }
public Vala.CCodeStatement true_statement { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeIncludeDirective : Vala.CCodeNode {
public CCodeIncludeDirective (string _filename, bool _local = false);
public override void write (Vala.CCodeWriter writer);
public string filename { get; set; }
public bool local { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeInitializerList : Vala.CCodeExpression {
public CCodeInitializerList ();
public void append (Vala.CCodeExpression expr);
public override void write (Vala.CCodeWriter writer);
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeInvalidExpression : Vala.CCodeExpression {
public CCodeInvalidExpression ();
public override void write (Vala.CCodeWriter writer);
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeLabel : Vala.CCodeStatement {
public CCodeLabel (string name);
public override void write (Vala.CCodeWriter writer);
public string name { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeLineDirective : Vala.CCodeNode {
public CCodeLineDirective (string _filename, int _line);
public override void write (Vala.CCodeWriter writer);
public string filename { get; set; }
public int line_number { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeMacroReplacement : Vala.CCodeNode {
public CCodeMacroReplacement (string name, string replacement);
public CCodeMacroReplacement.with_expression (string name, Vala.CCodeExpression replacement_expression);
public override void write (Vala.CCodeWriter writer);
public string name { get; set; }
public string replacement { get; set; }
public Vala.CCodeExpression replacement_expression { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeMemberAccess : Vala.CCodeExpression {
public CCodeMemberAccess (Vala.CCodeExpression container, string member, bool pointer = false);
public CCodeMemberAccess.pointer (Vala.CCodeExpression container, string member);
public override void write (Vala.CCodeWriter writer);
public Vala.CCodeExpression inner { get; set; }
public bool is_pointer { get; set; }
public string member_name { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeNewline : Vala.CCodeNode {
public CCodeNewline ();
public override void write (Vala.CCodeWriter writer);
}
[CCode (cheader_filename = "valaccode.h")]
public abstract class CCodeNode {
public CCodeNode ();
public abstract void write (Vala.CCodeWriter writer);
public virtual void write_combined (Vala.CCodeWriter writer);
public virtual void write_declaration (Vala.CCodeWriter writer);
public Vala.CCodeLineDirective line { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeOnceSection : Vala.CCodeFragment {
public CCodeOnceSection (string def);
public override void write (Vala.CCodeWriter writer);
public override void write_declaration (Vala.CCodeWriter writer);
public string define { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeParameter : Vala.CCodeNode {
public CCodeParameter (string n, string type);
public CCodeParameter.with_ellipsis ();
public override void write (Vala.CCodeWriter writer);
public bool ellipsis { get; set; }
public string name { get; set; }
public string type_name { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeParenthesizedExpression : Vala.CCodeExpression {
public CCodeParenthesizedExpression (Vala.CCodeExpression expr);
public override void write (Vala.CCodeWriter writer);
public Vala.CCodeExpression inner { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeReturnStatement : Vala.CCodeStatement {
public CCodeReturnStatement (Vala.CCodeExpression? expr = null);
public override void write (Vala.CCodeWriter writer);
public Vala.CCodeExpression? return_expression { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public abstract class CCodeStatement : Vala.CCodeNode {
public CCodeStatement ();
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeStruct : Vala.CCodeNode {
public CCodeStruct (string name);
public void add_declaration (Vala.CCodeDeclaration decl);
public void add_field (string type_name, string name, string? declarator_suffix = null);
public override void write (Vala.CCodeWriter writer);
public bool deprecated { get; set; }
public bool is_empty { get; }
public string name { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeSwitchStatement : Vala.CCodeBlock {
public CCodeSwitchStatement (Vala.CCodeExpression expression);
public override void write (Vala.CCodeWriter writer);
public Vala.CCodeExpression expression { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeTypeDefinition : Vala.CCodeNode {
public CCodeTypeDefinition (string type, Vala.CCodeDeclarator decl);
public override void write (Vala.CCodeWriter writer);
public override void write_declaration (Vala.CCodeWriter writer);
public Vala.CCodeDeclarator declarator { get; set; }
public bool deprecated { get; set; }
public string type_name { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeUnaryExpression : Vala.CCodeExpression {
public CCodeUnaryExpression (Vala.CCodeUnaryOperator op, Vala.CCodeExpression expr);
public override void write (Vala.CCodeWriter writer);
public override void write_inner (Vala.CCodeWriter writer);
public Vala.CCodeExpression inner { get; set; }
public Vala.CCodeUnaryOperator operator { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeVariableDeclarator : Vala.CCodeDeclarator {
public CCodeVariableDeclarator (string name, Vala.CCodeExpression? initializer = null, string? declarator_suffix = null);
public override void write (Vala.CCodeWriter writer);
public override void write_declaration (Vala.CCodeWriter writer);
public override void write_initialization (Vala.CCodeWriter writer);
public CCodeVariableDeclarator.zero (string name, Vala.CCodeExpression? initializer, string? declarator_suffix = null);
public string? declarator_suffix { get; set; }
public bool init0 { get; set; }
public Vala.CCodeExpression? initializer { get; set; }
public string name { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeWhileStatement : Vala.CCodeStatement {
public CCodeWhileStatement (Vala.CCodeExpression cond, Vala.CCodeStatement? stmt = null);
public override void write (Vala.CCodeWriter writer);
public Vala.CCodeStatement body { get; set; }
public Vala.CCodeExpression condition { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public class CCodeWriter {
public CCodeWriter (string filename, string? source_filename = null);
public void close ();
public bool open (bool write_version);
public void write_begin_block ();
public void write_comment (string text);
public void write_end_block ();
public void write_indent (Vala.CCodeLineDirective? line = null);
public void write_newline ();
public void write_string (string s);
public bool bol { get; }
public string filename { get; set; }
public bool line_directives { get; set; }
}
[CCode (cheader_filename = "valaccode.h")]
public enum CCodeAssignmentOperator {
SIMPLE,
BITWISE_OR,
BITWISE_AND,
BITWISE_XOR,
ADD,
SUB,
MUL,
DIV,
PERCENT,
SHIFT_LEFT,
SHIFT_RIGHT
}
[CCode (cheader_filename = "valaccode.h")]
public enum CCodeBinaryOperator {
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
}
[CCode (cheader_filename = "valaccode.h")]
[Flags]
public enum CCodeModifiers {
NONE,
STATIC,
REGISTER,
EXTERN,
INLINE,
VOLATILE,
DEPRECATED,
THREAD_LOCAL
}
[CCode (cheader_filename = "valaccode.h")]
public enum CCodeUnaryOperator {
PLUS,
MINUS,
LOGICAL_NEGATION,
BITWISE_COMPLEMENT,
POINTER_INDIRECTION,
ADDRESS_OF,
PREFIX_INCREMENT,
PREFIX_DECREMENT,
POSTFIX_INCREMENT,
POSTFIX_DECREMENT
}
}
/* vala.vapi generated by valac-0.18, 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_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 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 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.MemberAccess? method_access, Vala.CodeNode node_reference);
public override Vala.Symbol? get_member (string member_name);
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 int 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_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 Vala.Map<string,string> args;
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);
public bool has_argument (string name);
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<weak 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 bool chained;
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 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 string get_operator_string ();
public override void get_used_variables (Vala.Collection<Vala.Variable> collection);
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 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 class CastExpression : Vala.Expression {
public CastExpression (Vala.Expression inner, Vala.DataType type_reference, Vala.SourceReference source_reference, bool is_silent_cast);
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_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 Vala.Expression inner { get; set; }
public bool is_non_null_cast { get; set; }
public bool is_silent_cast { get; 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_class (Vala.Class cl);
public override void add_constant (Vala.Constant c);
public override void add_constructor (Vala.Constructor c);
public override void add_delegate (Vala.Delegate d);
public override void add_destructor (Vala.Destructor d);
public override void add_enum (Vala.Enum en);
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 void add_signal (Vala.Signal sig);
public override void add_struct (Vala.Struct st);
public override bool check (Vala.CodeContext context);
public Vala.List<Vala.DataType> get_base_types ();
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 override Vala.List<Vala.Method> get_methods ();
public override Vala.List<Vala.Property> get_properties ();
public override Vala.List<Vala.Signal> get_signals ();
public Vala.List<Vala.Struct> get_structs ();
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.Method 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 string[] gir_directories;
public string[] metadata_directories;
public string[] vapi_directories;
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_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 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 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 bool gobject_tracing { get; set; }
public string? header_filename { get; set; }
public string? includedir { get; set; }
public string? internal_header_filename { get; set; }
public bool mem_profiler { 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 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 string? symbols_filename { get; set; }
public int target_glib_major { get; set; }
public int target_glib_minor { get; set; }
public bool thread { get; set; }
public bool use_fast_vapi { get; set; }
public bool use_header { 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 abstract Vala.LocalVariable create_local (Vala.DataType type);
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);
public abstract void store_local (Vala.LocalVariable local, Vala.TargetValue value, bool initializer);
public abstract void store_parameter (Vala.Parameter param, Vala.TargetValue value, bool capturing_parameter = false);
}
[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);
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_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.MemberAccess? method_access, 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 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_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 Vala.TypeParameter type_parameter { 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 {
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_parameter (Vala.Parameter param);
public void add_type_parameter (Vala.TypeParameter p);
public override bool check (Vala.CodeContext context);
public Vala.List<Vala.Parameter> get_parameters ();
public string get_prototype_string (string name);
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 return_type { get; set; }
public Vala.DataType? sender_type { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class DelegateType : Vala.DataType {
public DelegateType (Vala.Delegate delegate_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_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_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_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 string? get_ctype ();
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 void set_ctype (string ctype);
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 string to_qualified_string (Vala.Scope? scope = null);
}
[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 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_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 override void add_method (Vala.Method m);
public void add_prerequisite (Vala.DataType type);
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 override bool check (Vala.CodeContext context);
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 override Vala.List<Vala.Method> get_methods ();
public Vala.List<Vala.DataType> get_prerequisites ();
public override Vala.List<Vala.Property> get_properties ();
public override Vala.List<Vala.Signal> get_signals ();
public Vala.List<Vala.Struct> get_structs ();
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 floating { get; set; }
public bool is_result { get; set; }
public bool no_init { 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 : GLib.Object {
public MarkupReader (string filename);
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_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 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 {
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_parameter (Vala.Parameter param);
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.List<Vala.Parameter> get_parameters ();
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 is_variadic ();
public override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public Vala.Method base_interface_method { get; }
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 Vala.DataType return_type { 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; }
public int yield_count { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class MethodCall : Vala.Expression {
public Vala.Expression _call;
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 override void get_used_variables (Vala.Collection<Vala.Variable> collection);
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_yield_expression { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class MethodType : Vala.DataType {
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 string to_prototype_string (bool with_type_parameters = false);
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_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 void add_hidden_method (Vala.Method m);
public void add_type_parameter (Vala.TypeParameter p);
public abstract Vala.List<Vala.Method> get_methods ();
public abstract Vala.List<Vala.Property> get_properties ();
public abstract Vala.List<Vala.Signal> get_signals ();
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 bool captured { get; set; }
public Vala.ParameterDirection direction { get; set; }
public bool ellipsis { get; set; }
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_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.MemberAccess? method_access, 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 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_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_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 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 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 override void replace_type (Vala.DataType old_type, Vala.DataType new_type);
public bool automatic_body { get; set; }
public bool construction { get; set; }
public override bool has_result { get; }
public Vala.Property prop { get; }
public bool readable { get; set; }
public Vala.Parameter value_parameter { get; set; }
public Vala.DataType? value_type { get; set; }
public bool writable { get; 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_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 : GLib.Object {
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 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 error_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 int next_lambda_id;
public Vala.Class object_type;
public Vala.DataType regex_type;
public Vala.List<Vala.CodeNode> replaced_nodes;
public Vala.Symbol root_symbol;
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 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 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.MemberAccess? method_access, 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.TypeSymbol sym);
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.CodeContext context { get; set; }
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 {
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 void add_parameter (Vala.Parameter param);
public override bool check (Vala.CodeContext context);
public Vala.Delegate get_delegate (Vala.DataType sender_type, Vala.CodeNode node_reference);
public Vala.List<Vala.Parameter> get_parameters ();
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 bool is_virtual { get; set; }
public Vala.DataType return_type { get; set; }
}
[CCode (cheader_filename = "vala.h")]
public class SignalType : Vala.DataType {
public SignalType (Vala.Signal signal_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_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_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 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? 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 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 bool check_deprecated (Vala.SourceReference? source_ref = null);
public bool check_experimental (Vala.SourceReference? source_ref = null);
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 deprecated { get; set; }
public string? deprecated_since { owned get; set; }
public bool experimental { 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 string? replacement { owned get; set; }
public Vala.Scope scope { get; }
public Vala.SourceFileType source_type { get; }
public bool used { get; set; }
}
[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_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_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_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 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 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 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
}
}
/* codegen.vapi generated by valac-0.18, do not modify. */
namespace Vala {
[CCode (cheader_filename = "valacodegen.h")]
public class CCodeArrayModule : Vala.CCodeMethodCallModule {
public CCodeArrayModule ();
public override string? append_struct_array_free (Vala.Struct st);
public override void append_vala_array_free ();
public override void append_vala_array_length ();
public override void append_vala_array_move ();
public override Vala.TargetValue? copy_value (Vala.TargetValue value, Vala.CodeNode node);
public override Vala.CCodeExpression destroy_value (Vala.TargetValue value, bool is_macro_definition = false);
public override Vala.CCodeParameter generate_parameter (Vala.Parameter param, Vala.CCodeFile decl_space, Vala.Map<int,Vala.CCodeParameter> cparam_map, Vala.Map<int,Vala.CCodeExpression>? carg_map);
public override Vala.CCodeExpression get_array_length_cexpression (Vala.Expression array_expr, int dim = -1);
public override string get_array_length_cname (string array_cname, int dim);
public override Vala.CCodeExpression get_array_length_cvalue (Vala.TargetValue value, int dim = -1);
public override string get_array_size_cname (string array_cname);
public override Vala.CCodeExpression? get_dup_func_expression (Vala.DataType type, Vala.SourceReference? source_reference, bool is_chainup);
public override string get_parameter_array_length_cname (Vala.Parameter param, int dim);
public override void visit_array_creation_expression (Vala.ArrayCreationExpression expr);
public override void visit_assignment (Vala.Assignment assignment);
public override void visit_element_access (Vala.ElementAccess expr);
public override void visit_slice_expression (Vala.SliceExpression expr);
}
[CCode (cheader_filename = "valacodegen.h")]
public class CCodeAssignmentModule : Vala.CCodeMemberAccessModule {
public CCodeAssignmentModule ();
public override void store_field (Vala.Field field, Vala.TargetValue? instance, Vala.TargetValue value);
public override void store_local (Vala.LocalVariable local, Vala.TargetValue value, bool initializer);
public override void store_parameter (Vala.Parameter param, Vala.TargetValue _value, bool capturing_parameter = false);
public override void store_value (Vala.TargetValue lvalue, Vala.TargetValue value);
public override void visit_assignment (Vala.Assignment assignment);
}
[CCode (cheader_filename = "valacodegen.h")]
public class CCodeAttribute : Vala.AttributeCache {
public CCodeAttribute (Vala.CodeNode node);
public bool array_length { get; private set; }
public string? array_length_expr { get; private set; }
public string? array_length_name { get; private set; }
public string? array_length_type { get; private set; }
public bool array_null_terminated { get; private set; }
public string const_name { get; }
public string copy_function { get; }
public string default_value { get; }
public bool delegate_target { get; private set; }
public string delegate_target_name { get; }
public string destroy_function { get; }
public string finish_name { get; }
public string finish_real_name { get; }
public string finish_vfunc_name { get; }
public string free_function { get; }
public bool free_function_address_of { get; }
public string get_value_function { get; }
public string header_filenames { get; }
public string lower_case_prefix { get; }
public string lower_case_suffix { get; }
public string marshaller_type_name { get; }
public string name { get; }
public string param_spec_function { get; }
public double pos { get; }
public string prefix { get; }
public string real_name { get; }
public string ref_function { get; }
public bool ref_function_void { get; }
public string ref_sink_function { get; }
public string sentinel { get; private set; }
public string set_value_function { get; }
public string take_value_function { get; }
public string type_id { get; }
public string type_name { get; }
public string unref_function { get; }
public string vfunc_name { get; }
}
[CCode (cheader_filename = "valacodegen.h")]
public abstract class CCodeBaseModule : Vala.CodeGenerator {
public class EmitContext {
public Vala.CCodeFunction ccode;
public Vala.ArrayList<Vala.CCodeFunction> ccode_stack;
public Vala.Map<Vala.LocalVariable,int> closure_variable_clash_map;
public Vala.Map<string,int> closure_variable_count_map;
public Vala.CatchClause current_catch;
public bool current_method_inner_error;
public bool current_method_return;
public Vala.Symbol? current_symbol;
public Vala.TryStatement current_try;
public int next_temp_var_id;
public Vala.ArrayList<Vala.Symbol> symbol_stack;
public Vala.ArrayList<Vala.TargetValue> temp_ref_values;
public Vala.Map<string,string> variable_name_map;
public EmitContext (Vala.Symbol? symbol = null);
public void pop_symbol ();
public void push_symbol (Vala.Symbol symbol);
}
public Vala.CCodeBaseModule.EmitContext base_finalize_context;
public Vala.CCodeBaseModule.EmitContext base_init_context;
public Vala.DataType bool_type;
public static int ccode_attribute_cache_index;
public Vala.CCodeFile cfile;
public Vala.DataType char_type;
public Vala.CCodeBaseModule.EmitContext class_finalize_context;
public Vala.CCodeBaseModule.EmitContext class_init_context;
public Vala.CCodeStruct closure_struct;
public Vala.CCodeLineDirective? current_line;
public Vala.TypeSymbol dbus_proxy_type;
public Vala.DataType double_type;
public Vala.CCodeBaseModule.EmitContext emit_context;
public Vala.DataType float_type;
public Vala.TypeSymbol garray_type;
public Vala.TypeSymbol gbytearray_type;
public Vala.Struct gcond_type;
public Vala.DataType gdestroynotify_type;
public Vala.ErrorType gerror_type;
public Vala.Class glist_type;
public Vala.Struct gmutex_type;
public Vala.Class gnode_type;
public Vala.TypeSymbol gobject_type;
public Vala.TypeSymbol gptrarray_type;
public Vala.DataType gquark_type;
public Vala.Class gqueue_type;
public Vala.Struct grecmutex_type;
public Vala.Struct grwlock_type;
public Vala.Class gslist_type;
public Vala.Class gsource_type;
public Vala.TypeSymbol gstringbuilder_type;
public Vala.TypeSymbol gthreadpool_type;
public Vala.TypeSymbol gtype_type;
public Vala.Struct gvalue_type;
public Vala.Class gvaluearray_type;
public bool gvaluecollector_h_needed;
public Vala.Class gvariant_type;
public Vala.CCodeFile header_file;
public bool in_plugin;
public Vala.CCodeBaseModule.EmitContext instance_finalize_context;
public Vala.CCodeBaseModule.EmitContext instance_init_context;
public Vala.DataType int16_type;
public Vala.DataType int32_type;
public Vala.DataType int64_type;
public Vala.DataType int8_type;
public Vala.DataType int_type;
public Vala.CCodeFile internal_header_file;
public Vala.DataType long_type;
public string module_init_param_name;
public Vala.Struct mutex_type;
public int next_coroutine_state;
public int next_regex_id;
public Vala.CCodeStruct param_spec_struct;
public Vala.Set<string> predefined_marshal_set;
public Vala.CCodeEnum prop_enum;
public Vala.DataType regex_type;
public bool requires_array_free;
public bool requires_array_length;
public bool requires_array_move;
public bool requires_assert;
public bool requires_clear_mutex;
public Vala.Symbol root_symbol;
public Vala.DataType short_type;
public Vala.DataType string_type;
public Vala.TypeSymbol type_module_type;
public Vala.DataType uchar_type;
public Vala.DataType uint16_type;
public Vala.DataType uint32_type;
public Vala.DataType uint64_type;
public Vala.DataType uint8_type;
public Vala.DataType uint_type;
public Vala.DataType ulong_type;
public Vala.DataType? unichar_type;
public Vala.Set<string> user_marshal_set;
public Vala.DataType ushort_type;
public Vala.DataType void_type;
public Vala.Set<string> wrappers;
public CCodeBaseModule ();
public bool add_generated_external_symbol (Vala.Symbol external_symbol);
public void add_generic_type_arguments (Vala.Map<int,Vala.CCodeExpression> arg_map, Vala.List<Vala.DataType> type_args, Vala.CodeNode expr, bool is_chainup = false, Vala.List<Vala.TypeParameter>? type_parameters = null);
public virtual void add_simple_check (Vala.CodeNode node, bool always_fails = false);
public bool add_symbol_declaration (Vala.CCodeFile decl_space, Vala.Symbol sym, string name);
public bool add_wrapper (string wrapper_name);
public void append_array_length (Vala.Expression expr, Vala.CCodeExpression size);
public void append_local_free (Vala.Symbol sym, bool stop_at_loop = false, Vala.CodeNode? stop_at = null);
protected virtual void append_scope_free (Vala.Symbol sym, Vala.CodeNode? stop_at = null);
public virtual string? append_struct_array_free (Vala.Struct st);
public virtual void append_vala_array_free ();
public virtual void append_vala_array_length ();
public virtual void append_vala_array_move ();
public void append_vala_clear_mutex (string typename, string funcprefix);
public void check_type (Vala.DataType type);
public Vala.CCodeExpression convert_from_generic_pointer (Vala.CCodeExpression cexpr, Vala.DataType actual_type);
public Vala.CCodeExpression convert_to_generic_pointer (Vala.CCodeExpression cexpr, Vala.DataType actual_type);
public virtual Vala.TargetValue? copy_value (Vala.TargetValue value, Vala.CodeNode node);
public override Vala.LocalVariable create_local (Vala.DataType type);
public void create_postcondition_statement (Vala.Expression postcondition);
public Vala.TargetValue create_temp_value (Vala.DataType type, bool init, Vala.CodeNode node_reference, bool? value_owned = null);
public virtual void create_type_check_statement (Vala.CodeNode method_node, Vala.DataType ret_type, Vala.TypeSymbol t, bool non_null, string var_name);
public Vala.CCodeExpression? default_value_for_type (Vala.DataType type, bool initializer_expression);
public virtual Vala.CCodeExpression? deserialize_expression (Vala.DataType type, Vala.CCodeExpression variant_expr, Vala.CCodeExpression? expr, Vala.CCodeExpression? error_expr = null, out bool may_fail = null);
public Vala.CCodeExpression destroy_field (Vala.Field field, Vala.TargetValue? instance);
public Vala.CCodeExpression destroy_local (Vala.LocalVariable local);
public Vala.CCodeExpression destroy_parameter (Vala.Parameter param);
public virtual Vala.CCodeExpression destroy_value (Vala.TargetValue value, bool is_macro_definition = false);
public override void emit (Vala.CodeContext context);
public void emit_temp_var (Vala.LocalVariable local);
public virtual void generate_class_declaration (Vala.Class cl, Vala.CCodeFile decl_space);
public virtual void generate_class_struct_declaration (Vala.Class cl, Vala.CCodeFile decl_space);
public void generate_constant_declaration (Vala.Constant c, Vala.CCodeFile decl_space, bool definition = false);
public virtual void generate_cparameters (Vala.Method m, Vala.CCodeFile decl_space, Vala.Map<int,Vala.CCodeParameter> cparam_map, Vala.CCodeFunction func, Vala.CCodeFunctionDeclarator? vdeclarator = null, Vala.Map<int,Vala.CCodeExpression>? carg_map = null, Vala.CCodeFunctionCall? vcall = null, int direction = 3);
public virtual void generate_delegate_declaration (Vala.Delegate d, Vala.CCodeFile decl_space);
protected string generate_dup_func_wrapper (Vala.DataType type);
public virtual void generate_dynamic_method_wrapper (Vala.DynamicMethod method);
public virtual bool generate_enum_declaration (Vala.Enum en, Vala.CCodeFile decl_space);
public virtual void generate_error_domain_declaration (Vala.ErrorDomain edomain, Vala.CCodeFile decl_space);
public void generate_field_declaration (Vala.Field f, Vala.CCodeFile decl_space);
protected string generate_free_func_wrapper (Vala.DataType type);
protected string generate_free_function_address_of_wrapper (Vala.DataType type);
public Vala.CCodeFunctionCall generate_instance_cast (Vala.CCodeExpression expr, Vala.TypeSymbol type);
public virtual void generate_interface_declaration (Vala.Interface iface, Vala.CCodeFile decl_space);
public virtual void generate_method_declaration (Vala.Method m, Vala.CCodeFile decl_space);
public void generate_property_accessor_declaration (Vala.PropertyAccessor acc, Vala.CCodeFile decl_space);
public virtual string generate_ready_function (Vala.Method m);
public virtual void generate_struct_declaration (Vala.Struct st, Vala.CCodeFile decl_space);
public void generate_type_declaration (Vala.DataType type, Vala.CCodeFile decl_space);
public Vala.CCodeExpression get_array_length_cexpr (Vala.TargetValue value);
public virtual Vala.CCodeExpression get_array_length_cexpression (Vala.Expression array_expr, int dim = -1);
public virtual string get_array_length_cname (string array_cname, int dim);
public virtual Vala.CCodeExpression get_array_length_cvalue (Vala.TargetValue value, int dim = -1);
public Vala.List<Vala.CCodeExpression>? get_array_lengths (Vala.Expression expr);
public bool get_array_null_terminated (Vala.TargetValue value);
public virtual string get_array_size_cname (string array_cname);
public Vala.CCodeExpression? get_array_size_cvalue (Vala.TargetValue value);
public int get_block_id (Vala.Block b);
public static bool get_ccode_array_length (Vala.CodeNode node);
public static string? get_ccode_array_length_expr (Vala.CodeNode node);
public static string? get_ccode_array_length_name (Vala.CodeNode node);
public static double get_ccode_array_length_pos (Vala.CodeNode node);
public static string? get_ccode_array_length_type (Vala.CodeNode node);
public static bool get_ccode_array_null_terminated (Vala.CodeNode node);
public static Vala.CCodeAttribute get_ccode_attribute (Vala.CodeNode node);
public static string get_ccode_blurb (Vala.Property prop);
public static string get_ccode_const_name (Vala.CodeNode node);
public static string get_ccode_copy_function (Vala.TypeSymbol sym);
public static string get_ccode_declarator_suffix (Vala.DataType type);
public static string get_ccode_default_value (Vala.TypeSymbol sym);
public static bool get_ccode_delegate_target (Vala.CodeNode node);
public static string get_ccode_delegate_target_name (Vala.Variable variable);
public static double get_ccode_delegate_target_pos (Vala.CodeNode node);
public static string get_ccode_destroy_function (Vala.TypeSymbol sym);
public static double get_ccode_destroy_notify_pos (Vala.CodeNode node);
public static string? get_ccode_dup_function (Vala.TypeSymbol sym);
public static string get_ccode_finish_name (Vala.Method m);
public static string get_ccode_finish_real_name (Vala.Method m);
public static string get_ccode_finish_vfunc_name (Vala.Method m);
public static string get_ccode_free_function (Vala.TypeSymbol sym);
public static bool get_ccode_free_function_address_of (Vala.Class cl);
public static double get_ccode_generic_type_pos (Vala.Method m);
public static string get_ccode_get_value_function (Vala.CodeNode sym);
public static bool get_ccode_has_copy_function (Vala.Struct st);
public static bool get_ccode_has_destroy_function (Vala.Struct st);
public static bool get_ccode_has_generic_type_parameter (Vala.Method m);
public static bool get_ccode_has_new_function (Vala.Method m);
public static bool get_ccode_has_type_id (Vala.TypeSymbol sym);
public static string get_ccode_header_filenames (Vala.Symbol sym);
public static double get_ccode_instance_pos (Vala.CodeNode node);
public static bool get_ccode_is_gboxed (Vala.TypeSymbol sym);
public static string get_ccode_lower_case_name (Vala.CodeNode node, string? infix = null);
public static string get_ccode_lower_case_prefix (Vala.Symbol sym);
public static string get_ccode_lower_case_suffix (Vala.Symbol sym);
public static string get_ccode_marshaller_type_name (Vala.CodeNode node);
public static string get_ccode_name (Vala.CodeNode node);
public static string get_ccode_nick (Vala.Property prop);
public static bool get_ccode_no_accessor_method (Vala.Property p);
public static bool get_ccode_notify (Vala.Property prop);
public static string get_ccode_param_spec_function (Vala.CodeNode sym);
public static double get_ccode_pos (Vala.Parameter param);
public static string get_ccode_prefix (Vala.Symbol sym);
public static string get_ccode_real_name (Vala.Symbol sym);
public static string get_ccode_ref_function (Vala.TypeSymbol sym);
public static bool get_ccode_ref_function_void (Vala.Class cl);
public static string get_ccode_ref_sink_function (Vala.ObjectTypeSymbol sym);
public static string get_ccode_sentinel (Vala.Method m);
public static string get_ccode_set_value_function (Vala.CodeNode sym);
public static bool get_ccode_simple_generics (Vala.Method m);
public static string get_ccode_take_value_function (Vala.CodeNode sym);
public static string? get_ccode_type (Vala.CodeNode node);
public static string get_ccode_type_check_function (Vala.TypeSymbol sym);
public static string get_ccode_type_id (Vala.CodeNode node);
public static string get_ccode_type_name (Vala.Interface iface);
public static string get_ccode_unref_function (Vala.ObjectTypeSymbol sym);
public static string get_ccode_upper_case_name (Vala.Symbol sym, string? infix = null);
public static string get_ccode_vfunc_name (Vala.Method m);
public Vala.CCodeExpression? get_ccodenode (Vala.Expression node);
public string? get_ctype (Vala.TargetValue value);
public Vala.CCodeExpression? get_cvalue (Vala.Expression expr);
public Vala.CCodeExpression? get_cvalue_ (Vala.TargetValue value);
public static Vala.DataType get_data_type_for_symbol (Vala.TypeSymbol sym);
public Vala.CCodeExpression? get_delegate_target (Vala.Expression expr);
public virtual Vala.CCodeExpression get_delegate_target_cexpression (Vala.Expression delegate_expr, out Vala.CCodeExpression delegate_target_destroy_notify);
public virtual string get_delegate_target_cname (string delegate_cname);
public virtual Vala.CCodeExpression get_delegate_target_cvalue (Vala.TargetValue value);
public Vala.CCodeExpression? get_delegate_target_destroy_notify (Vala.Expression expr);
public virtual string get_delegate_target_destroy_notify_cname (string delegate_cname);
public virtual Vala.CCodeExpression get_delegate_target_destroy_notify_cvalue (Vala.TargetValue value);
public Vala.CCodeExpression? get_destroy0_func_expression (Vala.DataType type, bool is_chainup = false);
public Vala.CCodeExpression? get_destroy_func_expression (Vala.DataType type, bool is_chainup = false);
public virtual Vala.CCodeExpression? get_dup_func_expression (Vala.DataType type, Vala.SourceReference? source_reference, bool is_chainup = false);
public virtual string get_dynamic_property_getter_cname (Vala.DynamicProperty node);
public virtual string get_dynamic_property_setter_cname (Vala.DynamicProperty node);
public virtual string get_dynamic_signal_cname (Vala.DynamicSignal node);
public virtual string get_dynamic_signal_connect_after_wrapper_name (Vala.DynamicSignal node);
public virtual string get_dynamic_signal_connect_wrapper_name (Vala.DynamicSignal node);
public virtual string get_dynamic_signal_disconnect_wrapper_name (Vala.DynamicSignal node);
public static Vala.CCodeConstant get_enum_value_canonical_cconstant (Vala.EnumValue ev);
public abstract Vala.TargetValue get_field_cvalue (Vala.Field field, Vala.TargetValue? instance);
public virtual Vala.CCodeExpression get_implicit_cast_expression (Vala.CCodeExpression source_cexpr, Vala.DataType? expression_type, Vala.DataType? target_type, Vala.CodeNode? node);
public Vala.CCodeExpression get_local_cexpression (Vala.LocalVariable local);
public string get_local_cname (Vala.LocalVariable local);
public abstract Vala.TargetValue get_local_cvalue (Vala.LocalVariable local);
public bool get_lvalue (Vala.TargetValue value);
public bool get_non_null (Vala.TargetValue value);
public int get_param_pos (double param_pos, bool ellipsis = false);
public virtual Vala.CCodeFunctionCall get_param_spec (Vala.Property prop);
public virtual string get_parameter_array_length_cname (Vala.Parameter param, int dim);
public abstract Vala.TargetValue get_parameter_cvalue (Vala.Parameter param);
public Vala.CCodeConstant get_property_canonical_cconstant (Vala.Property prop);
public Vala.CCodeExpression get_result_cexpression (string cname = "result");
public Vala.CCodeConstant get_signal_canonical_constant (Vala.Signal sig, string? detail = null);
public virtual Vala.CCodeFunctionCall get_signal_creation (Vala.Signal sig, Vala.TypeSymbol type);
public bool get_signal_has_emitter (Vala.Signal sig);
public string get_symbol_lock_name (string symname);
public Vala.LocalVariable get_temp_variable (Vala.DataType type, bool value_owned = true, Vala.CodeNode? node_reference = null, bool init = true);
public Vala.CCodeExpression get_this_cexpression ();
public Vala.DataType? get_this_type ();
public Vala.CCodeExpression get_type_id_expression (Vala.DataType type, bool is_chainup = false);
public Vala.CCodeIdentifier get_value_setter_function (Vala.DataType type_reference);
public Vala.CCodeIdentifier get_value_taker_function (Vala.DataType type_reference);
public Vala.CCodeExpression get_variable_cexpression (string name);
public string get_variable_cname (string name);
public Vala.CCodeExpression? handle_struct_argument (Vala.Parameter? param, Vala.Expression arg, Vala.CCodeExpression? cexpr);
public bool is_constant_ccode_expression (Vala.CCodeExpression cexpr);
public virtual bool is_gobject_property (Vala.Property prop);
public bool is_in_constructor ();
public bool is_in_coroutine ();
public bool is_in_destructor ();
public bool is_lvalue_access_allowed (Vala.DataType type);
public bool is_pure_ccode_expression (Vala.CCodeExpression cexpr);
public static bool is_reference_counting (Vala.TypeSymbol sym);
public bool is_simple_struct_creation (Vala.Variable variable, Vala.Expression expr);
public Vala.TargetValue load_temp_value (Vala.TargetValue lvalue);
public abstract Vala.TargetValue load_this_parameter (Vala.TypeSymbol sym);
public abstract Vala.TargetValue load_variable (Vala.Variable variable, Vala.TargetValue value);
public virtual bool method_has_wrapper (Vala.Method method);
public unowned Vala.Block? next_closure_block (Vala.Symbol sym);
public bool no_implicit_copy (Vala.DataType type);
public void pop_context ();
public void pop_function ();
public void pop_line ();
public void push_context (Vala.CCodeBaseModule.EmitContext emit_context);
public void push_function (Vala.CCodeFunction func);
public void push_line (Vala.SourceReference? source_reference);
public virtual void register_dbus_info (Vala.CCodeBlock block, Vala.ObjectTypeSymbol bindable);
public bool requires_copy (Vala.DataType type);
public bool requires_destroy (Vala.DataType type);
public void return_default_value (Vala.DataType return_type);
public void return_out_parameter (Vala.Parameter param);
public virtual Vala.CCodeExpression? serialize_expression (Vala.DataType type, Vala.CCodeExpression expr);
public void set_array_size_cvalue (Vala.TargetValue value, Vala.CCodeExpression? cvalue);
public void set_cvalue (Vala.Expression expr, Vala.CCodeExpression? cvalue);
public void set_delegate_target (Vala.Expression expr, Vala.CCodeExpression? delegate_target);
public void set_delegate_target_destroy_notify (Vala.Expression expr, Vala.CCodeExpression? destroy_notify);
public void store_property (Vala.Property prop, Vala.Expression? instance, Vala.TargetValue value);
public Vala.TargetValue store_temp_value (Vala.TargetValue initializer, Vala.CodeNode node_reference, bool? value_owned = null);
public abstract void store_value (Vala.TargetValue lvalue, Vala.TargetValue value);
public Vala.TargetValue transform_value (Vala.TargetValue value, Vala.DataType? target_type, Vala.CodeNode node);
public Vala.CCodeExpression? try_cast_value_to_type (Vala.CCodeExpression ccodeexpr, Vala.DataType from, Vala.DataType to, Vala.Expression? expr = null);
public Vala.TargetValue? try_cast_variant_to_type (Vala.TargetValue value, Vala.DataType to, Vala.CodeNode? node = null);
public bool variable_accessible_in_finally (Vala.LocalVariable local);
public override void visit_addressof_expression (Vala.AddressofExpression expr);
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 expr);
public override void visit_cast_expression (Vala.CastExpression expr);
public override void visit_character_literal (Vala.CharacterLiteral expr);
public override void visit_class (Vala.Class cl);
public override void visit_constant (Vala.Constant c);
public override void visit_declaration_statement (Vala.DeclarationStatement stmt);
public override void visit_delete_statement (Vala.DeleteStatement stmt);
public override void visit_destructor (Vala.Destructor d);
public override void visit_end_full_expression (Vala.Expression expr);
public override void visit_enum (Vala.Enum en);
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_formal_parameter (Vala.Parameter p);
public override void visit_initializer_list (Vala.InitializerList list);
public override void visit_integer_literal (Vala.IntegerLiteral expr);
public override void visit_lambda_expression (Vala.LambdaExpression lambda);
public override void visit_local_variable (Vala.LocalVariable local);
public override void visit_lock_statement (Vala.LockStatement stmt);
public void visit_member (Vala.Symbol m);
public override void visit_named_argument (Vala.NamedArgument expr);
public override void visit_null_literal (Vala.NullLiteral expr);
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_property_accessor (Vala.PropertyAccessor acc);
public override void visit_real_literal (Vala.RealLiteral expr);
public override void visit_reference_transfer_expression (Vala.ReferenceTransferExpression expr);
public override void visit_regex_literal (Vala.RegexLiteral expr);
public override void visit_return_statement (Vala.ReturnStatement stmt);
public override void visit_sizeof_expression (Vala.SizeofExpression expr);
public override void visit_source_file (Vala.SourceFile source_file);
public override void visit_string_literal (Vala.StringLiteral expr);
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_unlock_statement (Vala.UnlockStatement stmt);
public Vala.CCodeFunction ccode { get; }
public Vala.CodeContext context { get; set; }
public Vala.CatchClause current_catch { get; set; }
public Vala.Class? current_class { get; }
public Vala.Block? current_closure_block { get; }
public Vala.Constructor? current_constructor { get; }
public Vala.Destructor? current_destructor { get; }
public Vala.Method? current_method { get; }
public bool current_method_inner_error { get; set; }
public bool current_method_return { get; set; }
public Vala.PropertyAccessor? current_property_accessor { get; }
public Vala.DataType? current_return_type { get; }
public Vala.Symbol current_symbol { get; }
public Vala.TryStatement current_try { get; set; }
public Vala.TypeSymbol? current_type_symbol { get; }
public bool in_creation_method { get; }
public int next_temp_var_id { get; set; }
public Vala.ArrayList<Vala.TargetValue> temp_ref_values { get; }
public Vala.Map<string,string> variable_name_map { get; }
}
[CCode (cheader_filename = "valacodegen.h")]
public class CCodeCompiler {
public CCodeCompiler ();
public void compile (Vala.CodeContext context, string? cc_command, string[] cc_options);
}
[CCode (cheader_filename = "valacodegen.h")]
public abstract class CCodeControlFlowModule : Vala.CCodeMethodModule {
public CCodeControlFlowModule ();
public override void visit_break_statement (Vala.BreakStatement stmt);
public override void visit_continue_statement (Vala.ContinueStatement stmt);
public override void visit_foreach_statement (Vala.ForeachStatement stmt);
public override void visit_if_statement (Vala.IfStatement stmt);
public override void visit_loop (Vala.Loop stmt);
public override void visit_switch_label (Vala.SwitchLabel label);
public override void visit_switch_statement (Vala.SwitchStatement stmt);
}
[CCode (cheader_filename = "valacodegen.h")]
public class CCodeDelegateModule : Vala.CCodeArrayModule {
public CCodeDelegateModule ();
public override void generate_delegate_declaration (Vala.Delegate d, Vala.CCodeFile decl_space);
public override Vala.CCodeParameter generate_parameter (Vala.Parameter param, Vala.CCodeFile decl_space, Vala.Map<int,Vala.CCodeParameter> cparam_map, Vala.Map<int,Vala.CCodeExpression>? carg_map);
public override Vala.CCodeExpression get_delegate_target_cexpression (Vala.Expression delegate_expr, out Vala.CCodeExpression delegate_target_destroy_notify);
public override string get_delegate_target_cname (string delegate_cname);
public override Vala.CCodeExpression get_delegate_target_cvalue (Vala.TargetValue value);
public override string get_delegate_target_destroy_notify_cname (string delegate_cname);
public override Vala.CCodeExpression get_delegate_target_destroy_notify_cvalue (Vala.TargetValue value);
public override Vala.CCodeExpression get_implicit_cast_expression (Vala.CCodeExpression source_cexpr, Vala.DataType? expression_type, Vala.DataType? target_type, Vala.CodeNode? node);
public override void visit_delegate (Vala.Delegate d);
}
[CCode (cheader_filename = "valacodegen.h")]
public abstract class CCodeMemberAccessModule : Vala.CCodeControlFlowModule {
public CCodeMemberAccessModule ();
public override Vala.TargetValue get_field_cvalue (Vala.Field field, Vala.TargetValue? instance);
public override Vala.TargetValue get_local_cvalue (Vala.LocalVariable local);
public override Vala.TargetValue get_parameter_cvalue (Vala.Parameter param);
public override Vala.TargetValue load_field (Vala.Field field, Vala.TargetValue? instance);
public override Vala.TargetValue load_local (Vala.LocalVariable local);
public override Vala.TargetValue load_parameter (Vala.Parameter param);
public override Vala.TargetValue load_this_parameter (Vala.TypeSymbol sym);
public override Vala.TargetValue load_variable (Vala.Variable variable, Vala.TargetValue value);
public override void visit_member_access (Vala.MemberAccess expr);
}
[CCode (cheader_filename = "valacodegen.h")]
public class CCodeMethodCallModule : Vala.CCodeAssignmentModule {
public CCodeMethodCallModule ();
public override void visit_method_call (Vala.MethodCall expr);
}
[CCode (cheader_filename = "valacodegen.h")]
public abstract class CCodeMethodModule : Vala.CCodeStructModule {
public CCodeMethodModule ();
public void complete_async ();
public override void generate_cparameters (Vala.Method m, Vala.CCodeFile decl_space, Vala.Map<int,Vala.CCodeParameter> cparam_map, Vala.CCodeFunction func, Vala.CCodeFunctionDeclarator? vdeclarator = null, Vala.Map<int,Vala.CCodeExpression>? carg_map = null, Vala.CCodeFunctionCall? vcall = null, int direction = 3);
public override void generate_method_declaration (Vala.Method m, Vala.CCodeFile decl_space);
public virtual void generate_method_result_declaration (Vala.Method m, Vala.CCodeFile decl_space, Vala.CCodeFunction cfunc, Vala.Map<int,Vala.CCodeParameter> cparam_map, Vala.Map<int,Vala.CCodeExpression>? carg_map);
public virtual Vala.CCodeParameter generate_parameter (Vala.Parameter param, Vala.CCodeFile decl_space, Vala.Map<int,Vala.CCodeParameter> cparam_map, Vala.Map<int,Vala.CCodeExpression>? carg_map);
public void generate_vfunc (Vala.Method m, Vala.DataType return_type, Vala.Map<int,Vala.CCodeParameter> cparam_map, Vala.Map<int,Vala.CCodeExpression> carg_map, string suffix = "", int direction = 3);
public override bool method_has_wrapper (Vala.Method method);
public override void visit_creation_method (Vala.CreationMethod m);
public override void visit_method (Vala.Method m);
}
[CCode (cheader_filename = "valacodegen.h")]
public abstract class CCodeStructModule : Vala.CCodeBaseModule {
public CCodeStructModule ();
public override void generate_struct_declaration (Vala.Struct st, Vala.CCodeFile decl_space);
public override void visit_struct (Vala.Struct st);
}
[CCode (cheader_filename = "valacodegen.h")]
public class CType : Vala.DataType {
public CType (string ctype_name);
public override Vala.DataType copy ();
public string ctype_name { get; set; }
}
[CCode (cheader_filename = "valacodegen.h")]
public class ClassRegisterFunction : Vala.TypeRegisterFunction {
public ClassRegisterFunction (Vala.Class cl, Vala.CodeContext context);
public override Vala.SymbolAccessibility get_accessibility ();
public override string get_base_finalize_func_name ();
public override string get_base_init_func_name ();
public override string get_class_finalize_func_name ();
public override string get_class_init_func_name ();
public override string? get_gtype_value_table_collect_value_function_name ();
public override string? get_gtype_value_table_copy_function_name ();
public override string? get_gtype_value_table_free_function_name ();
public override string? get_gtype_value_table_init_function_name ();
public override string? get_gtype_value_table_lcopy_value_function_name ();
public override string? get_gtype_value_table_peek_pointer_function_name ();
public override string get_instance_init_func_name ();
public override string get_instance_struct_size ();
public override string get_parent_type_name ();
public override Vala.TypeSymbol get_type_declaration ();
public override string get_type_flags ();
public override Vala.CCodeFragment get_type_interface_init_declaration ();
public override void get_type_interface_init_statements (Vala.CCodeBlock block, bool plugin);
public override string get_type_struct_name ();
public Vala.Class class_reference { get; set; }
}
[CCode (cheader_filename = "valacodegen.h")]
public class EnumRegisterFunction : Vala.TypeRegisterFunction {
public EnumRegisterFunction (Vala.Enum en, Vala.CodeContext context);
public override Vala.SymbolAccessibility get_accessibility ();
public override Vala.TypeSymbol get_type_declaration ();
public Vala.Enum enum_reference { get; set; }
}
[CCode (cheader_filename = "valacodegen.h")]
public class GAsyncModule : Vala.GSignalModule {
public GAsyncModule ();
public string generate_async_callback_wrapper ();
public override void generate_cparameters (Vala.Method m, Vala.CCodeFile decl_space, Vala.Map<int,Vala.CCodeParameter> cparam_map, Vala.CCodeFunction func, Vala.CCodeFunctionDeclarator? vdeclarator = null, Vala.Map<int,Vala.CCodeExpression>? carg_map = null, Vala.CCodeFunctionCall? vcall = null, int direction = 3);
public override void generate_method_declaration (Vala.Method m, Vala.CCodeFile decl_space);
public override string generate_ready_function (Vala.Method m);
public override void generate_virtual_method_declaration (Vala.Method m, Vala.CCodeFile decl_space, Vala.CCodeStruct type_struct);
public override void return_with_exception (Vala.CCodeExpression error_expr);
public override void visit_creation_method (Vala.CreationMethod m);
public override void visit_method (Vala.Method m);
public override void visit_return_statement (Vala.ReturnStatement stmt);
public override void visit_yield_statement (Vala.YieldStatement stmt);
}
[CCode (cheader_filename = "valacodegen.h")]
public class GDBusClientModule : Vala.GDBusModule {
public GDBusClientModule ();
public override void generate_dynamic_method_wrapper (Vala.DynamicMethod method);
public override void generate_interface_declaration (Vala.Interface iface, Vala.CCodeFile decl_space);
public Vala.CCodeConstant get_dbus_timeout (Vala.Symbol symbol);
public override void register_dbus_info (Vala.CCodeBlock block, Vala.ObjectTypeSymbol sym);
public override void visit_interface (Vala.Interface iface);
public override void visit_method_call (Vala.MethodCall expr);
}
[CCode (cheader_filename = "valacodegen.h")]
public class GDBusModule : Vala.GVariantModule {
public GDBusModule ();
public bool dbus_method_uses_file_descriptor (Vala.Method method);
public static string? get_dbus_name (Vala.TypeSymbol symbol);
public static string get_dbus_name_for_member (Vala.Symbol symbol);
public static bool is_dbus_no_reply (Vala.Method m);
public void receive_dbus_value (Vala.DataType type, Vala.CCodeExpression message_expr, Vala.CCodeExpression iter_expr, Vala.CCodeExpression target_expr, Vala.Symbol? sym, Vala.CCodeExpression? error_expr = null, out bool may_fail = null);
public void send_dbus_value (Vala.DataType type, Vala.CCodeExpression builder_expr, Vala.CCodeExpression expr, Vala.Symbol? sym);
public override void visit_error_domain (Vala.ErrorDomain edomain);
}
[CCode (cheader_filename = "valacodegen.h")]
public class GDBusServerModule : Vala.GDBusClientModule {
public GDBusServerModule ();
public static string dbus_result_name (Vala.Method m);
public override void generate_class_declaration (Vala.Class cl, Vala.CCodeFile decl_space);
public override void generate_interface_declaration (Vala.Interface iface, Vala.CCodeFile decl_space);
public static bool is_dbus_visible (Vala.CodeNode node);
public override void register_dbus_info (Vala.CCodeBlock block, Vala.ObjectTypeSymbol sym);
public override void visit_class (Vala.Class cl);
public override void visit_interface (Vala.Interface iface);
public override void visit_method_call (Vala.MethodCall expr);
}
[CCode (cheader_filename = "valacodegen.h")]
public class GErrorModule : Vala.CCodeDelegateModule {
public GErrorModule ();
public override void add_simple_check (Vala.CodeNode node, bool always_fails = false);
protected override void append_scope_free (Vala.Symbol sym, Vala.CodeNode? stop_at = null);
public override void generate_error_domain_declaration (Vala.ErrorDomain edomain, Vala.CCodeFile decl_space);
public virtual void return_with_exception (Vala.CCodeExpression error_expr);
public override void visit_catch_clause (Vala.CatchClause clause);
public override void visit_error_domain (Vala.ErrorDomain edomain);
public override void visit_throw_statement (Vala.ThrowStatement stmt);
public override void visit_try_statement (Vala.TryStatement stmt);
}
[CCode (cheader_filename = "valacodegen.h")]
public class GIRWriter : Vala.CodeVisitor {
public GIRWriter ();
protected virtual string? get_class_comment (Vala.Class c);
protected virtual string? get_constant_comment (Vala.Constant c);
protected virtual string? get_delegate_comment (Vala.Delegate cb);
protected virtual string? get_delegate_return_comment (Vala.Delegate cb);
protected virtual string? get_enum_comment (Vala.Enum en);
protected virtual string? get_enum_value_comment (Vala.EnumValue ev);
protected virtual string? get_error_code_comment (Vala.ErrorCode ecode);
protected virtual string? get_error_domain_comment (Vala.ErrorDomain edomain);
protected virtual string? get_field_comment (Vala.Field f);
protected virtual string? get_interface_comment (Vala.Interface iface);
protected virtual string? get_method_comment (Vala.Method m);
protected virtual string? get_method_return_comment (Vala.Method m);
protected virtual string? get_parameter_comment (Vala.Parameter param);
protected virtual string? get_property_comment (Vala.Property prop);
protected virtual string? get_signal_comment (Vala.Signal sig);
protected virtual string? get_signal_return_comment (Vala.Signal sig);
protected virtual string? get_struct_comment (Vala.Struct st);
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_enum_value (Vala.EnumValue ev);
public override void visit_error_code (Vala.ErrorCode ecode);
public override void visit_error_domain (Vala.ErrorDomain edomain);
public override void visit_field (Vala.Field f);
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);
public void write_file (Vala.CodeContext context, string directory, string gir_namespace, string gir_version, string package);
public void write_includes ();
}
[CCode (cheader_filename = "valacodegen.h")]
public class GLibValue : Vala.TargetValue {
public Vala.CCodeExpression? array_length_cexpr;
public Vala.List<Vala.CCodeExpression> array_length_cvalues;
public bool array_null_terminated;
public Vala.CCodeExpression? array_size_cvalue;
public string? ctype;
public Vala.CCodeExpression cvalue;
public Vala.CCodeExpression? delegate_target_cvalue;
public Vala.CCodeExpression? delegate_target_destroy_notify_cvalue;
public bool lvalue;
public bool non_null;
public GLibValue (Vala.DataType? value_type = null, Vala.CCodeExpression? cvalue = null, bool lvalue = false);
public void append_array_length_cvalue (Vala.CCodeExpression length_cvalue);
public Vala.GLibValue copy ();
}
[CCode (cheader_filename = "valacodegen.h")]
public class GObjectModule : Vala.GTypeModule {
public GObjectModule ();
public override void generate_class_init (Vala.Class cl);
public override string get_dynamic_property_getter_cname (Vala.DynamicProperty prop);
public override string get_dynamic_property_setter_cname (Vala.DynamicProperty prop);
public override string get_dynamic_signal_cname (Vala.DynamicSignal node);
public override string get_dynamic_signal_connect_after_wrapper_name (Vala.DynamicSignal sig);
public override string get_dynamic_signal_connect_wrapper_name (Vala.DynamicSignal sig);
public override bool is_gobject_property (Vala.Property prop);
public override void visit_class (Vala.Class cl);
public override void visit_constructor (Vala.Constructor c);
public override void visit_method_call (Vala.MethodCall expr);
public override void visit_property (Vala.Property prop);
}
[CCode (cheader_filename = "valacodegen.h")]
public class GSignalModule : Vala.GObjectModule {
public GSignalModule ();
public override Vala.CCodeFunctionCall get_signal_creation (Vala.Signal sig, Vala.TypeSymbol type);
public override void visit_assignment (Vala.Assignment assignment);
public override void visit_element_access (Vala.ElementAccess expr);
public override void visit_member_access (Vala.MemberAccess expr);
public override void visit_method_call (Vala.MethodCall expr);
public override void visit_signal (Vala.Signal sig);
}
[CCode (cheader_filename = "valacodegen.h")]
public class GTypeModule : Vala.GErrorModule {
public GTypeModule ();
public override void create_type_check_statement (Vala.CodeNode method_node, Vala.DataType ret_type, Vala.TypeSymbol t, bool non_null, string var_name);
public override void generate_class_declaration (Vala.Class cl, Vala.CCodeFile decl_space);
public virtual void generate_class_init (Vala.Class cl);
public override void generate_class_struct_declaration (Vala.Class cl, Vala.CCodeFile decl_space);
public override void generate_interface_declaration (Vala.Interface iface, Vala.CCodeFile decl_space);
public override Vala.CCodeParameter generate_parameter (Vala.Parameter param, Vala.CCodeFile decl_space, Vala.Map<int,Vala.CCodeParameter> cparam_map, Vala.Map<int,Vala.CCodeExpression>? carg_map);
public virtual void generate_virtual_method_declaration (Vala.Method m, Vala.CCodeFile decl_space, Vala.CCodeStruct type_struct);
public override Vala.CCodeFunctionCall get_param_spec (Vala.Property prop);
public override void visit_class (Vala.Class cl);
public override void visit_enum (Vala.Enum en);
public override void visit_interface (Vala.Interface iface);
public override void visit_method_call (Vala.MethodCall expr);
public override void visit_property (Vala.Property prop);
public override void visit_struct (Vala.Struct st);
}
[CCode (cheader_filename = "valacodegen.h")]
public class GVariantModule : Vala.GAsyncModule {
public GVariantModule ();
public override Vala.CCodeExpression? deserialize_expression (Vala.DataType type, Vala.CCodeExpression variant_expr, Vala.CCodeExpression? expr, Vala.CCodeExpression? error_expr = null, out bool may_fail = null);
public override bool generate_enum_declaration (Vala.Enum en, Vala.CCodeFile decl_space);
public Vala.CCodeFunction generate_enum_from_string_function (Vala.Enum en);
public Vala.CCodeFunction generate_enum_from_string_function_declaration (Vala.Enum en);
public Vala.CCodeFunction generate_enum_to_string_function (Vala.Enum en);
public Vala.CCodeFunction generate_enum_to_string_function_declaration (Vala.Enum en);
public static string? get_dbus_signature (Vala.Symbol symbol);
public static string? get_type_signature (Vala.DataType datatype, Vala.Symbol? symbol = null);
public void read_expression (Vala.DataType type, Vala.CCodeExpression iter_expr, Vala.CCodeExpression target_expr, Vala.Symbol? sym, Vala.CCodeExpression? error_expr = null, out bool may_fail = null);
public override Vala.CCodeExpression? serialize_expression (Vala.DataType type, Vala.CCodeExpression expr);
public override void visit_enum (Vala.Enum en);
public void write_expression (Vala.DataType type, Vala.CCodeExpression builder_expr, Vala.CCodeExpression expr, Vala.Symbol? sym);
}
[CCode (cheader_filename = "valacodegen.h")]
public class InterfaceRegisterFunction : Vala.TypeRegisterFunction {
public InterfaceRegisterFunction (Vala.Interface iface, Vala.CodeContext context);
public override Vala.SymbolAccessibility get_accessibility ();
public override string get_base_finalize_func_name ();
public override string get_base_init_func_name ();
public override string get_class_finalize_func_name ();
public override string get_class_init_func_name ();
public override string get_instance_init_func_name ();
public override string get_instance_struct_size ();
public override string get_parent_type_name ();
public override Vala.TypeSymbol get_type_declaration ();
public override void get_type_interface_init_statements (Vala.CCodeBlock block, bool plugin);
public override string get_type_struct_name ();
public Vala.Interface interface_reference { get; set; }
}
[CCode (cheader_filename = "valacodegen.h")]
public class StructRegisterFunction : Vala.TypeRegisterFunction {
public StructRegisterFunction (Vala.Struct st, Vala.CodeContext context);
public override Vala.SymbolAccessibility get_accessibility ();
public override Vala.TypeSymbol get_type_declaration ();
public Vala.Struct struct_reference { get; set; }
}
[CCode (cheader_filename = "valacodegen.h")]
public abstract class TypeRegisterFunction {
public TypeRegisterFunction ();
public abstract Vala.SymbolAccessibility get_accessibility ();
public virtual string get_base_finalize_func_name ();
public virtual string get_base_init_func_name ();
public virtual string get_class_finalize_func_name ();
public virtual string get_class_init_func_name ();
public Vala.CCodeFragment get_declaration ();
public Vala.CCodeFragment get_definition ();
public virtual string? get_gtype_value_table_collect_value_function_name ();
public virtual string? get_gtype_value_table_copy_function_name ();
public virtual string? get_gtype_value_table_free_function_name ();
public virtual string? get_gtype_value_table_init_function_name ();
public virtual string? get_gtype_value_table_lcopy_value_function_name ();
public virtual string? get_gtype_value_table_peek_pointer_function_name ();
public virtual string get_instance_init_func_name ();
public virtual string get_instance_struct_size ();
public virtual string get_parent_type_name ();
public Vala.CCodeFragment get_source_declaration ();
public abstract Vala.TypeSymbol get_type_declaration ();
public virtual string get_type_flags ();
public virtual Vala.CCodeFragment get_type_interface_init_declaration ();
public virtual void get_type_interface_init_statements (Vala.CCodeBlock block, bool plugin);
public virtual string get_type_struct_name ();
public void init_from_type (bool plugin, bool declaration_only);
public Vala.CodeContext context { get; set; }
}
}
|