public override int Execute(SmalltalkCommandLine commandLine) { ScriptSource source = commandLine.Engine.CreateScriptSourceFromFile(this.File, commandLine.SmalltalkLanguageContext.DefaultEncoding); return(commandLine.RunFile(source)); }
public override int Execute(SmalltalkCommandLine commandLine) { ScriptSource source = commandLine.Engine.CreateScriptSourceFromString(this.Code, SourceCodeKind.Statements); return(commandLine.RunFile(source)); }
public abstract int Execute(SmalltalkCommandLine commandLine);