public static ScopeNode GetScopesFromText(string text)
 {
     CompilerContext context = new CompilerContext("<input>", new QuietCompilerSink());
     Parser parser = Parser.FromString(state, context, text);
     Statement Statement = parser.ParseFileInput();
     ScopeWalker walker = new ScopeWalker();
     return walker.WalkScopes(Statement);
 }