void XmlRenderer::renderNode(const TypeNode& node) { StringBuffer attrs; if (node.type().isDef()) { attrs << " ty='" << xmlEncode(node.type().typeId()) << "'"; fReferencedTypes.insert(std::make_pair(node.type().typeId(), node.type())); } displayTagAttr("type", StrHelper(attrs.toString()), String()); }
void PrintEquelleASTVisitor::visit(TypeNode& node) { std::cout << SymbolTable::equelleString(node.type()); }
void PrintASTVisitor::visit(TypeNode& node) { std::cout << indent() << "TypeNode: " << SymbolTable::equelleString(node.type()) << '\n'; }