public boolean stringIsCompilableUnit ( String str ) { DimIProxy action = new DimIProxy ( this , IPROXY_STRING_IS_COMPILABLE ) ; action . text = str ; action . withContext ( ) ; return action . booleanResult ; }
Returns whether the given string is syntactically valid script .