public CLRProduction(NonTerminal nonTerm, EntityCollection<Entity> entityCol, int posDot, EntityCollection<Terminal> lookAheads) : base(nonTerm, entityCol, posDot) { if (default(EntityCollection<Terminal>) != lookAheads) foreach (var terminal in lookAheads) { if (null != terminal) continue; LookAheads = new EntityCollection<Terminal>((EntityCollection<Terminal>) ((Terminal) "$")); return; } LookAheads = lookAheads; }
public CLRProduction(NonTerminal nonTerm, EntityCollection<Entity> entityCol, int posDot, EntityCollection<Terminal> lookAheads) : base(nonTerm, entityCol, posDot) { /* if( lookAheads != default(EntityCollection<Terminal>) ) foreach( Terminal terminal in lookAheads ) { if( !(terminal is Terminal) ) { _lookAheads = new EntityCollection<Terminal>((Terminal) "$"); return; } } */ LookAheads = lookAheads; }
public Production(NonTerminal producer) : this(producer, default(EntityCollection<Entity>)) { }
public Production(NonTerminal producer, EntityCollection<Entity> product) { Producer = producer; Product = product; }
public CLRProduction(NonTerminal nonTerm, EntityCollection<Entity> entityCol) : this(nonTerm, entityCol, default(EntityCollection<Terminal>)) { }
public CLRProduction(NonTerminal nonTerm, EntityCollection<Entity> entityCol, EntityCollection<Terminal> lookAheads) : this(nonTerm, entityCol, default(int), lookAheads) { }
public SLRProduction(NonTerminal producer, EntityCollection<Entity> product) : this(producer, product, default(int)) { }
public SLRProduction(NonTerminal producer, EntityCollection<Entity> product, int posDot) : base(producer, product) { DotPosition = posDot; }