void UpdateRegions(DefaultMethod method) { var methodRegion = new JavaScriptMethodRegion(ast, tree); method.Region = methodRegion.GetHeaderRegion(); method.BodyRegion = methodRegion.GetBodyRegion(); }