INNER CODE UNIT · Rust

Some

steineggerlab/folddisco · lib/pdbtbx-cif/src/lib.rs:172

            if let Some(value) = parse_numeric(text) {
                Ok(value)
            } else {
                Ok(Value::Text(text.to_string()))
            }
        } else {
            // './path', '.foo' → text identifier
            let text = parse_identifier(input);
            Ok(Value::Text(text.to_string()))
        }
    } else if input.text.starts_with('?') {
        let next = input.text.chars().nth(1);
        if next.is_none() || next.unwrap().is_ascii_whitespace() {
            input.text = &input.text[1..];
            input.column += 1;
            Ok(Value::Unknown)
        } else {
            // '?foo' → text identifier

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…