public virtual object VisitXmlEmbeddedExpression(XmlEmbeddedExpression xmlEmbeddedExpression, object data) { Debug.Assert((xmlEmbeddedExpression != null)); Debug.Assert((xmlEmbeddedExpression.InlineVBExpression != null)); return xmlEmbeddedExpression.InlineVBExpression.AcceptVisitor(this, data); }
public virtual object VisitXmlEmbeddedExpression(XmlEmbeddedExpression xmlEmbeddedExpression, object data) { throw new global::System.NotImplementedException("XmlEmbeddedExpression"); }
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; }
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; }
public sealed override object VisitXmlEmbeddedExpression(XmlEmbeddedExpression xmlEmbeddedExpression, object data) { this.BeginVisit(xmlEmbeddedExpression); object result = this.TrackedVisitXmlEmbeddedExpression(xmlEmbeddedExpression, data); this.EndVisit(xmlEmbeddedExpression); return result; }
public virtual object TrackedVisitXmlEmbeddedExpression(XmlEmbeddedExpression xmlEmbeddedExpression, object data) { return base.VisitXmlEmbeddedExpression(xmlEmbeddedExpression, data); }