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

# visitElement

`fun visitElement(context: <ERROR CLASS>, element: `[`Element`](https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom/-element/index.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/AndroidSrcXmlDetector.kt#L71)