通过将基本模式更改为中级模式或更高模式,您可以使用表达式生成器为业务决策定义实际逻辑。
By changing from basic mode to intermediate mode or higher, you can use the expression builder to define the actual logic for the business decision.
如果选择实现通用表达式生成器类型,则必须将表达式生成器映射到关联的配置节名称。
If you choose to implement a common expression-builder type, you must map the expression builder to the associated section name in the configuration.
如图8所示,您也可以选择使用MessageBroker工具包中提供的XPath表达式生成器编写这些表达式。
As shown in Figure 8, you can optionally author these expressions using the XPath expression builder provided with the Message Broker toolkit.
它们是简单但功能强大的泛化正则表达式,比起传统的LALR或者LR-1语法的解析器生成器来说更易于使用。
They are a simple but powerful generalization of regular expressions that are easier to work with than the LALR or LR-1 grammars of traditional parser generators.
当谈到解析器生成器的时候,解析表达式语法(PEG)最近因为一篇BryanFord介绍的一种叫做“Packrat解析”优化的论文而变得很流行。
When it comes to parser generators, Parsing Expression Grammars (PEG) have become quite popular recently after a thesis by Bryan Ford introduced an optimization called "Packrat Parsing".
接下来的两行代码使用生成器表达式来处理文件对象ps .stdout,分析该文件并在其中搜索您正在查找的行。
The next two lines of code-use generator expressions to handle the file object ps.stdout and to parse it and search it for the lines you are looking for.
新特性包括:表达式闭包(expression closures)、生成器表达式(generator expressions)和本地的JSON编码及解码。
New feature include: expression closures, generator expressions, and native JSON encoding and decoding.
新特性包括:表达式闭包(expression closures)、生成器表达式(generator expressions)和本地的JSON编码及解码。
New feature include: expression closures, generator expressions, and native JSON encoding and decoding.
应用推荐