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

Method defFRef

chapter21/src/main/java/com/seaofnodes/simple/Var.java:44–50  ·  view source on GitHub ↗
( Type type, boolean xfinal, Parser.Lexer loc )

Source from the content-addressed store, hash-verified

42 public boolean isFRef() { return _fref; }
43
44 public void defFRef( Type type, boolean xfinal, Parser.Lexer loc ) {
45 assert isFRef() && xfinal;
46 _type = type;
47 _final = true;
48 _loc = loc;
49 _fref = false;
50 }
51
52 @Override public String toString() {
53 return _type.toString()+(_final ? " ": " !")+_name;

Callers 1

defineMethod · 0.95

Calls 1

isFRefMethod · 0.95

Tested by

no test coverage detected