TimedAstVisitor2<T> constructor
TimedAstVisitor2<T> (
- AstVisitor2<
T> _baseVisitor, [ - Stopwatch? watch
Initialize a newly created visitor to time calls to the given base visitor's visits.
Implementation
new(this._baseVisitor, [Stopwatch? watch]) : stopwatch = watch ?? Stopwatch();