moleculekit.atomselect.languageparser module#
- moleculekit.atomselect.languageparser.p_compop(p)#
- compopEQUAL
- LESSERGREATERLESSEREQUALGREATEREQUALDOUBLEEQ
- moleculekit.atomselect.languageparser.p_error(p)#
- moleculekit.atomselect.languageparser.p_expression_backbonetype(p)#
- expressionBACKBONETYPE PROTEINBACK
- BACKBONETYPE NUCLEICBACKBACKBONETYPE NORMAL
- moleculekit.atomselect.languageparser.p_expression_comp(p)#
expression : expression compop expression %prec COMP
- moleculekit.atomselect.languageparser.p_expression_exwithin(p)#
expression : EXWITHIN number OF expression
- moleculekit.atomselect.languageparser.p_expression_grouped(p)#
expression : LPAREN expression RPAREN
- moleculekit.atomselect.languageparser.p_expression_logop(p)#
expression : expression logop expression
- moleculekit.atomselect.languageparser.p_expression_molprop(p)#
- expressionmolprop_str_eq
- molprop_int_eq
- moleculekit.atomselect.languageparser.p_expression_numprop(p)#
expression : numprop
- moleculekit.atomselect.languageparser.p_expression_sameas(p)#
- expressionSAME FRAGMENT AS expression
- SAME molprop_int AS expressionSAME molprop_str AS expressionSAME numprop_as_str AS expression
- moleculekit.atomselect.languageparser.p_expression_unary_not(p)#
expression : NOT expression %prec UNOT
- moleculekit.atomselect.languageparser.p_expression_within(p)#
expression : WITHIN number OF expression
- moleculekit.atomselect.languageparser.p_float(p)#
- floatFLOAT
- QUOTEDFLOAT
- moleculekit.atomselect.languageparser.p_float_unary_minus(p)#
float : MINUS float %prec UMINUS
- moleculekit.atomselect.languageparser.p_func_number(p)#
number : func
- moleculekit.atomselect.languageparser.p_integer(p)#
- integerINTEGER
- QUOTEDINT
- moleculekit.atomselect.languageparser.p_integer_range(p)#
integer : integer TO integer
- moleculekit.atomselect.languageparser.p_integer_unary_minus(p)#
integer : MINUS integer %prec UMINUS
- moleculekit.atomselect.languageparser.p_literal_list(p)#
- listlist string
- list integerstring stringstring integerinteger integerinteger string
- moleculekit.atomselect.languageparser.p_logop(p)#
- logopAND
- OR
- moleculekit.atomselect.languageparser.p_mathop(p)#
- mathopPLUS
- MINUSTIMESDIVIDE
- moleculekit.atomselect.languageparser.p_molecule(p)#
- expressionPROTEIN
- NUCLEICIONIONSLIPIDLIPIDSWATERWATERSBACKBONEHYDROGENNOHSIDECHAIN
- moleculekit.atomselect.languageparser.p_molprop_int(p)#
- molprop_intINDEX
- SERIALRESIDRESIDUE
- moleculekit.atomselect.languageparser.p_molprop_int_comp(p)#
expression : molprop_int compop expression %prec COMP
- moleculekit.atomselect.languageparser.p_molprop_int_eq(p)#
- molprop_int_eqmolprop_int integer
- molprop_int list
- moleculekit.atomselect.languageparser.p_molprop_int_modulo(p)#
- molprop_int_eqmolprop_int MODULO integer DOUBLEEQ integer
- molprop_int MODULO integer NOTEQ integer
- moleculekit.atomselect.languageparser.p_molprop_string(p)#
- molprop_strNAME
- ELEMENTRESNAMEALTLOCSEGNAMESEGIDINSERTIONCHAIN
- moleculekit.atomselect.languageparser.p_molprop_string_eq(p)#
- molprop_str_eqmolprop_str string
- molprop_str numbermolprop_str list
- moleculekit.atomselect.languageparser.p_num_funcs(p)#
- funcABS LPAREN number RPAREN
- SQR LPAREN number RPARENSQRT LPAREN number RPAREN
- moleculekit.atomselect.languageparser.p_number(p)#
- numberinteger
- float
- moleculekit.atomselect.languageparser.p_number_expression(p)#
expression : number
- moleculekit.atomselect.languageparser.p_number_mathop(p)#
number : number mathop number
- moleculekit.atomselect.languageparser.p_number_unary_minus(p)#
number : MINUS number %prec UMINUS
- moleculekit.atomselect.languageparser.p_numprop_as_str(p)#
- numprop_as_strCHARGE
- MASSOCCUPANCYBETAXCOORYCOORZCOOR
- moleculekit.atomselect.languageparser.p_numprop_eq_list(p)#
numprop : numprop list
- moleculekit.atomselect.languageparser.p_numprop_eq_number(p)#
numprop : numprop number
- moleculekit.atomselect.languageparser.p_numprop_mathop(p)#
- numpropnumprop mathop number
- numprop mathop numprop
- moleculekit.atomselect.languageparser.p_numprop_number(p)#
- numpropCHARGE
- MASSOCCUPANCYBETAXCOORYCOORZCOOR
- moleculekit.atomselect.languageparser.p_prop_funcs(p)#
- funcABS LPAREN numprop RPAREN
- SQR LPAREN numprop RPARENSQRT LPAREN numprop RPAREN
- moleculekit.atomselect.languageparser.p_string(p)#
- stringSTRING
- QUOTEDSTRINGQUOTEDSTRINGSINGLE
- moleculekit.atomselect.languageparser.t_FLOAT(t)#
(d*.d+)|(d+.d*)
- moleculekit.atomselect.languageparser.t_INTEGER(t)#
d+(?![A-Za-z])
- moleculekit.atomselect.languageparser.t_QUOTEDFLOAT(t)#
“(d*.d+)”|”(d+.d*)”|\'(\d*\.\d+)\'|'(d+.d*)'
- moleculekit.atomselect.languageparser.t_QUOTEDSTRING(t)#
“(?:[^”\]|\.)*”
- moleculekit.atomselect.languageparser.t_QUOTEDSTRINGSINGLE(t)#
‘(?:[^’\]|\.)*’
- moleculekit.atomselect.languageparser.t_STRING(t)#
[a-zA-Z_0-9’]+
- moleculekit.atomselect.languageparser.t_XCOOR(t)#
x
- moleculekit.atomselect.languageparser.t_YCOOR(t)#
y
- moleculekit.atomselect.languageparser.t_ZCOOR(t)#
z
- moleculekit.atomselect.languageparser.t_error(t)#