public PreferredActionHint(PreferredActionType actionType) { ActionType = actionType; }
public TokenPreviewHint(PreferredActionType actionType, Terminal thisTerm, params Terminal[] comesBefore) { _actionType = actionType; _firstTerminal = thisTerm; _beforeTerminals.UnionWith(comesBefore); }
public TokenPreviewHint(PreferredActionType actionType, string thisSymbol, params string[] comesBefore) { _actionType = actionType; _firstString = thisSymbol; _beforeStrings.AddRange(comesBefore); }