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

Method translate

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

Source from the content-addressed store, hash-verified

62 @Reviser public static class NumberEx extends NumberLiteral {
63 public NumberEx(Token t) { super(t); }
64 public String translate(TypeInfo result) {
65 return Integer.toString(value());
66 }
67 }
68 @Reviser public static class StringEx extends StringLiteral {
69 public StringEx(Token t) { super(t); }

Callers

nothing calls this directly

Calls 2

toStringMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected