コード例 #1
0
 public bool Compile(string src, ref _CompilerError error)
 {
     if (_compiler == null)
     {
         _compiler = new _Compiler();
     }
     return(_compiler.Compile(squirrelVersion, src, ref error));
 }
コード例 #2
0
 public SquirrelAuthoringScope(SQLanguageService ls, SquirrelVersion ver)
 {
     _ls              = ls;
     squirrelVersion  = ver;
     _targets         = null;
     _origcasetargets = null;
     _line            = 0;
     _compiler        = null; //created when needed
 }