SizeOfExpression
using CLanguage.Interpreter;
using CLanguage.Types;
using System;
namespace CLanguage.Syntax
{
public class SizeOfExpression : Expression
{
public Expression Query { get; set; }
public SizeOfExpression(Expression query, Location loc)
{
Query = query;
base.Location = loc;
}
public override CType GetEvaluatedCType(EmitContext ec)
{
return CBasicType.SignedInt;
}
protected override void DoEmit(EmitContext ec)
{
throw new NotImplementedException();
}
}
}