Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeaOfNodes/Simple
/ print
Method
print
chapter13/src/main/java/com/seaofnodes/simple/type/Type.java:186–186 ·
view source on GitHub ↗
(StringBuilder sb)
Source
from the content-addressed store, hash-verified
184
}
185
186
public
StringBuilder print(StringBuilder sb) {
return
is_simple() ? sb.append(STRS[_type]) : sb;}
187
188
// This is used by error messages, and is a shorted print.
189
public
String str() {
return
STRS[_type]; }
Callers
15
typeName
Method · 0.95
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
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