use vars qw(%result_texis %result_texts %result_trees %result_errors 
   %result_indices %result_sectioning %result_nodes %result_menus
   %result_floats %result_converted %result_converted_errors 
   %result_elements %result_directions_text %result_indices_sort_strings);

use utf8;

$result_trees{'nested_ifset_ifclear'} = {
  'contents' => [
    {
      'contents' => [
        {
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line'
        },
        {
          'args' => [
            {
              'parent' => {},
              'text' => 'conditionals',
              'type' => 'macro_name'
            }
          ],
          'cmdname' => 'macro',
          'contents' => [
            {
              'parent' => {},
              'text' => '@ifset somevar
',
              'type' => 'raw'
            },
            {
              'parent' => {},
              'text' => '@ifset anothervar
',
              'type' => 'raw'
            },
            {
              'parent' => {},
              'text' => 'Both somevar and anothervar are set.
',
              'type' => 'raw'
            },
            {
              'parent' => {},
              'text' => '@end ifset
',
              'type' => 'raw'
            },
            {
              'parent' => {},
              'text' => '@ifclear anothervar
',
              'type' => 'raw'
            },
            {
              'parent' => {},
              'text' => 'Somevar is set, anothervar is not.
',
              'type' => 'raw'
            },
            {
              'parent' => {},
              'text' => '@end ifclear
',
              'type' => 'raw'
            },
            {
              'parent' => {},
              'text' => '@end ifset
',
              'type' => 'raw'
            },
            {
              'args' => [
                {
                  'contents' => [
                    {
                      'parent' => {},
                      'text' => 'macro'
                    }
                  ],
                  'extra' => {
                    'spaces_after_argument' => '
'
                  },
                  'parent' => {},
                  'type' => 'line_arg'
                }
              ],
              'cmdname' => 'end',
              'extra' => {
                'spaces_before_argument' => ' ',
                'text_arg' => 'macro'
              },
              'parent' => {},
              'source_info' => {
                'file_name' => '',
                'line_nr' => 11,
                'macro' => ''
              }
            }
          ],
          'extra' => {
            'arg_line' => ' conditionals{}
'
          },
          'parent' => {},
          'source_info' => {
            'file_name' => '',
            'line_nr' => 2,
            'macro' => ''
          }
        },
        {
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line'
        },
        {
          'args' => [
            {
              'parent' => {},
              'text' => 'somevar',
              'type' => 'misc_arg'
            },
            {
              'parent' => {},
              'text' => '',
              'type' => 'misc_arg'
            }
          ],
          'cmdname' => 'set',
          'extra' => {
            'arg_line' => ' somevar
',
            'misc_args' => [
              'somevar',
              ''
            ]
          },
          'parent' => {}
        },
        {
          'args' => [
            {
              'parent' => {},
              'text' => 'anothervar',
              'type' => 'misc_arg'
            },
            {
              'parent' => {},
              'text' => '',
              'type' => 'misc_arg'
            }
          ],
          'cmdname' => 'set',
          'extra' => {
            'arg_line' => ' anothervar
',
            'misc_args' => [
              'anothervar',
              ''
            ]
          },
          'parent' => {}
        },
        {
          'contents' => [
            {
              'parent' => {},
              'text' => 'Both somevar and anothervar are set.
'
            }
          ],
          'parent' => {},
          'type' => 'paragraph'
        },
        {
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line'
        },
        {
          'args' => [
            {
              'parent' => {},
              'text' => 'somevar',
              'type' => 'misc_arg'
            },
            {
              'parent' => {},
              'text' => '',
              'type' => 'misc_arg'
            }
          ],
          'cmdname' => 'set',
          'extra' => {
            'arg_line' => ' somevar
',
            'misc_args' => [
              'somevar',
              ''
            ]
          },
          'parent' => {}
        },
        {
          'args' => [
            {
              'parent' => {},
              'text' => 'anothervar',
              'type' => 'misc_arg'
            }
          ],
          'cmdname' => 'clear',
          'extra' => {
            'arg_line' => ' anothervar
',
            'misc_args' => [
              'anothervar'
            ]
          },
          'parent' => {}
        },
        {
          'contents' => [
            {
              'parent' => {},
              'text' => 'Somevar is set, anothervar is not.
'
            }
          ],
          'parent' => {},
          'type' => 'paragraph'
        },
        {
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line'
        },
        {
          'args' => [
            {
              'parent' => {},
              'text' => 'somevar',
              'type' => 'misc_arg'
            }
          ],
          'cmdname' => 'clear',
          'extra' => {
            'arg_line' => ' somevar
',
            'misc_args' => [
              'somevar'
            ]
          },
          'parent' => {}
        },
        {
          'args' => [
            {
              'parent' => {},
              'text' => 'anothervar',
              'type' => 'misc_arg'
            },
            {
              'parent' => {},
              'text' => '',
              'type' => 'misc_arg'
            }
          ],
          'cmdname' => 'set',
          'extra' => {
            'arg_line' => ' anothervar
',
            'misc_args' => [
              'anothervar',
              ''
            ]
          },
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line'
        },
        {
          'args' => [
            {
              'parent' => {},
              'text' => 'somevar',
              'type' => 'misc_arg'
            }
          ],
          'cmdname' => 'clear',
          'extra' => {
            'arg_line' => ' somevar
',
            'misc_args' => [
              'somevar'
            ]
          },
          'parent' => {}
        },
        {
          'args' => [
            {
              'parent' => {},
              'text' => 'anothervar',
              'type' => 'misc_arg'
            }
          ],
          'cmdname' => 'clear',
          'extra' => {
            'arg_line' => ' anothervar
',
            'misc_args' => [
              'anothervar'
            ]
          },
          'parent' => {}
        }
      ],
      'parent' => {},
      'type' => 'before_node_section'
    }
  ],
  'type' => 'document_root'
};
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1]{'contents'}[3]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1]{'contents'}[4]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1]{'contents'}[5]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1]{'contents'}[6]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1]{'contents'}[7]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1]{'contents'}[8]{'args'}[0];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1]{'contents'}[8]{'args'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1]{'contents'}[8];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1]{'contents'}[8]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[1]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[2]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[3]{'args'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[3];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[3]{'args'}[1]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[3];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[3]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[4];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[4]{'args'}[1]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[4];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[4]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[5];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[5]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[6]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[7]{'args'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[7];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[7]{'args'}[1]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[7];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[7]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[8]{'args'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[8];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[8]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[9]{'contents'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[9];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[9]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[10]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[11]{'args'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[11];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[11]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[12]{'args'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[12];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[12]{'args'}[1]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[12];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[12]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[13]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[14]{'args'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[14];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[14]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[15]{'args'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[15];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'contents'}[15]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[0];
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'};

$result_texis{'nested_ifset_ifclear'} = '
@macro conditionals{}
@ifset somevar
@ifset anothervar
Both somevar and anothervar are set.
@end ifset
@ifclear anothervar
Somevar is set, anothervar is not.
@end ifclear
@end ifset
@end macro

@set somevar
@set anothervar
Both somevar and anothervar are set.

@set somevar
@clear anothervar
Somevar is set, anothervar is not.

@clear somevar
@set anothervar

@clear somevar
@clear anothervar
';


$result_texts{'nested_ifset_ifclear'} = '

Both somevar and anothervar are set.

Somevar is set, anothervar is not.


';

$result_errors{'nested_ifset_ifclear'} = [];


$result_floats{'nested_ifset_ifclear'} = {};


1;
