ToCppBuffer

extern (C++) final
class ToCppBuffer : Visitor {}

Constructors

this
this(OutBuffer* checkbuf, OutBuffer* fwdbuf, OutBuffer* donebuf, OutBuffer* buf)
Undocumented in source.

Members

Aliases

AST
alias AST = ASTCodegen
Undocumented in source.
visit
alias visit = Visitor.visit
Undocumented in source.

Enums

EnumKind
enum EnumKind
Undocumented in source.

Functions

handleNspace
void handleNspace(AST.Dsymbol namespace, Dsymbols* members)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.Dsymbol s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.Import i)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.AttribDeclaration pd)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.StorageClassDeclaration scd)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.LinkDeclaration ld)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.CPPMangleDeclaration md)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.Module m)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.FuncDeclaration fd)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.UnitTestDeclaration utd)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.VarDeclaration vd)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.TypeInfoDeclaration tid)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.AliasDeclaration ad)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.Nspace ns)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.CPPNamespaceDeclaration ns)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.AnonDeclaration ad)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.StructDeclaration sd)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.ClassDeclaration cd)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.EnumDeclaration ed)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.EnumMember em)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.Type t)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.TypeIdentifier t)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.TypeNull t)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.TypeTypeof t)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.TypeBasic t)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.TypePointer t)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.TypeSArray t)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.TypeAArray t)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.TypeFunction tf)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.TypeEnum t)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.TypeStruct t)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.TypeDArray t)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.TypeInstance t)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.TemplateDeclaration td)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.TypeClass t)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.Parameter p)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.Expression e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.VarExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.CallExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.DotVarExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.DotIdExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.NullExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.ArrayLiteralExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.StringExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.RealExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.IntegerExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AST.StructLiteralExp sle)
Undocumented in source. Be warned that the author may not have intended to support it.
writeDeclEnd
void writeDeclEnd()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

adparent
AST.AggregateDeclaration adparent;
Undocumented in source.
buf
OutBuffer* buf;
Undocumented in source.
checkbuf
OutBuffer* checkbuf;
Undocumented in source.
currentVisibility
AST.Visibility.Kind currentVisibility;

Last written visibility level

donebuf
OutBuffer* donebuf;
Undocumented in source.
forwarded
bool[void*] forwarded;
Undocumented in source.
forwardedAA
bool forwardedAA;
Undocumented in source.
fwdbuf
OutBuffer* fwdbuf;
Undocumented in source.
hasReal
bool hasReal;
Undocumented in source.
ident
Identifier ident;
Undocumented in source.
ignoredCounter
int ignoredCounter;

How many symbols were ignored

linkage
LINK linkage;
Undocumented in source.
origType
AST.Type* origType;
Undocumented in source.
printIgnored
bool printIgnored;
Undocumented in source.
storageClass
AST.STC storageClass;

Currently applicable storage classes

tdparent
AST.TemplateDeclaration tdparent;
Undocumented in source.
visited
bool[void*] visited;
Undocumented in source.

Inherited Members

From Visitor

visit
alias visit = ParseTimeVisitor!ASTCodegen.visit
Undocumented in source.
visit
void visit(ASTCodegen.ErrorStatement s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.PeelStatement s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.UnrolledLoopStatement s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.SwitchErrorStatement s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.DebugStatement s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.DtorExpStatement s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.ForwardingStatement s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.OverloadSet s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.LabelDsymbol s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.WithScopeSymbol s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.ArrayScopeSymbol s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.OverDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.SymbolDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.ForwardingAttribDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.ThisDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.TypeInfoDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.TypeInfoStructDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.TypeInfoClassDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.TypeInfoInterfaceDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.TypeInfoPointerDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.TypeInfoArrayDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.TypeInfoStaticArrayDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.TypeInfoAssociativeArrayDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.TypeInfoEnumDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.TypeInfoFunctionDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.TypeInfoDelegateDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.TypeInfoTupleDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.TypeInfoConstDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.TypeInfoInvariantDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.TypeInfoSharedDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.TypeInfoWildDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.TypeInfoVectorDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.FuncAliasDeclaration s)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.ErrorInitializer i)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.ErrorExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.ComplexExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.StructLiteralExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.ObjcClassReferenceExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.SymOffExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.OverExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.HaltExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.DotTemplateExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.DotVarExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.DelegateExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.DotTypeExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.VectorExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.VectorArrayExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.SliceExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.ArrayLengthExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.DelegatePtrExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.DelegateFuncptrExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.DotExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.IndexExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.ConstructExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.BlitExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.RemoveExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.ClassReferenceExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.VoidInitExp e)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ASTCodegen.ThrownExceptionExp e)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta