相反,由于命名空间声明的语法与特性完全相同,因此大多数XML程序员将命名空间视为特性。
Instead, because namespace declarations have exactly the same syntax as attributes, most XML programmers think of namespaces as attributes.
可以声明一个方法并使用单独的语法调用这个方法,但最终系统需要将这两者绑到一起。
You declare a method and invoke it using separate syntax, but eventually the system needs to tie the two together.
我们可以从完整的文件创建语法树,也可以从松散的声明或者表达式生成它。
A syntax tree can be created from an entire file or just a loose statement or expression.
然而,大多数使用过程语言的程序员并不是以xslt语法和方法、声明范例作为标准的。
However, XSLT syntax and methodology, a declarative paradigm, is not the norm for most programmers who use procedural languages.
这些抽象层让开发人员可选择是使用基于特性标记的声明语法,还是使用基于嵌套控件的命令模型来开发。
These abstraction layers give developers the option to use a declarative syntax based on attributes or an imperative model based on nested controls.
名称空间声明是在XML文档中把前缀分配给名称空间的语法设施。
The namespace declaration is the syntactic device through which prefixes are assigned to namespaces in an XML document.
他们中的很多人几乎不具有读写能力,贴在网站上的各种声明语法错误星罗棋布。
Many of them are barely literate, sprinkling their statements on the web with grammatical errors.
使用模板也能做到这一点,但是通过这种新语法可以声明在XPath中使用的函数,而且方便得多。
I could have done this with a template, but with this new syntax I can declare a function that can be used in XPath, which is much more convenient.
您可以采用xml语法来定义前缀和URI映射,以便提供所谓的“缺省(Default)”名称空间声明。
You can adapt the XML syntax that defines the prefix and URI mappings to provide what is termed a "Default" namespace declaration.
仍然可以用array语法和map,像以前那样(即最初从文章“alt . lang .jre:感受Groovy”中学到的方式)声明类似list的集合。
You can still declare list-like collections using the array syntax and maps the same way you always have (that is, the way you first learned in "Feeling Groovy").
nparsedEntityDecl()通知应用程序已经发现了一个未经过语法分析的实体声明。
nparsedEntityDecl() notifies the application that an unparsed entity declaration has been found.
这一次,您可以读取抽象语法树中的所有导入声明了。
This time, you will fetch all of the import statements in the abstract syntax tree.
声明和访问静态方法的语法与此相似。
The syntax for declaring and accessing static methods is similar.
虽然这些工具已经集中在连接点模型、切入点、通知和类型间声明的思想上,但是每种工具在处理AOP语法时,仍有各自明显的优缺点。
While the tools have converged on the idea of a join point model, pointcuts, advice, and inter-type declarations, there are significant trade-offs inherent in each tool's handling of AOP syntax.
我们会讨论文件和包的组织结构,导入其他的类型和变量声明,一些语法习惯和概念。
We'll discuss organization of files and packages, importing other types, variable declarations, miscellaneous syntax conventions and a few other concepts.
您可能非常想利用象属性那样的语法把一些声明设置成外部实体中的缺省属性。
You may be tempted to exploit the attribute-like syntax to have some of your declarations set up as default attributes in an external entity.
不论在哪种情况下,语法规则的声明都类似于解析人工语言的语法声明。
In either case, a grammar is declared in a manner similar to those created to parse artificial languages.
请查看带注释的方法语法图,以获得可能声明的参数类型的完整列表。
View the annotated method syntax diagram for a complete listing of possible declared parameter types.
例如,有些数据库在select语句上提供了特殊的语法,声明用来更新select语句所选中的行。
For example, some databases provide special syntax on the select statements to declare the intentions of updating the rows selected by the select statement.
我们或许需要某种形式的语法上的甜头,使这些扩充的参数声明还过得去。
We'd probably need some form of syntactic sugar to make these augmented parameter declarations tolerable.
VB的声明式事件处理器激发了这一语法灵感。
The syntax is even inspired by VB's declarative event handlers.
虽然工具的方面声明风格之间存在主要的语法差异,但是核心的aop语义是类似的。
While there are major syntactic differences among the tools' aspect declaration style, the core AOP semantics are similar.
这些属性(以前的声明)的语法与前面的WS-RM规范保持一致。
The semantics of these properties (formerly assertions) remain unchanged from the previous revision of the WS-RM specification.
XML规范化消除了XML 1.0和XML名称空间允许的各种语法变体,包括不同的名称空间声明方式。
XML canonicalization eliminates the syntactic variations permitted by XML 1.0 and XML namespaces, including different namespace declaration patterns.
Go为声明匿名函数提供了简单的语法。
Go provides a simple syntax for declaring anonymous functions.
遗憾的是,他们没有为声明那些前缀提供任何语法,所以XPath自身没有象它按道理来说的那么有意义。
Unfortunately, they didn't provide any syntax for declaring those prefixes, so an XPath by itself is not as meaningful as it should be.
XMLEvents为通过声明将脚本附加到文档中提供了统一的语法,甚至能够定义不依赖于脚本解释器的行为。
XML Events offers a uniform syntax for declaratively attaching scripts to documents, and even makes it possible to define behaviors that work without a dependency on a script interpreter.
作为一种特殊情况(在yacc中是隐式的,没有在语法中声明),0标记表示不再有任何标记,解析结束。
As a special case (implicit in yacc, rather than stated in the grammar), a 0 token indicates that there are no more tokens, and ends parsing.
诸如prolog、Mercury、SQL、XSLT这样的语言、ebnf语法和各种格式的真正配置文件,都声明某事是这种情况,或者应用了某些约束。
Languages like Prolog, Mercury, SQL, XSLT, EBNF grammars, and indeed configuration files of various formats, all declare that something is the case, or that certain constraints apply.
诸如prolog、Mercury、SQL、XSLT这样的语言、ebnf语法和各种格式的真正配置文件,都声明某事是这种情况,或者应用了某些约束。
Languages like Prolog, Mercury, SQL, XSLT, EBNF grammars, and indeed configuration files of various formats, all declare that something is the case, or that certain constraints apply.
应用推荐