File: parse_019.out

package info (click to toggle)
liboptimade-filter-perl 0.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 764 kB
  • sloc: perl: 947; makefile: 2
file content (67 lines) | stat: -rw-r--r-- 6,797 bytes parent folder | download | duplicates (3)
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
$VAR1 = bless( {
                 'operands' => [
                                 bless( {
                                          'operands' => [
                                                          bless( {
                                                                   'name' => [
                                                                               '_exmpl_aax'
                                                                             ]
                                                                 }, 'OPTIMADE::Filter::Property' ),
                                                          '+.1e8'
                                                        ],
                                          'operator' => '<='
                                        }, 'OPTIMADE::Filter::Comparison' ),
                                 bless( {
                                          'operands' => [
                                                          bless( {
                                                                   'operands' => [
                                                                                   bless( {
                                                                                            'name' => [
                                                                                                        'nelements'
                                                                                                      ]
                                                                                          }, 'OPTIMADE::Filter::Property' ),
                                                                                   '10'
                                                                                 ],
                                                                   'operator' => '>='
                                                                 }, 'OPTIMADE::Filter::Comparison' ),
                                                          bless( {
                                                                   'inner' => bless( {
                                                                                       'operands' => [
                                                                                                       bless( {
                                                                                                                'operands' => [
                                                                                                                                bless( {
                                                                                                                                         'name' => [
                                                                                                                                                     '_exmpl_x'
                                                                                                                                                   ]
                                                                                                                                       }, 'OPTIMADE::Filter::Property' ),
                                                                                                                                'Some string'
                                                                                                                              ],
                                                                                                                'operator' => '!='
                                                                                                              }, 'OPTIMADE::Filter::Comparison' ),
                                                                                                       bless( {
                                                                                                                'inner' => bless( {
                                                                                                                                    'operands' => [
                                                                                                                                                    bless( {
                                                                                                                                                             'name' => [
                                                                                                                                                                         '_exmpl_a'
                                                                                                                                                                       ]
                                                                                                                                                           }, 'OPTIMADE::Filter::Property' ),
                                                                                                                                                    '7'
                                                                                                                                                  ],
                                                                                                                                    'operator' => '='
                                                                                                                                  }, 'OPTIMADE::Filter::Comparison' )
                                                                                                              }, 'OPTIMADE::Filter::Negation' )
                                                                                                     ],
                                                                                       'operator' => 'OR'
                                                                                     }, 'OPTIMADE::Filter::AndOr' )
                                                                 }, 'OPTIMADE::Filter::Negation' )
                                                        ],
                                          'operator' => 'AND'
                                        }, 'OPTIMADE::Filter::AndOr' )
                               ],
                 'operator' => 'OR'
               }, 'OPTIMADE::Filter::AndOr' );
== Filter ==
((_exmpl_aax <= "+.1e8") OR ((nelements >= "10") AND (NOT ((_exmpl_x != "Some string") OR (NOT (_exmpl_a = "7"))))))
== SQL ==
'_exmpl_aax' <= "+.1e8" OR ('nelements' >= "10" AND NOT ('_exmpl_x' != "Some string" OR NOT ('_exmpl_a' = "7")))