How can I tell SyntaxVisitor to only visit nodes that do not change scope?

Dotaz How can I tell SyntaxVisitor to only visit nodes that do not change scope?

  • 3. února 2012 17:15
     
     

    Short of running through the entire list of overridable Visit* methods in SyntaxVisitor and determining which ones potentially will change the scope from a parent node, how can I use a SyntaxVisitor to only iterate within a certain scope?

Všechny reakce

  • 4. února 2012 3:05
    Vlastník
     
     
    Hi - could you please give an example of what you are trying to do?
    Shyam Namboodiripad | Software Development Engineer in Test | Roslyn Compilers Team