Compile() public method

public Compile ( string text, bool isexpression, bool isresultneeded, BinaryStream output ) : void
text string
isexpression bool
isresultneeded bool
output BinaryStream
return void
Exemplo n.º 1
0
 /// <exception cref="Kirikiri.Tjs2.CompileException"></exception>
 /// <exception cref="Kirikiri.Tjs2.VariantException"></exception>
 /// <exception cref="Kirikiri.Tjs2.TJSException"></exception>
 public virtual void CompileScript(string script, string name, int lineofs, bool isresultneeded
     , BinaryStream output)
 {
     Compiler compiler = new Compiler(this);
     if (name != null)
     {
         compiler.SetName(name, lineofs);
     }
     compiler.Compile(script, false, isresultneeded, output);
     compiler = null;
 }