public TypeDenoter VisitSimpleTypeDenoter(SimpleTypeDenoter ast, Void arg) { Declaration binding = ast.Identifier.Visit(this, null); if (binding is TypeDeclaration decl) { return(decl.Type); } ReportUndeclaredOrError(binding, ast.Identifier, "\"%\" is not a type identifier"); return(StandardEnvironment.ErrorType); }
public int VisitSimpleTypeDenoter(SimpleTypeDenoter ast, Frame frame) { return(0); }