Microsoft.JScript.JSInProcCompiler.GetAllDefines C# (CSharp) Method

GetAllDefines() private method

private GetAllDefines ( string definitionList, Hashtable defines, VsaEngine engine ) : void
definitionList string
defines System.Collections.Hashtable
engine Microsoft.JScript.Vsa.VsaEngine
return void
      private void GetAllDefines(string definitionList, Hashtable defines, VsaEngine engine){
        int startIndex = 0;
        int nextIndex;
        string definition;
        do{
          nextIndex = this.GetArgumentSeparatorIndex(definitionList, startIndex);
          if (nextIndex == -1)
            definition = definitionList.Substring(startIndex);
          else
            definition = definitionList.Substring(startIndex, nextIndex-startIndex);
          this.AddDefinition(definition, defines, engine);
          startIndex = nextIndex+1;
        }while (nextIndex > -1);
      }