- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 74
 
Open
Labels
Description
I was checking to see if I can redistribute the AST accross multiple threads, such as for caching the AST for multiple Jint that are running the same script. So it's natural to check if the AST is immutable, and hence safe for this, like e.g. the Roslyn syntax tree is.
According to the source code I have looked at so far, the AST is indeed immutable, but it would be nice if the documentation mentioned it somewhere :). So other people later don't have to spend time investigating the source code to figure that out.