view dmd/PostBlitDeclaration.d @ 79:43073c7c7769

updated to 2.035 also implemented a few missing functions still crashes in Import.importAll though
author Trass3r
date Mon, 30 Aug 2010 03:57:51 +0200
parents 2e2a5c3f943a
children 5c859d5fbe27
line wrap: on
line source

module dmd.PostBlitDeclaration;

import dmd.FuncDeclaration;
import dmd.Loc;
import dmd.Identifier;
import dmd.Dsymbol;
import dmd.Scope;
import dmd.OutBuffer;
import dmd.HdrGenState;
import dmd.STC;
import dmd.Id;

class PostBlitDeclaration : FuncDeclaration
{
    this(Loc loc, Loc endloc)
	{
		super(loc, endloc, Id._postblit, STCundefined, null);
	}
	
    this(Loc loc, Loc endloc, Identifier id)
	{
		assert(false);
		super(loc, loc, null, STC.init, null);
	}
	
    override Dsymbol syntaxCopy(Dsymbol)
	{
		assert(false);
	}
	
    override void semantic(Scope sc)
	{
		assert(false);
	}
	
    override void toCBuffer(OutBuffer buf, HdrGenState* hgs)
	{
		assert(false);
	}
	
    version(DMDV2)
	override void toJsonBuffer(OutBuffer buf)
	{
	}

    override bool isVirtual()
	{
		assert(false);
	}
	
    override bool addPreInvariant()
	{
		assert(false);
	}
	
    override bool addPostInvariant()
	{
		assert(false);
	}
	
    override bool overloadInsert(Dsymbol s)
	{
		assert(false);
	}
	
    override void emitComment(Scope sc)
	{
		assert(false);
	}

    override PostBlitDeclaration isPostBlitDeclaration() { return this; }
}