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

Method defFRef

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

Source from the content-addressed store, hash-verified

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

Callers 1

defineMethod · 0.95

Calls 1

isFRefMethod · 0.95

Tested by

no test coverage detected