public void AddLiteral(string literal, DfaNode node) { if (Literals == null) { Literals = new Dictionary <string, DfaNode>(StringComparer.OrdinalIgnoreCase); } Literals.Add(literal, node); }
public void AddPolicyEdge(object state, DfaNode node) { if (PolicyEdges == null) { PolicyEdges = new Dictionary <object, DfaNode>(); } PolicyEdges.Add(state, node); }