Exemple #1
0
        public override int Execute(SmalltalkCommandLine commandLine)
        {
            ScriptSource source = commandLine.Engine.CreateScriptSourceFromFile(this.File, commandLine.SmalltalkLanguageContext.DefaultEncoding);

            return(commandLine.RunFile(source));
        }
Exemple #2
0
        public override int Execute(SmalltalkCommandLine commandLine)
        {
            ScriptSource source = commandLine.Engine.CreateScriptSourceFromString(this.Code, SourceCodeKind.Statements);

            return(commandLine.RunFile(source));
        }
Exemple #3
0
 public abstract int Execute(SmalltalkCommandLine commandLine);