LR1ConflictResolver.resolveShiftReduceConflict

Calls for resolution of a shift/reduce parser conflict: The parser sees a conflict at state <code>state</code> whether to shift a <code>terminal</code> or reduce an <code>alternative</code> (the underlying grammar being understood). @param terminal @param alternative @param state @return <code>terminal</code> if the shift is favored; <code>alternative</code> if the reduce is favored; <code>null</code> if neither is accepted.

interface LR1ConflictResolver
Object
resolveShiftReduceConflict

Meta