Esempio n. 1
0
        protected virtual void TryBindRule(RuleBinding ruleBinding, Nfa nfa)
        {
            Contract.Requires(ruleBinding != null);
            if (nfa == null)
            {
                return;
            }

            Nfa.BindRule(ruleBinding, nfa);
        }
Esempio n. 2
0
        protected virtual void TryBindRule([NotNull] RuleBinding ruleBinding, Nfa nfa)
        {
            Debug.Assert(ruleBinding != null);
            if (nfa == null)
            {
                return;
            }

            Nfa.BindRule(ruleBinding, nfa);
        }