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

Method type

chapter21/src/main/java/com/seaofnodes/simple/Var.java:29–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 _fref = fref;
28 }
29 public Type type() {
30 if( !_type.isFRef() ) return _type;
31 // Update self to no longer use the forward ref type
32 Type def = Parser.TYPES.get(((TypeMemPtr)_type)._obj._name);
33 return (_type=_type.meet(def));
34 }
35 public Type lazyGLB() {
36 Type t = type();
37 return t instanceof TypeMemPtr ? t : t.glb();

Callers 8

lazyGLBMethod · 0.95
parseAsgnMethod · 0.95
parseStructMethod · 0.95
parseUnaryMethod · 0.95
parsePrimaryMethod · 0.95
_print1Method · 0.95
_mergeMethod · 0.95
_endLoopMethod · 0.45

Calls 3

isFRefMethod · 0.45
getMethod · 0.45
meetMethod · 0.45

Tested by

no test coverage detected