MCPcopy Create free account
hub / github.com/Whiley/WhileyCompiler / Unknown

Class Unknown

src/main/java/wyil/lang/WyilFile.java:6505–6546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6503 }
6504
6505 public static class Unknown extends AbstractType implements Callable {
6506 public Unknown() {
6507 super(TYPE_unknown);
6508 }
6509
6510 @Override
6511 public Type.Tuple getParameter() {
6512 throw new UnsupportedOperationException();
6513 }
6514
6515 @Override
6516 public Type.Tuple getReturn() {
6517 throw new UnsupportedOperationException();
6518 }
6519
6520 @Override
6521 public Type.Unknown substitute(java.util.function.Function<Object, Syntactic.Item> binding) {
6522 throw new UnsupportedOperationException();
6523 }
6524
6525 @Override
6526 public Syntactic.Item clone(Syntactic.Item[] operands) {
6527 return new Unknown();
6528 }
6529
6530 @Override
6531 public String toString() {
6532 return "(???)->(???)";
6533 }
6534
6535 @Override
6536 public String toCanonicalString() {
6537 throw new UnsupportedOperationException();
6538 }
6539
6540 public static final Descriptor DESCRIPTOR_0 = new Descriptor(Operands.ZERO, Data.ZERO, "TYPE_unknown") {
6541 @Override
6542 public Syntactic.Item construct(int opcode, Syntactic.Item[] operands, byte[] data) {
6543 return new Unknown();
6544 }
6545 };
6546 }
6547
6548 public static class Existential extends AbstractType implements Atom {
6549 public Existential(int index) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected