public Visit ( Microsoft.CodeAnalysis.SyntaxNode node ) : void | ||
node | Microsoft.CodeAnalysis.SyntaxNode | |
Résultat | void |
public string CreateFromFile(string fileContent) { var tree = CSharpSyntaxTree.ParseText(fileContent); var comments = new CommentWalker(); comments.Visit(tree.GetRoot()); var nodes = tree.GetRoot().DescendantNodes(descendIntoTrivia: true); foreach (var syntaxNode in nodes) { } return ""; //var res = new ExampleCode(null, ) }
public string CreateFromFile(string fileContent) { var tree = CSharpSyntaxTree.ParseText(fileContent); var comments = new CommentWalker(); comments.Visit(tree.GetRoot()); var nodes = tree.GetRoot().DescendantNodes(descendIntoTrivia: true); foreach (var syntaxNode in nodes) { } return(""); //var res = new ExampleCode(null, ) }