@SafeVarargs
	public static void match(Tree tree, int type, Consumer<Tree>... onChild) {
		matchTree(tree, type, children -> {
			requireCount(onChild.length, children);
			for (int i = 0; i < onChild.length; i++) {
				onChild[i].accept(children.get(i));
			}
		});
	}
Match the given tree to a given pattern with per-child actions

@param tree the (sub-)tree to match, actually its root node
@param type the expected type of the given node
@param onChild a list of actions (usually sub-matching) to perform on each corresponding
           child. The matcher will verify the number of children matches the number of
           actions.
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/exec/SleighUtils.java