LexerATNSimulator.closure

@uml Since the alternatives within any lexer decision are ordered by preference, this method stops pursuing the closure as soon as an accept state is reached. After the first accept state is reached by depth-first search from {@code config}, all other (potentially reachable) states for this rule would have a lower priority.

@return {@code true} if an accept state is reached, otherwise {@code false}.

Meta