Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
toString
Method · 0.95
testVarDecl
Method · 0.45
testVarAdd
Method · 0.45
testVarScope
Method · 0.45
testVarScopeNoPeephole
Method · 0.45
testVarDist
Method · 0.45
testParseGrammar
Method · 0.45
testAddPeephole
Method · 0.45
testSubPeephole
Method · 0.45
testMulPeephole
Method · 0.45
testDivPeephole
Method · 0.45
testMinusPeephole
Method · 0.45
Calls
1
is_simple
Method · 0.95
Tested by
15
testVarDecl
Method · 0.36
testVarAdd
Method · 0.36
testVarScope
Method · 0.36
testVarScopeNoPeephole
Method · 0.36
testVarDist
Method · 0.36
testParseGrammar
Method · 0.36
testAddPeephole
Method · 0.36
testSubPeephole
Method · 0.36
testMulPeephole
Method · 0.36
testDivPeephole
Method · 0.36
testMinusPeephole
Method · 0.36
testExample
Method · 0.36