[android-components](../../index.md) / [mozilla.components.tooling.lint](../index.md) / [TextViewAndroidSrcXmlDetector](index.md) / [visitElement](./visit-element.md)

# visitElement

`fun visitElement(context: <ERROR CLASS>, element: `[`Element`](https://developer.android.com/reference/org/w3c/dom/Element.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/tooling/lint/src/main/java/mozilla/components/tooling/lint/TextViewAndroidSrcXmlDetector.kt#L61)