"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "docs/_data/xpath_funs.yml" between
pmd-src-6.37.0.zip and pmd-src-6.38.0.zip

About: PMD is a source code analyzer for Java, JavaScript, XML and others. It finds unused variables, empty catch blocks, unnecessary object creation, and so forth. Sources (Java).

xpath_funs.yml  (pmd-src-6.37.0):xpath_funs.yml  (pmd-src-6.38.0)
skipping to change at line 13 skipping to change at line 13
aliases: aliases:
- &qname_param - &qname_param
name: javaQualifiedName name: javaQualifiedName
type: "xs:string" type: "xs:string"
description: "The qualified name of a Java class, possibly with pairs of bra ckets to indicate an array type. description: "The qualified name of a Java class, possibly with pairs of bra ckets to indicate an array type.
Can also be a primitive type name." Can also be a primitive type name."
- &needs_typenode "The context node must be a {% jdoc jast::TypeNode %}" - &needs_typenode "The context node must be a {% jdoc jast::TypeNode %}"
langs: langs:
- name: "Any language"
ns: "pmd"
funs:
- name: fileName
returnType: "xs:string"
shortDescription: "Returns the current filename"
description: "Returns the current simple filename without path but inclu
ding the extension.
This can be used to write rules that check filename naming
conventions.
<p>This function is available since PMD 6.38.0.</p>"
notes: "The function can be called on any node."
examples:
- code: "//b[pmd:fileName() = 'Foo.xml']"
outcome: "Matches any `&lt;b&gt;` tags in files called `Foo.xml`."
- name: "Java" - name: "Java"
ns: "pmd-java" ns: "pmd-java"
funs: funs:
- name: typeIs - name: typeIs
returnType: "xs:boolean" returnType: "xs:boolean"
shortDescription: "Tests a node's static type" shortDescription: "Tests a node's static type"
description: "Returns true if the context node's static Java type is a s ubtype of the given type. description: "Returns true if the context node's static Java type is a s ubtype of the given type.
This tests for the resolved type of the Java construct, no t the type of the AST node. This tests for the resolved type of the Java construct, no t the type of the AST node.
For example, the AST node for a literal (e.g. `5d`) has ty pe ASTLiteral, however this For example, the AST node for a literal (e.g. `5d`) has ty pe ASTLiteral, however this
function will compare the type of the literal (eg here, `d ouble`) against the argument." function will compare the type of the literal (eg here, `d ouble`) against the argument."
 End of changes. 1 change blocks. 
0 lines changed or deleted 17 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)