apoCHARMM 1.0.0
High-performance molecular dynamics simulations on GPUs
 
Loading...
Searching...
No Matches
SelectionToken.h File Reference

Declares lexical token types and token records for atom selections. More...

Classes

struct  SelectionToken
 Owns one token and its source position. More...
 

Enumerations

enum class  SelectionTokenType {
  End , Identifier , Integer , Real ,
  LeftParenthesis , RightParenthesis , Colon , All ,
  None , And , Or , Not ,
  ByResidue , ByGroup , Bonded , Type ,
  Chemical , SegmentIdentifier , ResidueIdentifier , ResidueName ,
  Atom , ByNumber
}
 Identifies one lexical element in an atom-selection expression. More...
 

Detailed Description

Declares lexical token types and token records for atom selections.

Enumeration Type Documentation

◆ SelectionTokenType

enum class SelectionTokenType
strong

Identifies one lexical element in an atom-selection expression.

The values are internal parser categories rather than a serialized ABI. Text matching for recognized keywords and dotted operators is case-insensitive. See Atom Selection for the user-facing language.

Enumerator
End 

Marks the byte position immediately after the complete expression.

Identifier 

Represents an unclassified bare value.

Integer 

Represents a bare signed decimal integer.

Real 

Represents a bare decimal value containing one decimal point.

LeftParenthesis 

Represents (.

RightParenthesis 

Represents ).

Colon 

Represents the inclusive range separator :.

All 

Represents the primary selection keyword ALL.

None 

Represents the primary selection keyword NONE.

And 

Represents the binary intersection operator .AND..

Or 

Represents the binary union operator .OR..

Not 

Represents the prefix complement operator .NOT..

ByResidue 

Represents the prefix residue-expansion operator .BYRES..

ByGroup 

Represents the prefix group-expansion operator .BYGROUP..

Bonded 

Represents the prefix direct-neighbor operator .BONDED..

Type 

Represents selection by the PSF atom-name field.

Chemical 

Represents selection by the PSF atom-type field.

SegmentIdentifier 

Represents selection by the PSF segment identifier.

ResidueIdentifier 

Represents selection by the PSF residue identifier.

ResidueName 

Represents selection by the PSF residue name.

Atom 

Represents a three-field segment, residue, and atom-name selection.

ByNumber 

Represents selection by one-based atom number.