PHP 8.2.31
Preview: predicate-c.yaml Size: 1.15 KB
//proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/REXML/QuickPath/predicate-c.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: A predicate filters a node-set with respect to an axis to produce a new node-set. For each node in the node-set to be filtered, the PredicateExpr is evaluated with that node as the context node, with the number of nodes in the node-set as the context size, and with the proximity position of the node in the node-set with respect to the axis as the context position; if PredicateExpr evaluates to true for that node, the node is included in the new node-set; otherwise, it is not included.
- !ruby/struct:SM::Flow::P 
  body: A PredicateExpr is evaluated by evaluating the Expr and converting the result to a boolean. If the result is a number, the result will be converted to true if the number is equal to the context position and will be converted to false otherwise; if the result is not a number, then the result will be converted as if by a call to the boolean function. Thus a location path para[3] is equivalent to para[position()=3].
full_name: REXML::QuickPath::predicate
is_singleton: true
name: predicate
params: ( elements, path )
visibility: public

Directory Contents

Dirs: 0 × Files: 12

Name Size Perms Modified Actions
188 B lrw-r--r-- 2023-07-26 13:47:47
Edit Download
196 B lrw-r--r-- 2023-07-26 13:47:47
Edit Download
919 B lrw-r--r-- 2023-07-26 13:47:47
Edit Download
216 B lrw-r--r-- 2023-07-26 13:47:47
Edit Download
388 B lrw-r--r-- 2023-07-26 13:47:47
Edit Download
210 B lrw-r--r-- 2023-07-26 13:47:47
Edit Download
203 B lrw-r--r-- 2023-07-26 13:47:47
Edit Download
210 B lrw-r--r-- 2023-07-26 13:47:47
Edit Download
203 B lrw-r--r-- 2023-07-26 13:47:47
Edit Download
172 B lrw-r--r-- 2023-07-26 13:47:47
Edit Download
201 B lrw-r--r-- 2023-07-26 13:47:47
Edit Download
1.15 KB lrw-r--r-- 2023-07-26 13:47:47
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).