view dmd/DebugSymbol.d @ 32:81796b717a39

A few bad cast fixed. TODO: either get rid of dyncast(), or derive all objects from intermediate supertype.
author korDen
date Tue, 18 May 2010 17:51:46 +0400
parents 427f8aa74d28
children 2e2a5c3f943a
line wrap: on
line source

module dmd.DebugSymbol;

import dmd.Dsymbol;
import dmd.Identifier;
import dmd.Loc;
import dmd.Scope;
import dmd.ScopeDsymbol;
import dmd.HdrGenState;
import dmd.OutBuffer;

class DebugSymbol : Dsymbol
{
    uint level;

    this(Loc loc, Identifier ident)
	{
		assert(false);
	}

    this(Loc loc, uint level)
	{
		assert(false);
	}

    Dsymbol syntaxCopy(Dsymbol s)
	{
		assert(false);
	}

    bool addMember(Scope sc, ScopeDsymbol s, bool memnum)
	{
		assert(false);
	}
	
    void semantic(Scope sc)
	{
		assert(false);
	}
	
    void toCBuffer(OutBuffer buf, HdrGenState* hgs)
	{
		assert(false);
	}
	
    string kind()
	{
		assert(false);
	}
}