public static List testVariables(PageContextImpl pc,String strScope) throws FDLanguageException {
return new FDStackFrameImpl(null,pc,null,null).getVariables(strScope);
}
private static List getVariables(FDStackFrameImpl frame,PageContextImpl pc,List list,String strScope) throws FDLanguageException {
Scope scope;
try {
scope = pc.scope(strScope, null);
if(scope!=null) return copyValues(frame,list,scope);
Object value=pc.undefinedScope().get(strScope,null);