def get_label_names(ctx):
labels = [<EOL>label<EOL>for label in ctx.__dict__<EOL>if not label.startswith("<STR_LIT:_>")<EOL>and label<EOL>not in [<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>"<STR_LIT:start>",<EOL>"<STR_LIT>",<EOL>]<EOL>]<EOL>return labels<EOL>
Get labels defined in an ANTLR context for a parser rule