internal PesterSymbolReference(
     ScriptFile scriptFile,
     PesterCommandType commandType,
     string testLine,
     string testName,
     IScriptExtent scriptExtent)
     : base(
         SymbolType.Function,
         testLine.TrimEnd(DefinitionTrimChars),
         scriptExtent,
         scriptFile.FilePath,
         testLine)
 {
     Command  = commandType;
     TestName = testName;
 }
Пример #2
0
 internal PesterSymbolReference(
     ScriptFile scriptFile,
     string commandName,
     string testLine,
     string testName,
     IScriptExtent scriptExtent)
     : base(
         SymbolType.Function,
         testLine.TrimEnd(DefinitionTrimChars),
         scriptExtent,
         scriptFile.FilePath,
         testLine)
 {
     this.Command  = GetCommandType(commandName).Value;
     this.TestName = testName;
 }