protected override CrawlSyntaxNode VisitType(TypeNode type) { IScope scope = type.FindFirstScope(); try { CrawlType actualType = CrawlType.ParseDecleration(scope, type.TypeName); var v = type.WithActualType(actualType); return(v); } catch (TypeNotFoundException tnfe) { _messages.Add(CompilationMessage.Create(_tokens, type.Interval, MessageCode.TypeNotFound, _file)); return(type); } }