ustar-parser 0.1.4

Lightweight STAR format parser for CIF, mmCIF, NMR-STAR, and other scientific data formats
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
source: tests/test_data/simple_star_file.star

symbol  level  rule name            offsets  line:col   content                                     
──────  ─────  ──── ────            ───────  ────────   ───────                                     
#1      [0]    star_file            0-41     1:1-3:10   data_simple\n_item "hello·world"\n_value 42 
#2      [1]    data_block           0-41     1:1-3:10   data_simple\n_item "hello·world"\n_value 42 
#3      [2]    data_heading         0-11     1:1-1:12   data_simple                                 
#4      [2]    data                 12-31    2:1-2:20   _item "hello·world"                         
#5      [3]    data_name            12-17    2:1-2:6    _item                                       
#6      [3]    double_quote_string  18-31    2:7-2:20   "hello·world"                               
#7      [2]    data                 32-41    3:1-3:10   _value 42                                   
#8      [3]    data_name            32-38    3:1-3:7    _value                                      
#9      [3]    non_quoted_string    39-41    3:8-3:10   42                                          
#10     [1]    EOI                  41-41    3:10-3:10                                              

lines: 3 symbols: 10