public CodeBlockForAlt finishAlternative(CodeBlockForAlt blk, List<SrcOp> ops,
											 boolean outerMost)
	{
		blk = delegate.finishAlternative(blk, ops);
		for (CodeGeneratorExtension ext : extensions) blk = ext.finishAlternative(blk, outerMost);
		return blk;
	}
Create RuleFunction per rule and update sempreds,actions of parser
 output object with stuff found in r.
tool/src/org/antlr/v4/codegen/OutputModelController.java