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
TimedAstVisitor2(this._baseVisitor, [Stopwatch? watch])
: stopwatch = watch ?? Stopwatch();