TimedAstVisitor<T> class
An AST visitor that captures visit call timings.
Clients may not extend, implement or mix-in this class.
- Implemented types
-
- AstVisitor<
T>
- AstVisitor<
Constructors
-
TimedAstVisitor(AstVisitor<
T> _baseVisitor, [Stopwatch? watch]) - Initialize a newly created visitor to time calls to the given base visitor's visits.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
visitAdjacentStrings(
AdjacentStrings node) → T? -
override
-
visitAnnotation(
Annotation node) → T? -
override
-
visitArgumentList(
ArgumentList node) → T? -
override
-
visitAsExpression(
AsExpression node) → T? -
override
-
visitAssertInitializer(
AssertInitializer node) → T? -
override
-
visitAssertStatement(
AssertStatement node) → T? -
override
-
visitAssignedVariablePattern(
AssignedVariablePattern node) → T? -
override
-
visitAssignmentExpression(
AssignmentExpression node) → T? -
override
-
visitAugmentedExpression(
AugmentedExpression node) → T? -
override
-
visitAugmentedInvocation(
AugmentedInvocation node) → T? -
override
-
visitAwaitExpression(
AwaitExpression node) → T? -
override
-
visitBinaryExpression(
BinaryExpression node) → T? -
override
-
visitBlock(
Block node) → T? -
override
-
visitBlockFunctionBody(
BlockFunctionBody node) → T? -
override
-
visitBooleanLiteral(
BooleanLiteral node) → T? -
override
-
visitBreakStatement(
BreakStatement node) → T? -
override
-
visitCascadeExpression(
CascadeExpression node) → T? -
override
-
visitCaseClause(
CaseClause node) → T? -
override
-
visitCastPattern(
CastPattern node) → T? -
override
-
visitCatchClause(
CatchClause node) → T? -
override
-
visitCatchClauseParameter(
CatchClauseParameter node) → T? -
override
-
visitClassDeclaration(
ClassDeclaration node) → T? -
override
-
visitClassTypeAlias(
ClassTypeAlias node) → T? -
override
-
visitComment(
Comment node) → T? -
override
-
visitCommentReference(
CommentReference node) → T? -
override
-
visitCompilationUnit(
CompilationUnit node) → T? -
override
-
visitConditionalExpression(
ConditionalExpression node) → T? -
override
-
visitConfiguration(
Configuration node) → T? -
override
-
visitConstantPattern(
ConstantPattern node) → T? -
override
-
visitConstructorDeclaration(
ConstructorDeclaration node) → T? -
override
-
visitConstructorFieldInitializer(
ConstructorFieldInitializer node) → T? -
override
-
visitConstructorName(
ConstructorName node) → T? -
override
-
visitConstructorReference(
ConstructorReference node) → T? -
override
-
visitConstructorSelector(
ConstructorSelector node) → T? -
override
-
visitContinueStatement(
ContinueStatement node) → T? -
override
-
visitDeclaredIdentifier(
DeclaredIdentifier node) → T? -
override
-
visitDeclaredVariablePattern(
DeclaredVariablePattern node) → T? -
override
-
visitDefaultFormalParameter(
DefaultFormalParameter node) → T? -
override
-
visitDoStatement(
DoStatement node) → T? -
override
-
visitDottedName(
DottedName node) → T? -
override
-
visitDoubleLiteral(
DoubleLiteral node) → T? -
override
-
visitEmptyFunctionBody(
EmptyFunctionBody node) → T? -
override
-
visitEmptyStatement(
EmptyStatement node) → T? -
override
-
visitEnumConstantArguments(
EnumConstantArguments node) → T? -
override
-
visitEnumConstantDeclaration(
EnumConstantDeclaration node) → T? -
override
-
visitEnumDeclaration(
EnumDeclaration node) → T? -
override
-
visitExportDirective(
ExportDirective node) → T? -
override
-
visitExpressionFunctionBody(
ExpressionFunctionBody node) → T? -
override
-
visitExpressionStatement(
ExpressionStatement node) → T? -
override
-
visitExtendsClause(
ExtendsClause node) → T? -
override
-
visitExtensionDeclaration(
ExtensionDeclaration node) → T? -
override
-
visitExtensionOnClause(
ExtensionOnClause node) → T? -
override
-
visitExtensionOverride(
ExtensionOverride node) → T? -
override
-
visitExtensionTypeDeclaration(
ExtensionTypeDeclaration node) → T? -
override
-
visitFieldDeclaration(
FieldDeclaration node) → T? -
override
-
visitFieldFormalParameter(
FieldFormalParameter node) → T? -
override
-
visitForEachPartsWithDeclaration(
ForEachPartsWithDeclaration node) → T? -
override
-
visitForEachPartsWithIdentifier(
ForEachPartsWithIdentifier node) → T? -
override
-
visitForEachPartsWithPattern(
ForEachPartsWithPattern node) → T? -
override
-
visitForElement(
ForElement node) → T? -
override
-
visitFormalParameterList(
FormalParameterList node) → T? -
override
-
visitForPartsWithDeclarations(
ForPartsWithDeclarations node) → T? -
override
-
visitForPartsWithExpression(
ForPartsWithExpression node) → T? -
override
-
visitForPartsWithPattern(
ForPartsWithPattern node) → T? -
override
-
visitForStatement(
ForStatement node) → T? -
override
-
visitFunctionDeclaration(
FunctionDeclaration node) → T? -
override
-
visitFunctionDeclarationStatement(
FunctionDeclarationStatement node) → T? -
override
-
visitFunctionExpression(
FunctionExpression node) → T? -
override
-
visitFunctionExpressionInvocation(
FunctionExpressionInvocation node) → T? -
override
-
visitFunctionReference(
FunctionReference node) → T? -
override
-
visitFunctionTypeAlias(
FunctionTypeAlias node) → T? -
override
-
visitFunctionTypedFormalParameter(
FunctionTypedFormalParameter node) → T? -
override
-
visitGenericFunctionType(
GenericFunctionType node) → T? -
override
-
visitGenericTypeAlias(
GenericTypeAlias node) → T? -
override
-
visitGuardedPattern(
GuardedPattern node) → T? -
override
-
visitHideCombinator(
HideCombinator node) → T? -
override
-
visitIfElement(
IfElement node) → T? -
override
-
visitIfStatement(
IfStatement node) → T? -
override
-
visitImplementsClause(
ImplementsClause node) → T? -
override
-
visitImplicitCallReference(
ImplicitCallReference node) → T? -
override
-
visitImportDirective(
ImportDirective node) → T? -
override
-
visitImportPrefixReference(
ImportPrefixReference node) → T? -
override
-
visitIndexExpression(
IndexExpression node) → T? -
override
-
visitInstanceCreationExpression(
InstanceCreationExpression node) → T? -
override
-
visitIntegerLiteral(
IntegerLiteral node) → T? -
override
-
visitInterpolationExpression(
InterpolationExpression node) → T? -
override
-
visitInterpolationString(
InterpolationString node) → T? -
override
-
visitIsExpression(
IsExpression node) → T? -
override
-
visitLabel(
Label node) → T? -
override
-
visitLabeledStatement(
LabeledStatement node) → T? -
override
-
visitLibraryDirective(
LibraryDirective node) → T? -
override
-
visitLibraryIdentifier(
LibraryIdentifier node) → T? -
override
-
visitListLiteral(
ListLiteral node) → T? -
override
-
visitListPattern(
ListPattern node) → T? -
override
-
visitLogicalAndPattern(
LogicalAndPattern node) → T? -
override
-
visitLogicalOrPattern(
LogicalOrPattern node) → T? -
override
-
visitMapLiteralEntry(
MapLiteralEntry node) → T? -
override
-
visitMapPattern(
MapPattern node) → T? -
override
-
visitMapPatternEntry(
MapPatternEntry node) → T? -
override
-
visitMethodDeclaration(
MethodDeclaration node) → T? -
override
-
visitMethodInvocation(
MethodInvocation node) → T? -
override
-
visitMixinDeclaration(
MixinDeclaration node) → T? -
override
-
visitMixinOnClause(
MixinOnClause node) → T? -
override
-
visitNamedExpression(
NamedExpression node) → T? -
override
-
visitNamedType(
NamedType node) → T? -
override
-
visitNativeClause(
NativeClause node) → T? -
override
-
visitNativeFunctionBody(
NativeFunctionBody node) → T? -
override
-
visitNullAssertPattern(
NullAssertPattern node) → T? -
override
-
visitNullAwareElement(
NullAwareElement node) → T? -
override
-
visitNullCheckPattern(
NullCheckPattern node) → T? -
override
-
visitNullLiteral(
NullLiteral node) → T? -
override
-
visitObjectPattern(
ObjectPattern node) → T? -
override
-
visitParenthesizedExpression(
ParenthesizedExpression node) → T? -
override
-
visitParenthesizedPattern(
ParenthesizedPattern node) → T? -
override
-
visitPartDirective(
PartDirective node) → T? -
override
-
visitPartOfDirective(
PartOfDirective node) → T? -
override
-
visitPatternAssignment(
PatternAssignment node) → T? -
override
-
visitPatternField(
PatternField node) → T? -
override
-
visitPatternFieldName(
PatternFieldName node) → T? -
override
-
visitPatternVariableDeclaration(
PatternVariableDeclaration node) → T? -
override
-
visitPatternVariableDeclarationStatement(
PatternVariableDeclarationStatement node) → T? -
override
-
visitPostfixExpression(
PostfixExpression node) → T? -
override
-
visitPrefixedIdentifier(
PrefixedIdentifier node) → T? -
override
-
visitPrefixExpression(
PrefixExpression node) → T? -
override
-
visitPropertyAccess(
PropertyAccess node) → T? -
override
-
visitRecordLiteral(
RecordLiteral node) → T? -
override
-
visitRecordPattern(
RecordPattern node) → T? -
override
-
visitRecordTypeAnnotation(
RecordTypeAnnotation node) → T? -
override
-
visitRecordTypeAnnotationNamedField(
RecordTypeAnnotationNamedField node) → T? -
override
-
visitRecordTypeAnnotationNamedFields(
RecordTypeAnnotationNamedFields node) → T? -
override
-
visitRecordTypeAnnotationPositionalField(
RecordTypeAnnotationPositionalField node) → T? -
override
-
visitRedirectingConstructorInvocation(
RedirectingConstructorInvocation node) → T? -
override
-
visitRelationalPattern(
RelationalPattern node) → T? -
override
-
visitRepresentationConstructorName(
RepresentationConstructorName node) → T? -
override
-
visitRepresentationDeclaration(
RepresentationDeclaration node) → T? -
override
-
visitRestPatternElement(
RestPatternElement node) → T? -
override
-
visitRethrowExpression(
RethrowExpression node) → T? -
override
-
visitReturnStatement(
ReturnStatement node) → T? -
override
-
visitScriptTag(
ScriptTag node) → T? -
override
-
visitSetOrMapLiteral(
SetOrMapLiteral node) → T? -
override
-
visitShowCombinator(
ShowCombinator node) → T? -
override
-
visitSimpleFormalParameter(
SimpleFormalParameter node) → T? -
override
-
visitSimpleIdentifier(
SimpleIdentifier node) → T? -
override
-
visitSimpleStringLiteral(
SimpleStringLiteral node) → T? -
override
-
visitSpreadElement(
SpreadElement node) → T? -
override
-
visitStringInterpolation(
StringInterpolation node) → T? -
override
-
visitSuperConstructorInvocation(
SuperConstructorInvocation node) → T? -
override
-
visitSuperExpression(
SuperExpression node) → T? -
override
-
visitSuperFormalParameter(
SuperFormalParameter node) → T? -
override
-
visitSwitchCase(
SwitchCase node) → T? -
override
-
visitSwitchDefault(
SwitchDefault node) → T? -
override
-
visitSwitchExpression(
SwitchExpression node) → T? -
override
-
visitSwitchExpressionCase(
SwitchExpressionCase node) → T? -
override
-
visitSwitchPatternCase(
SwitchPatternCase node) → T? -
override
-
visitSwitchStatement(
SwitchStatement node) → T? -
override
-
visitSymbolLiteral(
SymbolLiteral node) → T? -
override
-
visitThisExpression(
ThisExpression node) → T? -
override
-
visitThrowExpression(
ThrowExpression node) → T? -
override
-
visitTopLevelVariableDeclaration(
TopLevelVariableDeclaration node) → T? -
override
-
visitTryStatement(
TryStatement node) → T? -
override
-
visitTypeArgumentList(
TypeArgumentList node) → T? -
override
-
visitTypeLiteral(
TypeLiteral node) → T? -
override
-
visitTypeParameter(
TypeParameter node) → T? -
override
-
visitTypeParameterList(
TypeParameterList node) → T? -
override
-
visitVariableDeclaration(
VariableDeclaration node) → T? -
override
-
visitVariableDeclarationList(
VariableDeclarationList node) → T? -
override
-
visitVariableDeclarationStatement(
VariableDeclarationStatement node) → T? -
override
-
visitWhenClause(
WhenClause node) → T? -
override
-
visitWhileStatement(
WhileStatement node) → T? -
override
-
visitWildcardPattern(
WildcardPattern node) → T? -
override
-
visitWithClause(
WithClause node) → T? -
override
-
visitYieldStatement(
YieldStatement node) → T? -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited