Esempio n. 1
0
        public bool Emptiable(object stateObject)
        {
            ValidationState state = ToState(stateObject);
            RdpPattern      p     = state.Pattern;

            return(!(p.EndTagDeriv() is RdpNotAllowed));
        }
Esempio n. 2
0
        public RdpPattern EndTagDeriv(RdpPattern p)
        {
            RdpPattern m = endTag [p] as RdpPattern;

            if (m != null)
            {
                return(m);
            }

            m          = p.EndTagDeriv(this);
            endTag [p] = m;
            return(m);
        }
Esempio n. 3
0
 // endTagDeriv :: Pattern -> Pattern
 // [implemented]
 internal static RdpPattern EndTagDeriv(RdpPattern p)
 {
     return(p.EndTagDeriv());
 }