Skip to content

Commit 0919938

Browse files
committed
CodeGenerator is now an IAstVisitor.
1 parent 3b43a0b commit 0919938

File tree

1 file changed

+111
-1
lines changed

1 file changed

+111
-1
lines changed

src/Generator/Generators/CodeGenerator.cs

Lines changed: 111 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
namespace CppSharp.Generators
1212
{
13-
public abstract class CodeGenerator : BlockGenerator, IDeclVisitor<bool>, IAstVisited
13+
public abstract class CodeGenerator : BlockGenerator, IAstVisitor<bool>
1414
{
1515
public BindingContext Context { get; }
1616

@@ -389,6 +389,116 @@ public virtual bool VisitTypeAliasTemplateDecl(TypeAliasTemplate typeAliasTempla
389389
throw new NotImplementedException();
390390
}
391391

392+
public bool VisitTagType(TagType tag, TypeQualifiers quals)
393+
{
394+
throw new NotImplementedException();
395+
}
396+
397+
public bool VisitArrayType(ArrayType array, TypeQualifiers quals)
398+
{
399+
throw new NotImplementedException();
400+
}
401+
402+
public bool VisitFunctionType(FunctionType function, TypeQualifiers quals)
403+
{
404+
throw new NotImplementedException();
405+
}
406+
407+
public bool VisitPointerType(PointerType pointer, TypeQualifiers quals)
408+
{
409+
throw new NotImplementedException();
410+
}
411+
412+
public bool VisitMemberPointerType(MemberPointerType member, TypeQualifiers quals)
413+
{
414+
throw new NotImplementedException();
415+
}
416+
417+
public bool VisitBuiltinType(BuiltinType builtin, TypeQualifiers quals)
418+
{
419+
throw new NotImplementedException();
420+
}
421+
422+
public bool VisitTypedefType(TypedefType typedef, TypeQualifiers quals)
423+
{
424+
throw new NotImplementedException();
425+
}
426+
427+
public bool VisitAttributedType(AttributedType attributed, TypeQualifiers quals)
428+
{
429+
throw new NotImplementedException();
430+
}
431+
432+
public bool VisitDecayedType(DecayedType decayed, TypeQualifiers quals)
433+
{
434+
throw new NotImplementedException();
435+
}
436+
437+
public bool VisitTemplateSpecializationType(TemplateSpecializationType template, TypeQualifiers quals)
438+
{
439+
throw new NotImplementedException();
440+
}
441+
442+
public bool VisitDependentTemplateSpecializationType(DependentTemplateSpecializationType template, TypeQualifiers quals)
443+
{
444+
throw new NotImplementedException();
445+
}
446+
447+
public bool VisitPrimitiveType(PrimitiveType type, TypeQualifiers quals)
448+
{
449+
throw new NotImplementedException();
450+
}
451+
452+
public bool VisitDeclaration(Declaration decl, TypeQualifiers quals)
453+
{
454+
throw new NotImplementedException();
455+
}
456+
457+
public bool VisitTemplateParameterType(TemplateParameterType param, TypeQualifiers quals)
458+
{
459+
throw new NotImplementedException();
460+
}
461+
462+
public bool VisitTemplateParameterSubstitutionType(TemplateParameterSubstitutionType param, TypeQualifiers quals)
463+
{
464+
throw new NotImplementedException();
465+
}
466+
467+
public bool VisitInjectedClassNameType(InjectedClassNameType injected, TypeQualifiers quals)
468+
{
469+
throw new NotImplementedException();
470+
}
471+
472+
public bool VisitDependentNameType(DependentNameType dependent, TypeQualifiers quals)
473+
{
474+
throw new NotImplementedException();
475+
}
476+
477+
public bool VisitPackExpansionType(PackExpansionType packExpansionType, TypeQualifiers quals)
478+
{
479+
throw new NotImplementedException();
480+
}
481+
482+
public bool VisitUnaryTransformType(UnaryTransformType unaryTransformType, TypeQualifiers quals)
483+
{
484+
throw new NotImplementedException();
485+
}
486+
487+
public bool VisitVectorType(VectorType vectorType, TypeQualifiers quals)
488+
{
489+
throw new NotImplementedException();
490+
}
491+
492+
public bool VisitCILType(CILType type, TypeQualifiers quals)
493+
{
494+
throw new NotImplementedException();
495+
}
496+
497+
public bool VisitUnsupportedType(UnsupportedType type, TypeQualifiers quals)
498+
{
499+
throw new NotImplementedException();
500+
}
501+
392502
#endregion
393503
}
394504

0 commit comments

Comments
 (0)