private void checkLocalCollisions() {
		int collisionCount = 0;
		SubtableSymbol sym = root;	// Start with the instruction table
		int i = -1;
		for (;;) {
			int numconst = sym.getNumConstructors();
			for (int j = 0; j < numconst; ++j) {
				if (!checkLocalExports(sym.getConstructor(j))) {
					collisionCount += 1;
				}
			}
			i += 1;
			if (i >= tables.size()) {
				break;
			}
			sym = tables.get(i);
		}
		if (collisionCount > 0) {
			reportWarning(null,
				collisionCount + " constructors with local collisions between operands");
			if (!warnalllocalcollisions) {
				reportWarning(null, "Use -c switch to list each individually");
			}
		}
	}
<code>SleighCompile</code> provides the ability to compile Sleigh language module (e.g., *.slaspec)
files.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/pcodeCPort/slgh_compile/SleighCompile.java