Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Query operators

Syntax

    QueryOperator :
      .. QualifiedIdentifier
      . ( ListExpressionallowIn )

Descendants operator

o..x

Semantics

The descendants operator o..x looks at o for the meta::descendants() method and returns the result of invoking that method with the given identifier key.

Filter operator

o.(*.name.startsWith("A"))

Semantics

The filter operator o.(...) looks at o for the meta::filter() method and creates a wildcard * binding inside the parenthesized expression that represents the element being tested. The parenthesized expression must return a boolean and represents an activation.