Browse Source

Remove unused implementations from CLITypePrinter.

pull/818/head
Joao Matos 9 years ago
parent
commit
35761e1ca6
  1. 96
      src/Generator/Generators/CLI/CLITypePrinter.cs

96
src/Generator/Generators/CLI/CLITypePrinter.cs

@ -338,12 +338,6 @@ namespace CppSharp.Generators.CLI
return unaryTransformType.BaseType.Visit(this); return unaryTransformType.BaseType.Visit(this);
} }
public override TypePrinterResult VisitVectorType(VectorType vectorType,
TypeQualifiers quals)
{
throw new NotImplementedException();
}
public override TypePrinterResult VisitCILType(CILType type, TypeQualifiers quals) public override TypePrinterResult VisitCILType(CILType type, TypeQualifiers quals)
{ {
var result = type.Type.FullName.Replace(".", "::"); var result = type.Type.FullName.Replace(".", "::");
@ -358,12 +352,6 @@ namespace CppSharp.Generators.CLI
return VisitPrimitiveType(type); return VisitPrimitiveType(type);
} }
public override TypePrinterResult VisitUnsupportedType(UnsupportedType type,
TypeQualifiers quals)
{
throw new NotImplementedException();
}
public override TypePrinterResult VisitDeclaration(Declaration decl, public override TypePrinterResult VisitDeclaration(Declaration decl,
TypeQualifiers quals) TypeQualifiers quals)
{ {
@ -410,26 +398,6 @@ namespace CppSharp.Generators.CLI
return VisitClassDecl(specialization); return VisitClassDecl(specialization);
} }
public override TypePrinterResult VisitFieldDecl(Field field)
{
throw new NotImplementedException();
}
public override TypePrinterResult VisitFunctionDecl(Function function)
{
throw new NotImplementedException();
}
public override TypePrinterResult VisitMethodDecl(Method method)
{
throw new NotImplementedException();
}
public override TypePrinterResult VisitParameterDecl(Parameter parameter)
{
throw new NotImplementedException();
}
public override TypePrinterResult VisitTypedefDecl(TypedefDecl typedef) public override TypePrinterResult VisitTypedefDecl(TypedefDecl typedef)
{ {
return typedef.Name; return typedef.Name;
@ -451,47 +419,6 @@ namespace CppSharp.Generators.CLI
VisitEnumDecl((Enumeration) item.Namespace), VisitDeclaration(item)); VisitEnumDecl((Enumeration) item.Namespace), VisitDeclaration(item));
} }
public override TypePrinterResult VisitVariableDecl(Variable variable)
{
throw new NotImplementedException();
}
public override TypePrinterResult VisitClassTemplateDecl(ClassTemplate template)
{
throw new NotImplementedException();
}
public override TypePrinterResult VisitFunctionTemplateDecl(
FunctionTemplate template)
{
throw new NotImplementedException();
}
public override TypePrinterResult VisitMacroDefinition(MacroDefinition macro)
{
throw new NotImplementedException();
}
public override TypePrinterResult VisitNamespace(Namespace @namespace)
{
throw new NotImplementedException();
}
public override TypePrinterResult VisitEvent(Event @event)
{
throw new NotImplementedException();
}
public override TypePrinterResult VisitProperty(Property property)
{
throw new NotImplementedException();
}
public override TypePrinterResult VisitFriend(Friend friend)
{
throw new NotImplementedException();
}
public override string ToString(Type type) public override string ToString(Type type)
{ {
return type.Visit(this).ToString(); return type.Visit(this).ToString();
@ -514,28 +441,5 @@ namespace CppSharp.Generators.CLI
{ {
return nonTypeTemplateParameter.Name; return nonTypeTemplateParameter.Name;
} }
public override TypePrinterResult VisitTypeAliasTemplateDecl(
TypeAliasTemplate typeAliasTemplate)
{
throw new NotImplementedException();
}
public override TypePrinterResult VisitFunctionTemplateSpecializationDecl(
FunctionTemplateSpecialization specialization)
{
throw new NotImplementedException();
}
public override TypePrinterResult VisitVarTemplateDecl(VarTemplate template)
{
throw new NotImplementedException();
}
public override TypePrinterResult VisitVarTemplateSpecializationDecl(
VarTemplateSpecialization template)
{
throw new NotImplementedException();
}
} }
} }

Loading…
Cancel
Save