尽管DB 2完全支持XQuery作为顶层语言,但是最初的XQuery规范并不解析参数标志符。
Although DB2 fully supports XQuery as a top-level language, the initial XQuery specification didn't address parameter markers.
尽管DB 2同时支持SQL和XQuery作为顶层语言,但是XQuery不提供解析参数标志符的手段。
Although DB2 supports both SQL and XQuery as top-level languages, XQuery doesn't provide a means to resolve parameter markers.
这个脚本将这些参数解析为操作和服务器角色。
The script will understand these parameters to be an operation and a server role.
这个复杂的函数调用执行参数解析。
请注意将命令行参数直接传递给解析引擎的方式。
Note how the command-line arguments are passed directly to the parsing engine.
我在本文对命令行参数进行了手工解析,因为在这个例子中它相对简单,同时也是为了演示技术。
I've used manual parsing of command-line arguments in this article, since it was relatively simple, in this case, and to demonstrate the technique.
代理解析url字符串中的参数,并根据方法参数中的值作出反应。
The agent parses the arguments in the URL string and reacts based on the value in the method argument.
要更改的第一个项将是命令行参数解析。
The first item that you will change will be the command line argument parsing.
Rails并不会解析带有这些请求的参数,但是它可能没有足够的保护你的应用程序。
Rails does not parse the parameters provided with these requests, but that may not be enough to protect your application.
清单3展示了如何使用这个python库中的optparse来进行其他三个参数的命令行解析。
Listing 3 shows how you used optparse from the python library for command line parsing of the other three parameters.
目前,该方法接受解析树(作为一个XPathNode对象)作为参数,并返回DFATable的实例。
The method accepts a parse tree (as an XPathNode object) as parameter and, for now, returns an instance of DFATable.
提供RESTfulAPI的Web服务接收几个参数,解析它们,组合一个响应,并返回一个响应(通常是较少的文本)给用户。
A web service that provides a RESTful API takes in a few parameters, interprets them, pieces together a response, and flushes a response (usually a relatively small amount of text) back to the user.
然而,对于更复杂的参数解析,您可能希望查看getopt函数。
However, for more complex argument parsing, you may want to check out the getopt function.
在CPAN档案文件中找到AppConfig 1.56,即用于读取配置文件和解析命令行参数的Perl5模块。
Find AppConfig 1.56, the Perl5 module for reading configuration files and parsing command-line arguments, in the CPAN archives.
然后将在Portlet的初始阶段对缓存进行解析,并将其作为实例参数保留。
The cache is then resolved during the init phase of the portlet and kept as an instance parameter.
最后,我实际调用了在解析wsdl时创建的、传入object参数中的操作。
And finally, I actually invoke the operation passing in the Object parameters created while parsing the WSDL.
以下是我的解决方案:在解析用户参数前,将event . title设置为“Alarm !”
Here's my solution: Set event.title to "Alarm!" before parsing user arguments.
它还为此脚本设置了某些默认值,然后使用标准的Bashshell的getopt函数解析这些命令行参数(清单7给出了这个使用消息的输出)。
It also sets some default values for the script, and then parses the command-line arguments using the standard Bash shell's getopt function. (Listing 7 shows the output of this usage message.)
在提示符下输入‘perldocGetopt:Std’或‘perldoc Getopt:Long’检索这些模块的文档,它使得解析命令行参数更容易。
Type 'perldoc Getopt: : Std' or 'perldoc Getopt: : Long' at your prompt to retrieve the documentation for these modules, which make parsing command-line arguments easy.
在函数内实施参数解析就变得较为简洁,函数调用也变得更具可读性,不易出错。
The implementation of the parameter parsing within the function becomes a little cleaner, and calls to the function becomes much more readable, and less error-prone. For example.
Boost的parse_command _ line例程解析argc和argv参数。
Boost's parse_command_line routine parses the argc and argv arguments.
解析命令行参数后,CanaryHandler打开与远程SPOT的radiostream连接,如清单3所示。
After parsing the command-line arguments, CanaryHandler opens a radiostream connection to the remote SPOT, as shown in Listing 3.
这个调用从./linux/kernel/printk.c 中的printk函数开始,它会在使用 va_start解析可变长度参数之后调用vprintk(在同一个源文件)。
The call begins in ./linux/kernel/printk.c in the printk function, which calls vprintk (in the same source file) after resolving the variable-length arguments using va_start.
接下来要做的就是呈现feed,实现方式是将feed解析为feedservlet的参数,并指定rss作为输出,如清单7所示。
All what we need to do is to render the feed by passing the feed class as a parameter to the feed servlet and specify RSS as an output as shown in Listing 7.
main方法然后会将参数解析委托给CmdLineParser对象,后者将返回Options对象。
The main method then proceeds to delegate the parsing of the argument to a CmdLineParser object, which then returns an Options object.
Doclet有静态start方法,并将解析树作为参数。
A Doclet has a static start method and takes the parse tree as an argument.
使用此方法,您可以解析函数的参数并执行计算。
With this method, you parse your arguments to your function and do your calculation.
这些代码通常与清单4类似,其中展示了一个简单的XML解析,使用命令行参数作为要解析的 XML文档的文件名。
This usually resembles Listing 4 in code, which shows a simple XML parse, using a command-line argument as the filename of the XML document to parse.
程序预期传入多个参数的可能性,并在每个参数解析时显示它们。
The program anticipates the possibility of multiple parameters passed and prints each one as it is parsed.
在运行时,将使用已部署查询和已解析的上下文变量列表作为参数来调用该插件。
At run time, the plug-ins are invoked with the deployed query and a list of resolved context variables as parameters.
应用推荐