Next: Selection Tokens, Previous: Syntax of an Atom-Selection, Up: Atom Selection
The selection parser operates like a Hewlett-Packard calculator, performing its operations using Reverse Polish notation using an internal stack. Tokens are parsed and performed from left to right. Operations that select atoms based on the structure simply turn on the flags for the atoms selected; the stack manipulation operators can combine this flags in arbitrary ways. When the selection string is completed, the top of the stack is returned as the selection.
All of the tokens followed by a * are interpreted using wildcard characters as follows: