| 32 |
|
BOND = "bond"; |
| 33 |
|
BEND = "bend"; |
| 34 |
|
TORSION = "torsion"; |
| 35 |
+ |
INVERSION = "inversion"; |
| 36 |
|
RIGIDBODY = "rigidBody"; |
| 37 |
|
CUTOFFGROUP = "cutoffGroup"; |
| 38 |
|
FRAGMENT = "fragment"; |
| 39 |
|
MEMBERS = "members"; |
| 40 |
+ |
CENTER = "center"; |
| 41 |
|
POSITION = "position"; |
| 42 |
|
ORIENTATION = "orientation"; |
| 43 |
|
ENDBLOCK; |
| 76 |
|
| bondblock |
| 77 |
|
| bendblock |
| 78 |
|
| torsionblock |
| 79 |
+ |
| inversionblock |
| 80 |
|
| rigidbodyblock |
| 81 |
|
| cutoffgroupblock |
| 82 |
|
| fragmentblock |
| 110 |
|
|
| 111 |
|
torsionstatement : assignment |
| 112 |
|
| MEMBERS^ LPAREN! inttuple RPAREN! SEMICOLON! |
| 113 |
+ |
; |
| 114 |
+ |
|
| 115 |
+ |
inversionblock : INVERSION^ (LBRACKET! intConst! RBRACKET!)? LCURLY!(inversionstatement)* RCURLY {#RCURLY->setType(ENDBLOCK);} |
| 116 |
+ |
; |
| 117 |
+ |
|
| 118 |
+ |
inversionstatement : assignment |
| 119 |
+ |
| CENTER^ LPAREN! intConst RPAREN! SEMICOLON! |
| 120 |
|
; |
| 121 |
|
|
| 122 |
|
rigidbodyblock : RIGIDBODY^ LBRACKET! intConst RBRACKET! LCURLY!(rigidbodystatement)* RCURLY {#RCURLY->setType(ENDBLOCK);} |
| 467 |
|
// a couple protected methods to assist in matching floating point numbers |
| 468 |
|
protected |
| 469 |
|
EXPONENT |
| 470 |
< |
: ('e'|'E') ('+'|'-')? ('0'..'9')+ |
| 470 |
> |
: ('e'|'E'|'d'|'D') ('+'|'-')? ('0'..'9')+ |
| 471 |
|
; |
| 472 |
|
|
| 473 |
|
protected |