Sha256: bdd761e59d094d39137a0071202c7620088aeaef5229f65c12d0ea708bd3f0e1

Contents?: true

Size: 1.17 KB

Versions: 2

Compression:

Stored size: 1.17 KB

Contents

toplevel_element:
  valid:
    # parameter line
    - "param $X := 1"
    # parameter block
    - |
      Param
        $X := 1
        $Y := 2
        $Z := 3
      End
    # rule definition
    - |
      Rule Test
        input '*.txt'
        output '{$*}.result'
      Action
        rev {$I[1]} > {$O[1]}
      End
    # assignment
    - "$X := 1"
param_block:
  valid:
    # empty block
    - |
      Param
      End
    # one line block
    - |
      Param
        $X := 1
      End
    # multi line block
    - |
      Param
        $X := 1
        $Y := 2
        $Z := 3
      End
    # multi line with empty line
    - |
      Param
        $X := 1
        
        $Y := 2
      End
    # one line with comment
    - |
      Param
        # param $X := 1
        $X := 1
      End
    # multi line with comments
    - |
      Param
        # param $X := 1
        $X := 1
        # param $Y := 2
        $Y := 2
        # param $Z := 3
        $Z := 3
      End
    # basic param block
    - |
      Basic Param
        $X := 1
        $Y := 2
        $Z := 3
      End
    # advanced param block
    - |
      Advanced Param
        $X := 1
        $Y := 2
        $Z := 3
      End

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pione-0.2.2 test/parser/spec_document-parser.yml
pione-0.2.1 test/parser/spec_document-parser.yml