Spaces:
Configuration error
Configuration error
File size: 30,874 Bytes
5641073 |
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 |
/**
* This file is generated by hand in order to bootstrap compiler development. It is intended to be an exact match to
* compiled output.
*/
import * as capnp from "../index";
import { Struct as __S } from "../index";
export declare const _capnpFileId = "a93fc509624c72d9";
export declare class Node_Parameter extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
getName(): string;
setName(value: string): void;
toString(): string;
}
export declare class Node_NestedNode extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
getName(): string;
setName(value: string): void;
getId(): capnp.Uint64;
setId(value: capnp.Uint64): void;
toString(): string;
}
export declare class Node_Struct extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
static _Fields: capnp.ListCtor<Field>;
getDataWordCount(): number;
setDataWordCount(value: number): void;
getPointerCount(): number;
setPointerCount(value: number): void;
getPreferredListEncoding(): ElementSize;
setPreferredListEncoding(value: ElementSize): void;
getIsGroup(): boolean;
setIsGroup(value: boolean): void;
getDiscriminantCount(): number;
setDiscriminantCount(value: number): void;
getDiscriminantOffset(): number;
setDiscriminantOffset(value: number): void;
adoptFields(value: capnp.Orphan<capnp.List<Field>>): void;
disownFields(): capnp.Orphan<capnp.List<Field>>;
getFields(): capnp.List<Field>;
hasFields(): boolean;
initFields(length: number): capnp.List<Field>;
setFields(value: capnp.List<Field>): void;
toString(): string;
}
export declare class Node_Enum extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
static _Enumerants: capnp.ListCtor<Enumerant>;
adoptEnumerants(value: capnp.Orphan<capnp.List<Enumerant>>): void;
disownEnumerants(): capnp.Orphan<capnp.List<Enumerant>>;
getEnumerants(): capnp.List<Enumerant>;
hasEnumerants(): boolean;
initEnumerants(length: number): capnp.List<Enumerant>;
setEnumerants(value: capnp.List<Enumerant>): void;
toString(): string;
}
export declare class Node_Interface extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
static _Methods: capnp.ListCtor<Method>;
static _Superclasses: capnp.ListCtor<Superclass>;
adoptMethods(value: capnp.Orphan<capnp.List<Method>>): void;
disownMethods(): capnp.Orphan<capnp.List<Method>>;
getMethods(): capnp.List<Method>;
hasMethods(): boolean;
initMethods(length: number): capnp.List<Method>;
setMethods(value: capnp.List<Method>): void;
adoptSuperclasses(value: capnp.Orphan<capnp.List<Superclass>>): void;
disownSuperclasses(): capnp.Orphan<capnp.List<Superclass>>;
getSuperclasses(): capnp.List<Superclass>;
hasSuperclasses(): boolean;
initSuperclasses(length: number): capnp.List<Superclass>;
setSuperclasses(value: capnp.List<Superclass>): void;
toString(): string;
}
export declare class Node_Const extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
adoptType(value: capnp.Orphan<Type>): void;
disownType(): capnp.Orphan<Type>;
getType(): Type;
hasType(): boolean;
initType(): Type;
setType(value: Type): void;
adoptValue(value: capnp.Orphan<Value>): void;
disownValue(): capnp.Orphan<Value>;
getValue(): Value;
hasValue(): boolean;
initValue(): Value;
setValue(value: Value): void;
toString(): string;
}
export declare class Node_Annotation extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
adoptType(value: capnp.Orphan<Type>): void;
disownType(): capnp.Orphan<Type>;
getType(): Type;
hasType(): boolean;
initType(): Type;
setType(value: Type): void;
getTargetsFile(): boolean;
setTargetsFile(value: boolean): void;
getTargetsConst(): boolean;
setTargetsConst(value: boolean): void;
getTargetsEnum(): boolean;
setTargetsEnum(value: boolean): void;
getTargetsEnumerant(): boolean;
setTargetsEnumerant(value: boolean): void;
getTargetsStruct(): boolean;
setTargetsStruct(value: boolean): void;
getTargetsField(): boolean;
setTargetsField(value: boolean): void;
getTargetsUnion(): boolean;
setTargetsUnion(value: boolean): void;
getTargetsGroup(): boolean;
setTargetsGroup(value: boolean): void;
getTargetsInterface(): boolean;
setTargetsInterface(value: boolean): void;
getTargetsMethod(): boolean;
setTargetsMethod(value: boolean): void;
getTargetsParam(): boolean;
setTargetsParam(value: boolean): void;
getTargetsAnnotation(): boolean;
setTargetsAnnotation(value: boolean): void;
toString(): string;
}
export declare enum Node_Which {
FILE = 0,
STRUCT = 1,
ENUM = 2,
INTERFACE = 3,
CONST = 4,
ANNOTATION = 5
}
export declare class Node extends __S {
static readonly FILE = Node_Which.FILE;
static readonly STRUCT = Node_Which.STRUCT;
static readonly ENUM = Node_Which.ENUM;
static readonly INTERFACE = Node_Which.INTERFACE;
static readonly CONST = Node_Which.CONST;
static readonly ANNOTATION = Node_Which.ANNOTATION;
static readonly Parameter: typeof Node_Parameter;
static readonly NestedNode: typeof Node_NestedNode;
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
static _Parameters: capnp.ListCtor<Node_Parameter>;
static _NestedNodes: capnp.ListCtor<Node_NestedNode>;
static _Annotations: capnp.ListCtor<Annotation>;
getId(): capnp.Uint64;
setId(value: capnp.Uint64): void;
getDisplayName(): string;
setDisplayName(value: string): void;
getDisplayNamePrefixLength(): number;
setDisplayNamePrefixLength(value: number): void;
getScopeId(): capnp.Uint64;
setScopeId(value: capnp.Uint64): void;
adoptParameters(value: capnp.Orphan<capnp.List<Node_Parameter>>): void;
disownParameters(): capnp.Orphan<capnp.List<Node_Parameter>>;
getParameters(): capnp.List<Node_Parameter>;
hasParameters(): boolean;
initParameters(length: number): capnp.List<Node_Parameter>;
setParameters(value: capnp.List<Node_Parameter>): void;
getIsGeneric(): boolean;
setIsGeneric(value: boolean): void;
adoptNestedNodes(value: capnp.Orphan<capnp.List<Node_NestedNode>>): void;
disownNestedNodes(): capnp.Orphan<capnp.List<Node_NestedNode>>;
getNestedNodes(): capnp.List<Node_NestedNode>;
hasNestedNodes(): boolean;
initNestedNodes(length: number): capnp.List<Node_NestedNode>;
setNestedNodes(value: capnp.List<Node_NestedNode>): void;
adoptAnnotations(value: capnp.Orphan<capnp.List<Annotation>>): void;
disownAnnotations(): capnp.Orphan<capnp.List<Annotation>>;
getAnnotations(): capnp.List<Annotation>;
hasAnnotations(): boolean;
initAnnotations(length: number): capnp.List<Annotation>;
setAnnotations(value: capnp.List<Annotation>): void;
isFile(): boolean;
setFile(): void;
getStruct(): Node_Struct;
initStruct(): Node_Struct;
isStruct(): boolean;
setStruct(): void;
getEnum(): Node_Enum;
initEnum(): Node_Enum;
isEnum(): boolean;
setEnum(): void;
getInterface(): Node_Interface;
initInterface(): Node_Interface;
isInterface(): boolean;
setInterface(): void;
getConst(): Node_Const;
initConst(): Node_Const;
isConst(): boolean;
setConst(): void;
getAnnotation(): Node_Annotation;
initAnnotation(): Node_Annotation;
isAnnotation(): boolean;
setAnnotation(): void;
toString(): string;
which(): Node_Which;
}
export declare class Field_Slot extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
getOffset(): number;
setOffset(value: number): void;
adoptType(value: capnp.Orphan<Type>): void;
disownType(): capnp.Orphan<Type>;
getType(): Type;
hasType(): boolean;
initType(): Type;
setType(value: Type): void;
adoptDefaultValue(value: capnp.Orphan<Value>): void;
disownDefaultValue(): capnp.Orphan<Value>;
getDefaultValue(): Value;
hasDefaultValue(): boolean;
initDefaultValue(): Value;
setDefaultValue(value: Value): void;
getHadExplicitDefault(): boolean;
setHadExplicitDefault(value: boolean): void;
toString(): string;
}
export declare class Field_Group extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
getTypeId(): capnp.Uint64;
setTypeId(value: capnp.Uint64): void;
toString(): string;
}
export declare enum Field_Ordinal_Which {
IMPLICIT = 0,
EXPLICIT = 1
}
export declare class Field_Ordinal extends __S {
static readonly IMPLICIT = Field_Ordinal_Which.IMPLICIT;
static readonly EXPLICIT = Field_Ordinal_Which.EXPLICIT;
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
isImplicit(): boolean;
setImplicit(): void;
getExplicit(): number;
isExplicit(): boolean;
setExplicit(value: number): void;
toString(): string;
which(): Field_Ordinal_Which;
}
export declare enum Field_Which {
SLOT = 0,
GROUP = 1
}
export declare class Field extends __S {
static readonly NO_DISCRIMINANT = 65535;
static readonly SLOT = Field_Which.SLOT;
static readonly GROUP = Field_Which.GROUP;
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
defaultDiscriminantValue: DataView;
};
static _Annotations: capnp.ListCtor<Annotation>;
getName(): string;
setName(value: string): void;
getCodeOrder(): number;
setCodeOrder(value: number): void;
adoptAnnotations(value: capnp.Orphan<capnp.List<Annotation>>): void;
disownAnnotations(): capnp.Orphan<capnp.List<Annotation>>;
getAnnotations(): capnp.List<Annotation>;
hasAnnotations(): boolean;
initAnnotations(length: number): capnp.List<Annotation>;
setAnnotations(value: capnp.List<Annotation>): void;
getDiscriminantValue(): number;
setDiscriminantValue(value: number): void;
getSlot(): Field_Slot;
initSlot(): Field_Slot;
isSlot(): boolean;
setSlot(): void;
getGroup(): Field_Group;
initGroup(): Field_Group;
isGroup(): boolean;
setGroup(): void;
getOrdinal(): Field_Ordinal;
initOrdinal(): Field_Ordinal;
toString(): string;
which(): Field_Which;
}
export declare class Enumerant extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
static _Annotations: capnp.ListCtor<Annotation>;
getName(): string;
setName(value: string): void;
getCodeOrder(): number;
setCodeOrder(value: number): void;
adoptAnnotations(value: capnp.Orphan<capnp.List<Annotation>>): void;
disownAnnotations(): capnp.Orphan<capnp.List<Annotation>>;
getAnnotations(): capnp.List<Annotation>;
hasAnnotations(): boolean;
initAnnotations(length: number): capnp.List<Annotation>;
setAnnotations(value: capnp.List<Annotation>): void;
toString(): string;
}
export declare class Superclass extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
getId(): capnp.Uint64;
setId(value: capnp.Uint64): void;
adoptBrand(value: capnp.Orphan<Brand>): void;
disownBrand(): capnp.Orphan<Brand>;
getBrand(): Brand;
hasBrand(): boolean;
initBrand(): Brand;
setBrand(value: Brand): void;
toString(): string;
}
export declare class Method extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
static _ImplicitParameters: capnp.ListCtor<Node_Parameter>;
static _Annotations: capnp.ListCtor<Annotation>;
getName(): string;
setName(value: string): void;
getCodeOrder(): number;
setCodeOrder(value: number): void;
adoptImplicitParameters(value: capnp.Orphan<capnp.List<Node_Parameter>>): void;
disownImplicitParameters(): capnp.Orphan<capnp.List<Node_Parameter>>;
getImplicitParameters(): capnp.List<Node_Parameter>;
hasImplicitParameters(): boolean;
initImplicitParameters(length: number): capnp.List<Node_Parameter>;
setImplicitParameters(value: capnp.List<Node_Parameter>): void;
getParamStructType(): capnp.Uint64;
setParamStructType(value: capnp.Uint64): void;
adoptParamBrand(value: capnp.Orphan<Brand>): void;
disownParamBrand(): capnp.Orphan<Brand>;
getParamBrand(): Brand;
hasParamBrand(): boolean;
initParamBrand(): Brand;
setParamBrand(value: Brand): void;
getResultStructType(): capnp.Uint64;
setResultStructType(value: capnp.Uint64): void;
adoptResultBrand(value: capnp.Orphan<Brand>): void;
disownResultBrand(): capnp.Orphan<Brand>;
getResultBrand(): Brand;
hasResultBrand(): boolean;
initResultBrand(): Brand;
setResultBrand(value: Brand): void;
adoptAnnotations(value: capnp.Orphan<capnp.List<Annotation>>): void;
disownAnnotations(): capnp.Orphan<capnp.List<Annotation>>;
getAnnotations(): capnp.List<Annotation>;
hasAnnotations(): boolean;
initAnnotations(length: number): capnp.List<Annotation>;
setAnnotations(value: capnp.List<Annotation>): void;
toString(): string;
}
export declare class Type_List extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
adoptElementType(value: capnp.Orphan<Type>): void;
disownElementType(): capnp.Orphan<Type>;
getElementType(): Type;
hasElementType(): boolean;
initElementType(): Type;
setElementType(value: Type): void;
toString(): string;
}
export declare class Type_Enum extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
getTypeId(): capnp.Uint64;
setTypeId(value: capnp.Uint64): void;
adoptBrand(value: capnp.Orphan<Brand>): void;
disownBrand(): capnp.Orphan<Brand>;
getBrand(): Brand;
hasBrand(): boolean;
initBrand(): Brand;
setBrand(value: Brand): void;
toString(): string;
}
export declare class Type_Struct extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
getTypeId(): capnp.Uint64;
setTypeId(value: capnp.Uint64): void;
adoptBrand(value: capnp.Orphan<Brand>): void;
disownBrand(): capnp.Orphan<Brand>;
getBrand(): Brand;
hasBrand(): boolean;
initBrand(): Brand;
setBrand(value: Brand): void;
toString(): string;
}
export declare class Type_Interface extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
getTypeId(): capnp.Uint64;
setTypeId(value: capnp.Uint64): void;
adoptBrand(value: capnp.Orphan<Brand>): void;
disownBrand(): capnp.Orphan<Brand>;
getBrand(): Brand;
hasBrand(): boolean;
initBrand(): Brand;
setBrand(value: Brand): void;
toString(): string;
}
export declare enum Type_AnyPointer_Unconstrained_Which {
ANY_KIND = 0,
STRUCT = 1,
LIST = 2,
CAPABILITY = 3
}
export declare class Type_AnyPointer_Unconstrained extends __S {
static readonly ANY_KIND = Type_AnyPointer_Unconstrained_Which.ANY_KIND;
static readonly STRUCT = Type_AnyPointer_Unconstrained_Which.STRUCT;
static readonly LIST = Type_AnyPointer_Unconstrained_Which.LIST;
static readonly CAPABILITY = Type_AnyPointer_Unconstrained_Which.CAPABILITY;
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
isAnyKind(): boolean;
setAnyKind(): void;
isStruct(): boolean;
setStruct(): void;
isList(): boolean;
setList(): void;
isCapability(): boolean;
setCapability(): void;
toString(): string;
which(): Type_AnyPointer_Unconstrained_Which;
}
export declare class Type_AnyPointer_Parameter extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
getScopeId(): capnp.Uint64;
setScopeId(value: capnp.Uint64): void;
getParameterIndex(): number;
setParameterIndex(value: number): void;
toString(): string;
}
export declare class Type_AnyPointer_ImplicitMethodParameter extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
getParameterIndex(): number;
setParameterIndex(value: number): void;
toString(): string;
}
export declare enum Type_AnyPointer_Which {
UNCONSTRAINED = 0,
PARAMETER = 1,
IMPLICIT_METHOD_PARAMETER = 2
}
export declare class Type_AnyPointer extends __S {
static readonly UNCONSTRAINED = Type_AnyPointer_Which.UNCONSTRAINED;
static readonly PARAMETER = Type_AnyPointer_Which.PARAMETER;
static readonly IMPLICIT_METHOD_PARAMETER = Type_AnyPointer_Which.IMPLICIT_METHOD_PARAMETER;
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
getUnconstrained(): Type_AnyPointer_Unconstrained;
initUnconstrained(): Type_AnyPointer_Unconstrained;
isUnconstrained(): boolean;
setUnconstrained(): void;
getParameter(): Type_AnyPointer_Parameter;
initParameter(): Type_AnyPointer_Parameter;
isParameter(): boolean;
setParameter(): void;
getImplicitMethodParameter(): Type_AnyPointer_ImplicitMethodParameter;
initImplicitMethodParameter(): Type_AnyPointer_ImplicitMethodParameter;
isImplicitMethodParameter(): boolean;
setImplicitMethodParameter(): void;
toString(): string;
which(): Type_AnyPointer_Which;
}
export declare enum Type_Which {
VOID = 0,
BOOL = 1,
INT8 = 2,
INT16 = 3,
INT32 = 4,
INT64 = 5,
UINT8 = 6,
UINT16 = 7,
UINT32 = 8,
UINT64 = 9,
FLOAT32 = 10,
FLOAT64 = 11,
TEXT = 12,
DATA = 13,
LIST = 14,
ENUM = 15,
STRUCT = 16,
INTERFACE = 17,
ANY_POINTER = 18
}
export declare class Type extends __S {
static readonly VOID = Type_Which.VOID;
static readonly BOOL = Type_Which.BOOL;
static readonly INT8 = Type_Which.INT8;
static readonly INT16 = Type_Which.INT16;
static readonly INT32 = Type_Which.INT32;
static readonly INT64 = Type_Which.INT64;
static readonly UINT8 = Type_Which.UINT8;
static readonly UINT16 = Type_Which.UINT16;
static readonly UINT32 = Type_Which.UINT32;
static readonly UINT64 = Type_Which.UINT64;
static readonly FLOAT32 = Type_Which.FLOAT32;
static readonly FLOAT64 = Type_Which.FLOAT64;
static readonly TEXT = Type_Which.TEXT;
static readonly DATA = Type_Which.DATA;
static readonly LIST = Type_Which.LIST;
static readonly ENUM = Type_Which.ENUM;
static readonly STRUCT = Type_Which.STRUCT;
static readonly INTERFACE = Type_Which.INTERFACE;
static readonly ANY_POINTER = Type_Which.ANY_POINTER;
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
isVoid(): boolean;
setVoid(): void;
isBool(): boolean;
setBool(): void;
isInt8(): boolean;
setInt8(): void;
isInt16(): boolean;
setInt16(): void;
isInt32(): boolean;
setInt32(): void;
isInt64(): boolean;
setInt64(): void;
isUint8(): boolean;
setUint8(): void;
isUint16(): boolean;
setUint16(): void;
isUint32(): boolean;
setUint32(): void;
isUint64(): boolean;
setUint64(): void;
isFloat32(): boolean;
setFloat32(): void;
isFloat64(): boolean;
setFloat64(): void;
isText(): boolean;
setText(): void;
isData(): boolean;
setData(): void;
getList(): Type_List;
initList(): Type_List;
isList(): boolean;
setList(): void;
getEnum(): Type_Enum;
initEnum(): Type_Enum;
isEnum(): boolean;
setEnum(): void;
getStruct(): Type_Struct;
initStruct(): Type_Struct;
isStruct(): boolean;
setStruct(): void;
getInterface(): Type_Interface;
initInterface(): Type_Interface;
isInterface(): boolean;
setInterface(): void;
getAnyPointer(): Type_AnyPointer;
initAnyPointer(): Type_AnyPointer;
isAnyPointer(): boolean;
setAnyPointer(): void;
toString(): string;
which(): Type_Which;
}
export declare enum Brand_Scope_Which {
BIND = 0,
INHERIT = 1
}
export declare class Brand_Scope extends __S {
static readonly BIND = Brand_Scope_Which.BIND;
static readonly INHERIT = Brand_Scope_Which.INHERIT;
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
static _Bind: capnp.ListCtor<Brand_Binding>;
getScopeId(): capnp.Uint64;
setScopeId(value: capnp.Uint64): void;
adoptBind(value: capnp.Orphan<capnp.List<Brand_Binding>>): void;
disownBind(): capnp.Orphan<capnp.List<Brand_Binding>>;
getBind(): capnp.List<Brand_Binding>;
hasBind(): boolean;
initBind(length: number): capnp.List<Brand_Binding>;
isBind(): boolean;
setBind(value: capnp.List<Brand_Binding>): void;
isInherit(): boolean;
setInherit(): void;
toString(): string;
which(): Brand_Scope_Which;
}
export declare enum Brand_Binding_Which {
UNBOUND = 0,
TYPE = 1
}
export declare class Brand_Binding extends __S {
static readonly UNBOUND = Brand_Binding_Which.UNBOUND;
static readonly TYPE = Brand_Binding_Which.TYPE;
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
isUnbound(): boolean;
setUnbound(): void;
adoptType(value: capnp.Orphan<Type>): void;
disownType(): capnp.Orphan<Type>;
getType(): Type;
hasType(): boolean;
initType(): Type;
isType(): boolean;
setType(value: Type): void;
toString(): string;
which(): Brand_Binding_Which;
}
export declare class Brand extends __S {
static readonly Scope: typeof Brand_Scope;
static readonly Binding: typeof Brand_Binding;
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
static _Scopes: capnp.ListCtor<Brand_Scope>;
adoptScopes(value: capnp.Orphan<capnp.List<Brand_Scope>>): void;
disownScopes(): capnp.Orphan<capnp.List<Brand_Scope>>;
getScopes(): capnp.List<Brand_Scope>;
hasScopes(): boolean;
initScopes(length: number): capnp.List<Brand_Scope>;
setScopes(value: capnp.List<Brand_Scope>): void;
toString(): string;
}
export declare enum Value_Which {
VOID = 0,
BOOL = 1,
INT8 = 2,
INT16 = 3,
INT32 = 4,
INT64 = 5,
UINT8 = 6,
UINT16 = 7,
UINT32 = 8,
UINT64 = 9,
FLOAT32 = 10,
FLOAT64 = 11,
TEXT = 12,
DATA = 13,
LIST = 14,
ENUM = 15,
STRUCT = 16,
INTERFACE = 17,
ANY_POINTER = 18
}
export declare class Value extends __S {
static readonly VOID = Value_Which.VOID;
static readonly BOOL = Value_Which.BOOL;
static readonly INT8 = Value_Which.INT8;
static readonly INT16 = Value_Which.INT16;
static readonly INT32 = Value_Which.INT32;
static readonly INT64 = Value_Which.INT64;
static readonly UINT8 = Value_Which.UINT8;
static readonly UINT16 = Value_Which.UINT16;
static readonly UINT32 = Value_Which.UINT32;
static readonly UINT64 = Value_Which.UINT64;
static readonly FLOAT32 = Value_Which.FLOAT32;
static readonly FLOAT64 = Value_Which.FLOAT64;
static readonly TEXT = Value_Which.TEXT;
static readonly DATA = Value_Which.DATA;
static readonly LIST = Value_Which.LIST;
static readonly ENUM = Value_Which.ENUM;
static readonly STRUCT = Value_Which.STRUCT;
static readonly INTERFACE = Value_Which.INTERFACE;
static readonly ANY_POINTER = Value_Which.ANY_POINTER;
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
isVoid(): boolean;
setVoid(): void;
getBool(): boolean;
isBool(): boolean;
setBool(value: boolean): void;
getInt8(): number;
isInt8(): boolean;
setInt8(value: number): void;
getInt16(): number;
isInt16(): boolean;
setInt16(value: number): void;
getInt32(): number;
isInt32(): boolean;
setInt32(value: number): void;
getInt64(): capnp.Int64;
isInt64(): boolean;
setInt64(value: capnp.Int64): void;
getUint8(): number;
isUint8(): boolean;
setUint8(value: number): void;
getUint16(): number;
isUint16(): boolean;
setUint16(value: number): void;
getUint32(): number;
isUint32(): boolean;
setUint32(value: number): void;
getUint64(): capnp.Uint64;
isUint64(): boolean;
setUint64(value: capnp.Uint64): void;
getFloat32(): number;
isFloat32(): boolean;
setFloat32(value: number): void;
getFloat64(): number;
isFloat64(): boolean;
setFloat64(value: number): void;
getText(): string;
isText(): boolean;
setText(value: string): void;
adoptData(value: capnp.Orphan<capnp.Data>): void;
disownData(): capnp.Orphan<capnp.Data>;
getData(): capnp.Data;
hasData(): boolean;
initData(length: number): capnp.Data;
isData(): boolean;
setData(value: capnp.Data): void;
adoptList(value: capnp.Orphan<capnp.Pointer>): void;
disownList(): capnp.Orphan<capnp.Pointer>;
getList(): capnp.Pointer;
hasList(): boolean;
isList(): boolean;
setList(value: capnp.Pointer): void;
getEnum(): number;
isEnum(): boolean;
setEnum(value: number): void;
adoptStruct(value: capnp.Orphan<capnp.Pointer>): void;
disownStruct(): capnp.Orphan<capnp.Pointer>;
getStruct(): capnp.Pointer;
hasStruct(): boolean;
isStruct(): boolean;
setStruct(value: capnp.Pointer): void;
isInterface(): boolean;
setInterface(): void;
adoptAnyPointer(value: capnp.Orphan<capnp.Pointer>): void;
disownAnyPointer(): capnp.Orphan<capnp.Pointer>;
getAnyPointer(): capnp.Pointer;
hasAnyPointer(): boolean;
isAnyPointer(): boolean;
setAnyPointer(value: capnp.Pointer): void;
toString(): string;
which(): Value_Which;
}
export declare class Annotation extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
getId(): capnp.Uint64;
setId(value: capnp.Uint64): void;
adoptBrand(value: capnp.Orphan<Brand>): void;
disownBrand(): capnp.Orphan<Brand>;
getBrand(): Brand;
hasBrand(): boolean;
initBrand(): Brand;
setBrand(value: Brand): void;
adoptValue(value: capnp.Orphan<Value>): void;
disownValue(): capnp.Orphan<Value>;
getValue(): Value;
hasValue(): boolean;
initValue(): Value;
setValue(value: Value): void;
toString(): string;
}
export declare enum ElementSize {
EMPTY = 0,
BIT = 1,
BYTE = 2,
TWO_BYTES = 3,
FOUR_BYTES = 4,
EIGHT_BYTES = 5,
POINTER = 6,
INLINE_COMPOSITE = 7
}
export declare class CapnpVersion extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
getMajor(): number;
setMajor(value: number): void;
getMinor(): number;
setMinor(value: number): void;
getMicro(): number;
setMicro(value: number): void;
toString(): string;
}
export declare class CodeGeneratorRequest_RequestedFile_Import extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
getId(): capnp.Uint64;
setId(value: capnp.Uint64): void;
getName(): string;
setName(value: string): void;
toString(): string;
}
export declare class CodeGeneratorRequest_RequestedFile extends __S {
static readonly Import: typeof CodeGeneratorRequest_RequestedFile_Import;
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
static _Imports: capnp.ListCtor<CodeGeneratorRequest_RequestedFile_Import>;
getId(): capnp.Uint64;
setId(value: capnp.Uint64): void;
getFilename(): string;
setFilename(value: string): void;
adoptImports(value: capnp.Orphan<capnp.List<CodeGeneratorRequest_RequestedFile_Import>>): void;
disownImports(): capnp.Orphan<capnp.List<CodeGeneratorRequest_RequestedFile_Import>>;
getImports(): capnp.List<CodeGeneratorRequest_RequestedFile_Import>;
hasImports(): boolean;
initImports(length: number): capnp.List<CodeGeneratorRequest_RequestedFile_Import>;
setImports(value: capnp.List<CodeGeneratorRequest_RequestedFile_Import>): void;
toString(): string;
}
export declare class CodeGeneratorRequest extends __S {
static readonly RequestedFile: typeof CodeGeneratorRequest_RequestedFile;
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
static _Nodes: capnp.ListCtor<Node>;
static _RequestedFiles: capnp.ListCtor<CodeGeneratorRequest_RequestedFile>;
adoptCapnpVersion(value: capnp.Orphan<CapnpVersion>): void;
disownCapnpVersion(): capnp.Orphan<CapnpVersion>;
getCapnpVersion(): CapnpVersion;
hasCapnpVersion(): boolean;
initCapnpVersion(): CapnpVersion;
setCapnpVersion(value: CapnpVersion): void;
adoptNodes(value: capnp.Orphan<capnp.List<Node>>): void;
disownNodes(): capnp.Orphan<capnp.List<Node>>;
getNodes(): capnp.List<Node>;
hasNodes(): boolean;
initNodes(length: number): capnp.List<Node>;
setNodes(value: capnp.List<Node>): void;
adoptRequestedFiles(value: capnp.Orphan<capnp.List<CodeGeneratorRequest_RequestedFile>>): void;
disownRequestedFiles(): capnp.Orphan<capnp.List<CodeGeneratorRequest_RequestedFile>>;
getRequestedFiles(): capnp.List<CodeGeneratorRequest_RequestedFile>;
hasRequestedFiles(): boolean;
initRequestedFiles(length: number): capnp.List<CodeGeneratorRequest_RequestedFile>;
setRequestedFiles(value: capnp.List<CodeGeneratorRequest_RequestedFile>): void;
toString(): string;
}
|