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

Method print

chapter09/src/main/java/com/seaofnodes/simple/type/Type.java:55–55  ·  view source on GitHub ↗
(StringBuilder sb)

Source from the content-addressed store, hash-verified

53 public boolean isConstant() { return false; }
54
55 public StringBuilder print(StringBuilder sb) {return is_simple() ? sb.append(STRS[_type]) : sb;}
56
57 // ----------------------------------------------------------
58

Callers 15

toStringMethod · 0.95
testVarDeclMethod · 0.45
testVarAddMethod · 0.45
testVarScopeMethod · 0.45
testVarDistMethod · 0.45
testParseGrammarMethod · 0.45
testAddPeepholeMethod · 0.45
testSubPeepholeMethod · 0.45
testMulPeepholeMethod · 0.45
testDivPeepholeMethod · 0.45
testMinusPeepholeMethod · 0.45

Calls 1

is_simpleMethod · 0.95

Tested by 15

testVarDeclMethod · 0.36
testVarAddMethod · 0.36
testVarScopeMethod · 0.36
testVarDistMethod · 0.36
testParseGrammarMethod · 0.36
testAddPeepholeMethod · 0.36
testSubPeepholeMethod · 0.36
testMulPeepholeMethod · 0.36
testDivPeepholeMethod · 0.36
testMinusPeepholeMethod · 0.36
testExampleMethod · 0.36