public int getRuleIndex() {
		return ruleIndex;
	}
Gets the rule index to use for calls to {@link Recognizer#action}.

@return The rule index for the custom action.
runtime/Java/src/org/antlr/v4/runtime/atn/LexerCustomAction.java