Пример #1
0
		// startTagOpenDeriv :: Pattern -> QName -> Pattern
		// TODO remains: Interleave, OneOrMore, Group, After
		internal static RdpPattern StartTagOpenDeriv (RdpPattern pattern, string name, string ns)
		{
			return pattern.StartTagOpenDeriv (name, ns);
		}
Пример #2
0
		public RdpPattern StartTagOpenDeriv (RdpPattern p, string local, string ns)
		{
			Hashtable h = startOpen [p] as Hashtable;
			if (h == null) {
				h = new Hashtable ();
				startOpen [p] = h;
			}
			XmlQualifiedName qn = GetQName (local, ns);
			RdpPattern m = h [qn] as RdpPattern;
			if (m == null) {
				m = p.StartTagOpenDeriv (local, ns, this);
				h [qn] = m;
			}
			return m;
		}