コード例 #1
0
		public virtual object VisitXmlEmbeddedExpression(XmlEmbeddedExpression xmlEmbeddedExpression, object data) {
			Debug.Assert((xmlEmbeddedExpression != null));
			Debug.Assert((xmlEmbeddedExpression.InlineVBExpression != null));
			return xmlEmbeddedExpression.InlineVBExpression.AcceptVisitor(this, data);
		}
コード例 #2
0
		public virtual object VisitXmlEmbeddedExpression(XmlEmbeddedExpression xmlEmbeddedExpression, object data) {
			throw new global::System.NotImplementedException("XmlEmbeddedExpression");
		}
コード例 #3
0
		public virtual object VisitXmlEmbeddedExpression(XmlEmbeddedExpression xmlEmbeddedExpression, object data) {
			Debug.Assert((xmlEmbeddedExpression != null));
			Debug.Assert((xmlEmbeddedExpression.InlineVBExpression != null));
			nodeStack.Push(xmlEmbeddedExpression.InlineVBExpression);
			xmlEmbeddedExpression.InlineVBExpression.AcceptVisitor(this, data);
			xmlEmbeddedExpression.InlineVBExpression = ((Expression)(nodeStack.Pop()));
			return null;
		}
コード例 #4
0
ファイル: Parser.cs プロジェクト: ThomasZitzler/ILSpy
	void XmlNestedContent(out XmlExpression expr) {
		XmlExpression tmpExpr = null; Location start = la.Location;
		switch (la.kind) {
		case 16: {
			Get();
			tmpExpr = new XmlContentExpression(t.val, XmlContentType.Text);
			break;
		}
		case 18: {
			Get();
			tmpExpr = new XmlContentExpression(t.val, XmlContentType.CData);
			break;
		}
		case 17: {
			Get();
			tmpExpr = new XmlContentExpression(t.val, XmlContentType.Comment);
			break;
		}
		case 19: {
			Get();
			tmpExpr = new XmlContentExpression(t.val, XmlContentType.ProcessingInstruction);
			break;
		}
		case 12: {
			Get();
			Expression innerExpression;
			Expr(out innerExpression);
			Expect(13);
			tmpExpr = new XmlEmbeddedExpression() { InlineVBExpression = innerExpression };
			break;
		}
		case 10: {
			XmlElement(out tmpExpr);
			break;
		}
		default: SynErr(289); break;
		}
		if (tmpExpr.StartLocation.IsEmpty)
				tmpExpr.StartLocation = start;
			if (tmpExpr.EndLocation.IsEmpty)
				tmpExpr.EndLocation = t.EndLocation;
			expr = tmpExpr;

	}
コード例 #5
0
		public sealed override object VisitXmlEmbeddedExpression(XmlEmbeddedExpression xmlEmbeddedExpression, object data) {
			this.BeginVisit(xmlEmbeddedExpression);
			object result = this.TrackedVisitXmlEmbeddedExpression(xmlEmbeddedExpression, data);
			this.EndVisit(xmlEmbeddedExpression);
			return result;
		}
コード例 #6
0
		public virtual object TrackedVisitXmlEmbeddedExpression(XmlEmbeddedExpression xmlEmbeddedExpression, object data) {
			return base.VisitXmlEmbeddedExpression(xmlEmbeddedExpression, data);
		}