MCPcopy Create free account
hub / github.com/chibash/stone / translate

Method translate

src/chap14/ToJava.java:302–305  ·  view source on GitHub ↗
(TypeInfo result)

Source from the content-addressed store, hash-verified

300 @Reviser public static class VarStmntEx3 extends TypeChecker.VarStmntEx2 {
301 public VarStmntEx3(List<ASTree> c) { super(c); }
302 public String translate(TypeInfo result) {
303 return LOCAL + index + "="
304 + translateExpr(initializer(), valueType, varType);
305 }
306 }
307}

Callers

nothing calls this directly

Calls 2

translateExprMethod · 0.80
initializerMethod · 0.80

Tested by

no test coverage detected