===============================================================================
Non-rule directives
===============================================================================

configfile:
  a
include: a
workdir: a
container: a
localrules: a
localrules: a, b
wildcard_constraints:
    a = "\d+"
ruleorder: a
ruleorder: a > b
scattergather:
    a = 1,
    b = 2
pepfile: "a"
pepschema:
  "b"
envvars: "ABC", "DEF"

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

(module
  (directive
    (directive_parameters
      (identifier)))
  (directive
    (directive_parameters
      (identifier)))
  (directive
    (directive_parameters
      (identifier)))
  (directive
    (directive_parameters
      (identifier)))
  (directive
    (directive_parameters
      (identifier)))
  (directive
    (directive_parameters
      (identifier)
      (identifier)))
  (directive
    (directive_parameters
      (keyword_argument
        (identifier)
        (string
          (string_start)
          (string_content)
          (string_end)))))
  (directive
    (directive_parameters
      (identifier)))
  (directive
    (directive_parameters
      (identifier)
      (identifier)))
  (directive
    (directive_parameters
      (keyword_argument
        (identifier)
        (integer))
      (keyword_argument
        (identifier)
        (integer))))
  (directive
    (directive_parameters
      (string
        (string_start)
        (string_content)
        (string_end))))
  (directive
    (directive_parameters
      (string
        (string_start)
        (string_content)
        (string_end))))
  (directive
    (directive_parameters
      (string
        (string_start)
        (string_content)
        (string_end))
      (string
        (string_start)
        (string_content)
        (string_end))))
)


===============================================================================
onstart, onsuccess, onerror
===============================================================================

onstart:
  pass
onsuccess:
  pass
onerror:
  pass

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

(module
  (directive
    (block
      (pass_statement)))
  (directive
    (block
      (pass_statement)))
  (directive
    (block
      (pass_statement)))
)
