public void Visit(FuncDecl decl) { string header = decl.Parent is TemplateDecl ? decl.Parent.ToString() : decl.ToString(); this.Result = header + (decl.Children == null ? "" : decl.Children.Aggregate("", (a, b) => a + "\r\n" + b.GenerateChildContentKey())); }
public void Visit(FuncDecl decl) { this.Result = decl.Parent is TemplateDecl ? decl.Parent.ToString() : decl.ToString(); }