Example #1
0
		internal override RdpPattern Compile (RelaxngGrammar grammar)
		{
			IsCompiled = true;
			RdpNameClass cnc = nc.Compile (grammar);
			this.checkInvalidAttrNameClass (cnc);

			return new RdpAttribute (cnc,
				(p != null) ?
					p.Compile (grammar) :
					RdpText.Instance);
		}
Example #2
0
 internal override RdpPattern Compile(RelaxngGrammar grammar)
 {
     return(new RdpElement(
                nc.Compile(grammar), this.makeSingle(grammar)));
 }