view dmd/TraitsExp.d @ 13:427f8aa74d28

On the road to make Phobos compilable
author korDen
date Mon, 12 Apr 2010 16:29:33 +0400
parents 10317f0c89a5
children 460959608115
line wrap: on
line source

module dmd.TraitsExp;

import dmd.Expression;
import dmd.Identifier;
import dmd.ArrayTypes;
import dmd.OutBuffer;
import dmd.Loc;
import dmd.Scope;
import dmd.HdrGenState;
import dmd.TOK;

class TraitsExp : Expression
{
	Identifier ident;
	Objects args;

	this(Loc loc, Identifier ident, Objects args)
	{
		super(loc, TOKtraits, TraitsExp.sizeof);
		this.ident = ident;
		this.args = args;
	}

	Expression syntaxCopy()
	{
		assert(false);
	}

	Expression semantic(Scope sc)
	{
		assert(false);
	}

	void toCBuffer(OutBuffer buf, HdrGenState* hgs)
	{
		assert(false);
	}
}