MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / join

Method join

chapter13/src/main/java/com/seaofnodes/simple/type/Type.java:165–168  ·  view source on GitHub ↗
(Type t)

Source from the content-addressed store, hash-verified

163 if( this==t ) return this;
164 return dual().meet(t.dual()).dual();
165 }
166
167 // True if this "isa" t; e.g. 17 isa TypeInteger.BOT
168 public boolean isa( Type t ) { return meet(t)==t; }
169
170 /**
171 * Compute greatest lower bound in the lattice

Callers 4

testTypeAdHocMethod · 0.45
testLatticeTheoryMethod · 0.45
computeMethod · 0.45
peepholeOptMethod · 0.45

Calls 2

dualMethod · 0.95
meetMethod · 0.45

Tested by 2

testTypeAdHocMethod · 0.36
testLatticeTheoryMethod · 0.36