MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Visit

Method Visit

tensorflow/java/src/gen/cc/source_writer.cc:334–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334void SourceWriter::TypeVisitor::Visit(const Type& type) {
335 DoVisit(type);
336 for (const Type& t : type.parameters()) {
337 Visit(t);
338 }
339 for (const Annotation& t : type.annotations()) {
340 DoVisit(t);
341 }
342 for (const Type& t : type.supertypes()) {
343 Visit(t);
344 }
345}
346
347void SourceWriter::GenericNamespace::DoVisit(const Type& type) {
348 // ignore non-generic parameters, wildcards and generics already declared

Callers 1

source_writer.ccFile · 0.45

Calls 3

VisitClass · 0.85
annotationsMethod · 0.80
parametersMethod · 0.45

Tested by

no test coverage detected