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

Method type

chapter24/src/main/java/com/seaofnodes/simple/Var.java:31–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 _loc = loc;
30 }
31 public Type type() {
32 if( !_type.isFRef() ) return _type;
33 // Update self to no longer use the forward ref type
34 Type def = Parser.TYPES.get(((TypeMemPtr)_type)._obj._name);
35 return (_type=_type.meet(def));
36 }
37
38 // Forward reference variables (not types) must be BOTTOM and
39 // distinct from inferred variables

Callers 10

parseAsgnMethod · 0.95
parseStructMethod · 0.95
parseUnaryMethod · 0.95
parsePrimaryMethod · 0.95
_print1Method · 0.95
_mergeMethod · 0.95
updateMethod · 0.45
_endLoopMethod · 0.45
checkGraphsMethod · 0.45
checkGraphsMethod · 0.45

Calls 3

isFRefMethod · 0.45
getMethod · 0.45
meetMethod · 0.45

Tested by 2

checkGraphsMethod · 0.36
checkGraphsMethod · 0.36