/** * Copyright (c) 2017-2025 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author David Sehnal * @author Alexander Rose */ /** * mmCIF parser. * * Trying to be as close to the specification http://www.iucr.org/resources/cif/spec/version1.1/cifsyntax * * Differences I'm aware of: * - Except keywords (data_, loop_, save_) everything is case sensitive. * - The tokens . and ? are treated the same as the values '.' and '?'. * - Ignores \ in the multiline values: * ;abc\ * efg * ; * should have the value 'abcefg' but will have the value 'abc\\nefg' instead. * Post processing of this is left to the consumer of the data. * - Similarly, things like punctuation (\', ..) are left to be processed by the user if needed. * */ import * as Data from '../data-model.js'; import { ReaderResult as Result } from '../../result.js'; import { Task } from '../../../../mol-task/index.js'; import { StringLike } from '../../../common/string-like.js'; export declare function parseCifText(data: StringLike): Task>;