public PreferredActionHint(PreferredActionType actionType) {
   ActionType = actionType;
 }
 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);
 }
Exemple #5
0
 public TokenPreviewHint(PreferredActionType actionType, Terminal thisTerm, params Terminal[] comesBefore)
 {
     _actionType    = actionType;
     _firstTerminal = thisTerm;
     _beforeTerminals.UnionWith(comesBefore);
 }
Exemple #6
0
 public TokenPreviewHint(PreferredActionType actionType, string thisSymbol, params string[] comesBefore)
 {
     _actionType  = actionType;
     _firstString = thisSymbol;
     _beforeStrings.AddRange(comesBefore);
 }