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

Method initializer

src/stone/ast/VarStmnt.java:8–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6 public String name() { return ((ASTLeaf)child(0)).token().getText(); }
7 public TypeTag type() { return (TypeTag)child(1); }
8 public ASTree initializer() { return child(2); }
9 public String toString() {
10 return "(var " + name() + " " + type() + " " + initializer() + ")";
11 }

Callers 5

toStringMethod · 0.95
lookupMethod · 0.80
evalMethod · 0.80
typeCheckMethod · 0.80
translateMethod · 0.80

Calls 1

childMethod · 0.45

Tested by

no test coverage detected