about summary refs log tree commit diff stats
path: root/tree-sitter-yts/test/corpus/duration.txt
blob: 207e0a7b889f601b69892708ad7cbec782141135 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
================================================================================
Parse multiple lines with different durations
================================================================================

pick 6f21 "Name" "2024-01-17" "A" "1h 0m" "url"
pick 6z81 "Name2" "2024-01-16" "A2" "20m 02s" "url2"
pick 6a84 "Name3" "2024-01-16" "A3" "20h 0m" "url3"
pick 6b06 "Name4" "2024-01-16" "A4" "[No duration]" "url4"

--------------------------------------------------------------------------------

(source_file
  (line
    (command)
    (id)
    (title
      (quote)
      (quote))
    (date
      (quote)
      (quote))
    (author
      (quote)
      (quote))
    (duration
      (quote)
      (quote))
    (url
      (quote)
      (quote)))
  (line
    (command)
    (id)
    (title
      (quote)
      (quote))
    (date
      (quote)
      (quote))
    (author
      (quote)
      (quote))
    (duration
      (quote)
      (quote))
    (url
      (quote)
      (quote)))
  (line
    (command)
    (id)
    (title
      (quote)
      (quote))
    (date
      (quote)
      (quote))
    (author
      (quote)
      (quote))
    (duration
      (quote)
      (quote))
    (url
      (quote)
      (quote)))
  (line
    (command)
    (id)
    (title
      (quote)
      (quote))
    (date
      (quote)
      (quote))
    (author
      (quote)
      (quote))
    (duration
      (quote)
      (quote))
    (url
      (quote)
      (quote))))