internal SymbolBuild(string Name, SymbolType Type, bool UsesDFA, CreatorType CreatedBy) : base(Name, Type) { this.First = new LookaheadSymbolSet(); this.UsesDFA = UsesDFA; this.CreatedBy = CreatedBy; this.Reclassified = false; }
internal SymbolBuild(string Name, SymbolType Type, int TableIndex) : base(Name, Type, (short)TableIndex) { this.First = new LookaheadSymbolSet(); this.UsesDFA = true; this.CreatedBy = CreatorType.Defined; this.Reclassified = false; }
internal SymbolBuild(string Name, SymbolType Type) : base(Name, Type) { this.First = new LookaheadSymbolSet(); this.UsesDFA = this.ImpliedDFAUsage(Type) > SymbolType.Nonterminal; this.CreatedBy = CreatorType.Defined; this.Reclassified = false; }
internal SymbolBuild(string Name, SymbolType Type, RegExp Exp) : base(Name, Type) { this.First = new LookaheadSymbolSet(); this.RegularExp = Exp; this.UsesDFA = true; this.CreatedBy = CreatorType.Defined; this.Reclassified = false; }
public LookaheadSymbolSet(LookaheadSymbolSet A, LookaheadSymbolSet B) : base(A, B) { }
public bool UnionWith(LookaheadSymbolSet SetB) { return(base.UnionWith(SetB)); }
public LookaheadSymbolSet Union(LookaheadSymbolSet SetB) { return(new LookaheadSymbolSet(this, SetB)); }
// Methods internal SymbolBuild() { this.First = new LookaheadSymbolSet(); }