MCPcopy Create free account
hub / github.com/KDAB/codebrowser / open

Method open

generator/generator.cpp:77–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void Generator::Tag::open(llvm::raw_ostream &myfile) const
78{
79 myfile << "<" << name;
80 if (!attributes.empty())
81 myfile << " " << attributes;
82
83 if (len) {
84 myfile << ">";
85 } else {
86 // Unfortunately, html5 won't allow <a /> or <span /> tags, they need to be explicitly closed
87 // myfile << "/>";
88 myfile << "></" << name << ">";
89 }
90}
91
92void Generator::Tag::close(llvm::raw_ostream &myfile) const
93{

Callers 7

generateMethod · 0.80
generateMethod · 0.80
mainFunction · 0.80
gererateRecursisivelyFunction · 0.80
jquery.min.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected