Sha256: e512f2fe842dcb184898e997f826ff07f888f4f8d8f90cf00ce203211548b34f

Contents?: true

Size: 974 Bytes

Versions: 5

Compression:

Stored size: 974 Bytes

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pione-0.2.0 test/parser/spec_document-parser.yml
pione-0.1.4 test/parser/spec_document-parser.yml
pione-0.1.3 test/parser/spec_document-parser.yml
pione-0.1.2 test/parser/spec_document-parser.yml
pione-0.1.1 test/parser/spec_document-parser.yml