public void Visit(BacktickToken token) { if (currentTarget == null) throw new InvalidOperationException("Unexpected exec command outside of target scope"); currentTarget .AddNewTask("Exec") .SetParameterValue("Command", token.BackTickValue); }
public void Visit(BacktickToken token) { VisitedBacktick++; TotalCount++; Tokens.Add(token); }