CompileBlock() public method

public CompileBlock ( string text ) : Block
text string
return AjTalk.Language.Block
示例#1
0
 private object Evaluate(Machine machine, string code)
 {
     SimpleCompiler compiler = new SimpleCompiler();
     Block block = compiler.CompileBlock(code);
     return block.Execute(machine, null);
 }