equals

open operator override fun equals(other: Any?): Boolean(source)

Grammars are equal when their gbnf text and root symbol are equal.