lib/net/ldap/filter.rb
##
# Join ("&") and intersect ("|") operations are presented in branches.
# That is, the expression <tt>(&(test1)(test2)</tt> has two branches:
# test1 and test2. Each of these is parsed separately and then pushed
# into a branch array for filter merging using the parent operation.
#
# This method parses the branch text out into an array of filter
# objects.
Join ("&") and intersect ("|") operations are presented in branches.
That is, the expression (&(test1)(test2) has two branches:
test1 and test2. Each of these is parsed separately and then pushed
into a branch array for filter merging using the parent operation.

This method parses the branch text out into an array of filter
objects.
Join ( " & " ) and intersect ( " | " ) operations are presented in branches . That is the expression ( & ( test1 ) ( test2 ) has two branches : test1 and test2 . Each of these is parsed separately and then pushed into a branch array for filter merging using the parent operation . This method parses the branch text out into an array of filter objects .
def parse_branches(scanner)
      branches = []
      while branch = parse_paren_expression(scanner)
        branches << branch
      end
      branches
    end
def parse_branches ( scanner ) branches = [ ] while branch = parse_paren_expression ( scanner ) branches << branch end branches end
Join ("&") and intersect ("|") operations are presented in branches.
Join ( " & " ) and intersect ( " | " ) operations are presented in branches .
scanner
<not_specific>