public IodineTypeDefinition(string name) : base(TypeDefinition) { Name = name; Attributes ["__name__"] = new InternalIodineProperty(vm => new IodineString(name), null); }
public void SetDocumentation(params string[] args) { Attributes ["__doc__"] = new InternalIodineProperty(vm => { return(new IodineString(string.Join("\n", args))); }, null); }