Idris2Doc : Text.Molfile.Parser.V3000

Text.Molfile.Parser.V3000

(source)

Definitions

beginV3 : (s : String) -> {auto0_ : NonEmpty (unpacks)} ->RExpTrue
  Recognizes a V3000 `BEGIN` statement

Totality: total
Visibility: export
v3000 : RExpTrue
  Recognizes a V3000 version line followed by
`"M V30 BEGIN CTAB"` and

Totality: total
Visibility: export
endV3 : (s : String) -> {auto0_ : NonEmpty (unpacks)} ->RExpTrue
  Recognizes a V3000 `END` statement

Totality: total
Visibility: export
countsExpr : RExpTrue
Totality: total
Visibility: export
bondExprV3 : RExpTrue
Totality: total
Visibility: export
coordinatesV3 : RExpTrue
  Expression for V3000 coordinates.

Totality: total
Visibility: export
newV3 : CSTCKq=>ByteString->F1qCST
  Reads the number of atoms from the given byte string
and sets up a new (mutable) graph accodringly.

Totality: total
Visibility: export
bondsV3 : CSTCKq=>ByteString->F1qCST
  Writes the number of bonds to the corresponding field on the stack.

Totality: total
Visibility: export
indexV3 : CSTCKq=>ByteString->F1qCST
  Reads the number of atoms from the given byte string
and sets up a new (mutable) graph accodringly.

Totality: total
Visibility: export
beginBondV3 : CSTCKq=>F1qCST
Totality: total
Visibility: export
checkBondV3 : CSTCKq=>F1qCST
Totality: total
Visibility: export
coordsV3 : CSTCKq=>ByteString->F1qCST
  Converts a bytestring into a set of coordinates and
writes it to the current atom.

Totality: total
Visibility: export
bondV3 : CSTCKq=>ByteString->F1qCST
Totality: total
Visibility: export
sup : CSTCKq=>ByteString->F1qCST
Totality: total
Visibility: export
mv30prefix : Nat->RExpb->CST-> (RExpTrue, StepqCSzCSTCK)
  Recognizes and drops a fixed number of V3000 lines, increasing
the line count accordingly and setting the column to `6`
(right after the `M V30` prefix). Constant `mv30` must not be
part of the given regular expression.

Totality: total
Visibility: export
emptyEnd : List (RExpTrue, StepqCSzCSTCK)
Totality: total
Visibility: export
prop3 : List (RExpTrue, StepqCSzCSTCK)
  Recognizers for additional atom properties.

Most of these are currently not handled, and some
are not yet supported.

TODO: At least handle (and possibly ignore) the following props:
`Rgroups`, `ATTCHORD`, `CLASS`, `SEQID`, `SEQNAME`

TODO: CHG, RAD, and CFG (for bonds) should be case-insensitive

Totality: total
Visibility: export
bondProp3 : List (RExpTrue, StepqCSzCSTCK)
Totality: total
Visibility: export
rest3 : List (RExpTrue, StepqCSzCSTCK)
  Recognizes (and currently discards) all remaining lines starting
with `M V30` until `M END` is encountered.

Totality: total
Visibility: export
sgroup : List (RExpTrue, StepqCSzCSTCK)
Totality: total
Visibility: export