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