Listing 2: Using eval to trap errors.
清单2:使用eval来捕获错误。
eval有别名。
That is the reason we use the eval function.
这就是我们使用eval函数的原因。
Perl provides the eval function for that purpose.
Perl为此提供了eval函数。
Added a simplistic eval support, you can do on your config.
添加了一个很简单的计算(Eval)支持,你能进行配置。
Some features, such as the eval are also not supported.
eval等特性现在也不支持。
The most common is using its read-eval-print-loop (REPL).
其中最常用的一种方法是使用它的REPL(read-eval-print-loop)。
Without the conversion, the eval function basically does nothing.
无需转换的话,eval函数基本上不做任何事情。
Avoiding use of the eval function to process a block of JSON data.
避免使用eval函数来处理JSON数据块。
Using @Eval can help you avoid such problems as shown in listing 6.
使用 @Eval可让您避免这类问题,如清单6 所示。
You can eval the response directly, but it is safer to use a parser.
您可以直接地eval这个响应,但使用解析器将会更安全。
The eval function permits the run-time evaluation of a string of code.
eval函数允许字符串代码的运行时计算。
If your metaprogramming requires eval, it's subject to the same requirements.
如果你的元编程需要eval,那它也必须遵循相同的要求。
Note that the eval-concat in Listing 7 only partially solves our problem.
请注意,清单7中的eval - concat仅仅是解决了我们的部分问题。
Wilson hammered out a ton of the machinery necessary to support compiling eval.
Wilson推敲出一堆支持编译eval时需要的方法。
As a consequence ClojureScript lacks eval or other types of runtime code loading.
因此,ClojureScript缺少eval和其他类型的运行时代码加载能力。
Note: Ideally you shouldn't use eval(), since it can be used to execute arbitrary text.
注意:理想情况下不应该使用eval(),因为它可用于执行任意格式的文本。
The LLVM IR interpreter was investigated in order to interpret faster #eval expressions.
为了更快解释#eval表达式,研究了LLVMIR解释器。
Many script engines maintain state of global variables and functions between calls to eval().
许多脚本引擎在eval()调用之间维持全局变量和函数的状态。
Line 5 USES the eval statement, which is one of the most powerful features of dynamic languages.
第5行使用eval语句,它是动态语言的最强大的特性之一。
As you write more and more test cases, you will find that eval blocks are very useful for many tests.
当您编写越来越多的测试用例时,将发现对于许多测试,eval块很有用。
Instructions embedded in a JSON data block and processed by the eval function are executed immediately.
JSON数据块中嵌入的、通过eval函数处理的指令将立即被执行。
JSConsole is a tool in a similar vein as Weinre, albeit more focused on the console output and eval.
JSConsole是一个风格和Weinre类似的工具,它更多地关注于控制台输出和代码求值。
This can be done by passing the value to the String function as in this example: eval (String (formula));.
这可以像本例中一样通过将值传递给String函数来做到:eval (String (formula));。
The eval command tells the shell to evaluate (execute) the commands generated by the ssh-agent program.
eval命令告诉shell计算(执行)ssh - agent程序生成的命令。
I also predict at least one major security breach as a direct result of passing JSON data to the eval function.
我还预料将出现至少一次由于向eval函数传递JSON数据而造成的重大安全问题。
When your code calls a script engine's eval method, the engine's default bindings of keys and values are used.
当代码调用脚本引擎的eval方法时,将使用引擎默认绑定的关键字和值。
The eval statement in Listing 3 will execute whatever code the server returns, so there is a security risk here.
清单3中的eval语句将执行服务器返回的所有代码,因此这里存在安全风险。
We can instruct the shell to execute the output commands which ssh-agent displays using the shell's eval command.
使用eval命令可以指示shell执行ssh - agent显示的输出命令。
All script-engine eval methods declare they throw a ScriptException, so your code needs to handle it appropriately.
所有脚本引擎eval方法都声明抛出一个ScriptException,因此我们的代码需要适当处理这些异常。
应用推荐