void FilterExpr::serializeXML(XMLSerializer &serializer) { XMLSerializer::attributes_t attrs; addCommonAttributes(attrs); serializer.startElement("filter", attrs); serializeChildren(serializer); serializer.endElement(); }
void ForeachStmt::serializeXML(XMLSerializer &serializer) { XMLSerializer::attributes_t attrs; addCommonAttributes(attrs); serializer.startElement("foreach", attrs); serializeChildren(serializer); serializer.endElement(); }
void ReturnStmt::serializeXML(XMLSerializer &serializer) { XMLSerializer::attributes_t attrs; addCommonAttributes(attrs); serializer.startElement("return", attrs); serializeChildren(serializer); serializer.endElement(); }
void IntPredicate::serializeXML(XMLSerializer &serializer) { XMLSerializer::attributes_t attrs; addCommonAttributes(attrs); serializer.startElement("int-predicate", attrs); serializeChildren(serializer); serializer.endElement(); }
void SequenceExpr::serializeXML(XMLSerializer &serializer) { XMLSerializer::attributes_t attrs; addCommonAttributes(attrs); serializer.startElement("sequence", attrs); serializeChildren(serializer); serializer.endElement(); }
void BinaryExpr::serializeXML(XMLSerializer &serializer) { XMLSerializer::attributes_t attrs; attrs["op"] = getOp(); addCommonAttributes(attrs); serializer.startElement("binexpr", attrs); serializeChildren(serializer); serializer.endElement(); }
void TypeTest::serializeXML(XMLSerializer &serializer) { XMLSerializer::attributes_t attrs; attrs["type"] = Type::get(getTypeTest()).getName(); addCommonAttributes(attrs); serializer.startElement("typetest", attrs); serializeChildren(serializer); serializer.endElement(); }
void ImportDecl::serializeXML(XMLSerializer &serializer) { XMLSerializer::attributes_t attrs; attrs["name"] = name.getFullRealName(); if (name.hasPseudonym()) attrs["as"] = name.getFullName(); addCommonAttributes(attrs); serializer.startElement("import", attrs); serializeChildren(serializer); serializer.endElement(); }
void Argument::serializeXML(XMLSerializer &serializer) { XMLSerializer::attributes_t attrs; attrs["name"] = arg.name.getName(); attrs["type"] = Type::get(arg.type).getName(); addCommonAttributes(attrs); serializer.startElement("arg", attrs); serializeChildren(serializer); serializer.endElement(); }