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

Method typeCheck

src/chap14/TypeChecker.java:163–165  ·  view source on GitHub ↗
(TypeEnv tenv)

Source from the content-addressed store, hash-verified

161 @Reviser public static class PrimaryEx2 extends FuncEvaluator.PrimaryEx {
162 public PrimaryEx2(List<ASTree> c) { super(c); }
163 public TypeInfo typeCheck(TypeEnv tenv) throws TypeException {
164 return typeCheck(tenv, 0);
165 }
166 public TypeInfo typeCheck(TypeEnv tenv, int nest) throws TypeException {
167 if (hasPostfix(nest)) {
168 TypeInfo target = typeCheck(tenv, nest + 1);

Callers

nothing calls this directly

Calls 4

hasPostfixMethod · 0.80
postfixMethod · 0.80
typeCheckMethod · 0.45
operandMethod · 0.45

Tested by

no test coverage detected