string GetLocalMethodCode(PythonResolverContext resolverContext) { ScriptingLocalMethod localMethod = new ScriptingLocalMethod(resolverContext.FileContent); int beginLine = resolverContext.ExpressionRegion.BeginLine; return(localMethod.GetCode(beginLine)); }
void CreateLocalMethod(string code) { method = new ScriptingLocalMethod(code); }