yara-x-parser 1.9.0

A parsing library for YARA rules.
Documentation
 rule test_1
 └─ condition
    └─ eq
       ├─ field access
       │  ├─ foo
       │  ├─ bar
       │  └─ baz
       └─ foo()

 rule test_2
 └─ condition
    └─ eq
       ├─ baz(<arg0>, <arg1>, <arg2>, <arg3>)
       │  ├─ <object>
       │  │  └─ field access
       │  │     ├─ foo
       │  │     └─ bar
       │  ├─ <arg0>
       │  │  └─ "foo"
       │  ├─ <arg1>
       │  │  └─ 1
       │  ├─ <arg2>
       │  │  └─ 3.14
       │  └─ <arg3>
       │     └─ true
       └─ <expr>[<index>]
          ├─ <expr>
          │  └─ field access
          │     ├─ foo
          │     ├─ bar
          │     └─ baz
          └─ <index>
             └─ 1

 rule test_3
 └─ condition
    └─ defined
       └─ <expr>[<index>]
          ├─ <expr>
          │  └─ field access
          │     ├─ foo
          │     ├─ bar
          │     └─ baz
          └─ <index>
             └─ "foo"