private Grammar(Compatible c, Dictionary <string, Token> tokens, Dictionary <string, NamedRule> rules, List <string> implicitNames) : base(c) { this.tokens = tokens; this.rules = rules; this.implicitNames = implicitNames; }
internal Grammar(Compatible c) : base(c) { Super = new Supervisor(); tokens = new Dictionary <string, Token>(); rules = new Dictionary <string, NamedRule>(); implicitNames = new List <string>(); }
public bool IsCompatibleWith(Compatible other) { if (ReferenceEquals(other, null)) { throw new NullReferenceException(); } return(CompatibilityGuid == other.CompatibilityGuid); }
public Compatible(Compatible c) : this(c.CompatibilityGuid) { }