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 // Raw declared type, without resolving a forward reference while printing.
32 public Type _type() { return _type; }
33 public Type type() {
34 if( !_type.isFRef() ) return _type;
35 // Update self to no longer use the forward ref type
36 Type def = Parser.TYPES.get(((TypeMemPtr)_type)._obj._name);
37 return (_type=_type.meet(def));
38 }
39

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