public virtual StatementSnippet VisitStatementSnippet(StatementSnippet snippet) { return snippet; }
public override StatementSnippet VisitStatementSnippet(StatementSnippet snippet) { if (snippet == null) return null; return base.VisitStatementSnippet((StatementSnippet)snippet.Clone()); }
public EventingVisitor(Action<StatementSnippet> visitStatementSnippet) { VisitedStatementSnippet += visitStatementSnippet; } public event Action<StatementSnippet> VisitedStatementSnippet; public override StatementSnippet VisitStatementSnippet(StatementSnippet snippet) { if (VisitedStatementSnippet != null) VisitedStatementSnippet(snippet); return base.VisitStatementSnippet(snippet); }
public override StatementSnippet VisitStatementSnippet(StatementSnippet snippet) { throw new NotImplementedException("Node type not yet supported"); }
public override StatementSnippet VisitStatementSnippet(StatementSnippet snippet){ System.Compiler.Parser p = this.DefaultCompiler.CreateParser(snippet.SourceContext.Document, this.ErrorNodes); p.ParseStatements(this.CurrentStatementList); return null; }