public int getIndex() {
		return idx;
	}
Get the index of the production

<p>
Instead of using deep comparison, the index is often used as the identity of the production
within a grammar.

@return the index
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/sleigh/grammars/AbstractAssemblyProduction.java