|
@@ -63,13 +63,6 @@ function atomSelectionQuery2(x: any) {
|
|
|
return B.struct.generator.atomGroups(tests);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
const lang = P.MonadicParser.createLanguage({
|
|
|
|
|
|
Parens: function (r: any) {
|
|
@@ -145,11 +138,36 @@ const lang = P.MonadicParser.createLanguage({
|
|
|
})
|
|
|
)
|
|
|
)),
|
|
|
-
|
|
|
+
|
|
|
|
|
|
commu.then(P.MonadicParser.alt(
|
|
|
P.MonadicParser.alt(
|
|
|
P.MonadicParser.alt(
|
|
|
+ P.MonadicParser.seq(
|
|
|
+ orNull(propertiesDict.resn).skip(tator),
|
|
|
+ orNull(propertiesDict.resi).skip(colon),
|
|
|
+ orNull(propertiesDict.chain).skip(dot),
|
|
|
+ orNull(propertiesDict.name)
|
|
|
+ ).map(x => { return { resn: x[0], resi: x[1], chain: x[2], name: x[3] }; }),
|
|
|
+ P.MonadicParser.seq(
|
|
|
+ orNull(propertiesDict.resn).skip(tator),
|
|
|
+ orNull(propertiesDict.resi).skip(colon),
|
|
|
+ orNull(propertiesDict.chain)
|
|
|
+ ).map(x => { return { resn: x[0], resi: x[1], chain: x[2] }; }),
|
|
|
+ P.MonadicParser.seq(
|
|
|
+ orNull(propertiesDict.resn).skip(tator),
|
|
|
+ orNull(propertiesDict.resi).skip(colon).skip(dot),
|
|
|
+ orNull(propertiesDict.name)
|
|
|
+ ).map(x => { return { resn: x[0], resi: x[1], name: x[2] }; }),
|
|
|
+ P.MonadicParser.seq(
|
|
|
+ orNull(propertiesDict.resn).skip(tator),
|
|
|
+ orNull(propertiesDict.resi).skip(dot),
|
|
|
+ orNull(propertiesDict.name)
|
|
|
+ ).map(x => { return { resn: x[0], resi: x[1], name: x[2] }; }),
|
|
|
+ P.MonadicParser.seq(
|
|
|
+ orNull(propertiesDict.resn).skip(tator),
|
|
|
+ orNull(propertiesDict.resi)
|
|
|
+ ).map(x => { return { resn: x[0], resi: x[1]}; }),
|
|
|
P.MonadicParser.seq(
|
|
|
orNull(propertiesDict.resn).skip(tator).skip(colon),
|
|
|
orNull(propertiesDict.chain).skip(dot),
|