int CreateFunctionInstance(TypeBase args, FunctionSyntax syntax, CompoundView compoundView) { var index = _list.Count; var f = new FunctionType(index, syntax, compoundView, args); _list.Add(f); return index; }
public SetterFunction(FunctionType parent, int index, Value body) : base(parent, body) { _functionId = FunctionId .Setter(index); }
FunctionView CreateView(FunctionType target) => target == null ? null : new FunctionView(target, this);
public ConverterAccess(FunctionType parent, CompoundType type) { Parent = parent; Type = type; }
public FunctionView(FunctionType item, SourceView master) : base(master, "Function: " + item.NodeDump) { Client = item.CreateView(Master); Source = item.Body.SourcePart; }