This commit is contained in:
arookas 2016-02-01 03:27:32 -05:00
parent 4999467b29
commit 7157e79e78

View file

@ -59,13 +59,17 @@ namespace arookas {
}
abstract class sunCallableSymbol : sunSymbol {
public sunParameterInfo Parameters { get; private set; }
sunParameterInfo mParameters;
public sunParameterInfo Parameters {
get { return mParameters; }
}
public abstract bool HasCallSites { get; }
protected sunCallableSymbol(string name, sunParameterInfo parameterInfo)
: base(name) {
Parameters = parameterInfo;
mParameters = parameterInfo;
}
public abstract void OpenCallSite(sunCompiler compiler, int argumentCount);