public class ConflictBuilder extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ConflictBuilder.ConflictData |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONFLICT |
static int |
NONE |
static int |
REDUCE |
static int |
SHIFT |
static int |
SYNTAXERR |
| Constructor and Description |
|---|
ConflictBuilder(int nterms) |
| Modifier and Type | Method and Description |
|---|---|
void |
addReduce(Terminal sym,
int status,
Rule rule,
Rule originalRule) |
void |
clear() |
List<LalrConflict> |
getMergedConflicts(int state,
Symbol[] input,
short[] next,
int[] classterm) |
boolean |
hasConflict(int termSym) |
public static final int NONE
public static final int SHIFT
public static final int REDUCE
public static final int SYNTAXERR
public static final int CONFLICT
public void clear()
public boolean hasConflict(int termSym)
public List<LalrConflict> getMergedConflicts(int state, Symbol[] input, short[] next, int[] classterm)
Copyright © 2014. All rights reserved.