Beispiel #1
0
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());
}
Beispiel #3
0
void PrintASTVisitor::visit(TypeNode& node)
{
    std::cout << indent() << "TypeNode: " << SymbolTable::equelleString(node.type()) << '\n';
}