code:
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);

use utf8;

$result_trees{'command_conditionals'} = {
  'contents' => [
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'Good, the txicommandconditionals variable was set.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'Good, '
        },
        {
          'cmdname' => '@',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => 'nodexyz is not defined.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'Good, '
        },
        {
          'cmdname' => '@',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => 'node is defined.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'Happily, '
        },
        {
          'cmdname' => '@',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => 'mathcode is not defined.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'command_conditionals'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'command_conditionals'}{'contents'}[0];
$result_trees{'command_conditionals'}{'contents'}[0]{'parent'} = $result_trees{'command_conditionals'};
$result_trees{'command_conditionals'}{'contents'}[1]{'parent'} = $result_trees{'command_conditionals'};
$result_trees{'command_conditionals'}{'contents'}[2]{'contents'}[0]{'parent'} = $result_trees{'command_conditionals'}{'contents'}[2];
$result_trees{'command_conditionals'}{'contents'}[2]{'contents'}[1]{'parent'} = $result_trees{'command_conditionals'}{'contents'}[2];
$result_trees{'command_conditionals'}{'contents'}[2]{'contents'}[2]{'parent'} = $result_trees{'command_conditionals'}{'contents'}[2];
$result_trees{'command_conditionals'}{'contents'}[2]{'parent'} = $result_trees{'command_conditionals'};
$result_trees{'command_conditionals'}{'contents'}[3]{'parent'} = $result_trees{'command_conditionals'};
$result_trees{'command_conditionals'}{'contents'}[4]{'contents'}[0]{'parent'} = $result_trees{'command_conditionals'}{'contents'}[4];
$result_trees{'command_conditionals'}{'contents'}[4]{'contents'}[1]{'parent'} = $result_trees{'command_conditionals'}{'contents'}[4];
$result_trees{'command_conditionals'}{'contents'}[4]{'contents'}[2]{'parent'} = $result_trees{'command_conditionals'}{'contents'}[4];
$result_trees{'command_conditionals'}{'contents'}[4]{'parent'} = $result_trees{'command_conditionals'};
$result_trees{'command_conditionals'}{'contents'}[5]{'parent'} = $result_trees{'command_conditionals'};
$result_trees{'command_conditionals'}{'contents'}[6]{'contents'}[0]{'parent'} = $result_trees{'command_conditionals'}{'contents'}[6];
$result_trees{'command_conditionals'}{'contents'}[6]{'contents'}[1]{'parent'} = $result_trees{'command_conditionals'}{'contents'}[6];
$result_trees{'command_conditionals'}{'contents'}[6]{'contents'}[2]{'parent'} = $result_trees{'command_conditionals'}{'contents'}[6];
$result_trees{'command_conditionals'}{'contents'}[6]{'parent'} = $result_trees{'command_conditionals'};

$result_texis{'command_conditionals'} = 'Good, the txicommandconditionals variable was set.

Good, @@nodexyz is not defined.

Good, @@node is defined.

Happily, @@mathcode is not defined.
';

$result_texts{'command_conditionals'} = 'Good, the txicommandconditionals variable was set.

Good, @nodexyz is not defined.

Good, @node is defined.

Happily, @mathcode is not defined.
';

$result_errors{'command_conditionals'} = [];

1;


code:
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);

use utf8;

$result_trees{'command_conditionals_user_defined'} = {
  'contents' => [
    {
      'args' => [
        {
          'parent' => {},
          'text' => 'truc',
          'type' => 'macro_name'
        }
      ],
      'cmdname' => 'macro',
      'contents' => [
        {
          'parent' => {},
          'text' => 'machin',
          'type' => 'raw'
        },
        {
          'parent' => {},
          'text' => '
',
          'type' => 'last_raw_newline'
        }
      ],
      'extra' => {
        'arg_line' => ' truc
'
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 1,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'extra' => {
        'command' => {}
      },
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line_after_command'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'auth'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'defindex',
      'extra' => {
        'misc_args' => [
          'auth'
        ],
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 5,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'infoencl, :,:'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'definfoenclose',
      'extra' => {
        'misc_args' => [
          'infoencl',
          ':',
          ':'
        ],
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 7,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'strongalias = strong'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'alias',
      'extra' => {
        'misc_args' => [
          'strongalias',
          'strong'
        ],
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 9,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'cmdname' => '@',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => 'macro truc is defined.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'index command '
        },
        {
          'cmdname' => '@',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => 'authindex is defined.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'definfoenclose '
        },
        {
          'cmdname' => '@',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => 'infoencl is defined.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'strongalias '
        },
        {
          'cmdname' => '@',
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => 'alias is defined.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'command_conditionals_user_defined'}{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[0];
$result_trees{'command_conditionals_user_defined'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[0];
$result_trees{'command_conditionals_user_defined'}{'contents'}[0]{'contents'}[1]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[0];
$result_trees{'command_conditionals_user_defined'}{'contents'}[0]{'parent'} = $result_trees{'command_conditionals_user_defined'};
$result_trees{'command_conditionals_user_defined'}{'contents'}[1]{'extra'}{'command'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[0];
$result_trees{'command_conditionals_user_defined'}{'contents'}[1]{'parent'} = $result_trees{'command_conditionals_user_defined'};
$result_trees{'command_conditionals_user_defined'}{'contents'}[2]{'parent'} = $result_trees{'command_conditionals_user_defined'};
$result_trees{'command_conditionals_user_defined'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[3];
$result_trees{'command_conditionals_user_defined'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[3]{'args'}[0];
$result_trees{'command_conditionals_user_defined'}{'contents'}[3]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[3]{'args'}[0];
$result_trees{'command_conditionals_user_defined'}{'contents'}[3]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[3]{'args'}[0];
$result_trees{'command_conditionals_user_defined'}{'contents'}[3]{'args'}[0]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[3];
$result_trees{'command_conditionals_user_defined'}{'contents'}[3]{'extra'}{'spaces_after_command'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[3]{'args'}[0]{'contents'}[0];
$result_trees{'command_conditionals_user_defined'}{'contents'}[3]{'parent'} = $result_trees{'command_conditionals_user_defined'};
$result_trees{'command_conditionals_user_defined'}{'contents'}[4]{'parent'} = $result_trees{'command_conditionals_user_defined'};
$result_trees{'command_conditionals_user_defined'}{'contents'}[5]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[5];
$result_trees{'command_conditionals_user_defined'}{'contents'}[5]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[5]{'args'}[0];
$result_trees{'command_conditionals_user_defined'}{'contents'}[5]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[5]{'args'}[0];
$result_trees{'command_conditionals_user_defined'}{'contents'}[5]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[5]{'args'}[0];
$result_trees{'command_conditionals_user_defined'}{'contents'}[5]{'args'}[0]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[5];
$result_trees{'command_conditionals_user_defined'}{'contents'}[5]{'extra'}{'spaces_after_command'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[5]{'args'}[0]{'contents'}[0];
$result_trees{'command_conditionals_user_defined'}{'contents'}[5]{'parent'} = $result_trees{'command_conditionals_user_defined'};
$result_trees{'command_conditionals_user_defined'}{'contents'}[6]{'parent'} = $result_trees{'command_conditionals_user_defined'};
$result_trees{'command_conditionals_user_defined'}{'contents'}[7]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[7];
$result_trees{'command_conditionals_user_defined'}{'contents'}[7]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[7]{'args'}[0];
$result_trees{'command_conditionals_user_defined'}{'contents'}[7]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[7]{'args'}[0];
$result_trees{'command_conditionals_user_defined'}{'contents'}[7]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[7]{'args'}[0];
$result_trees{'command_conditionals_user_defined'}{'contents'}[7]{'args'}[0]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[7];
$result_trees{'command_conditionals_user_defined'}{'contents'}[7]{'extra'}{'spaces_after_command'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[7]{'args'}[0]{'contents'}[0];
$result_trees{'command_conditionals_user_defined'}{'contents'}[7]{'parent'} = $result_trees{'command_conditionals_user_defined'};
$result_trees{'command_conditionals_user_defined'}{'contents'}[8]{'parent'} = $result_trees{'command_conditionals_user_defined'};
$result_trees{'command_conditionals_user_defined'}{'contents'}[9]{'contents'}[0]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[9];
$result_trees{'command_conditionals_user_defined'}{'contents'}[9]{'contents'}[1]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[9];
$result_trees{'command_conditionals_user_defined'}{'contents'}[9]{'parent'} = $result_trees{'command_conditionals_user_defined'};
$result_trees{'command_conditionals_user_defined'}{'contents'}[10]{'parent'} = $result_trees{'command_conditionals_user_defined'};
$result_trees{'command_conditionals_user_defined'}{'contents'}[11]{'contents'}[0]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[11];
$result_trees{'command_conditionals_user_defined'}{'contents'}[11]{'contents'}[1]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[11];
$result_trees{'command_conditionals_user_defined'}{'contents'}[11]{'contents'}[2]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[11];
$result_trees{'command_conditionals_user_defined'}{'contents'}[11]{'parent'} = $result_trees{'command_conditionals_user_defined'};
$result_trees{'command_conditionals_user_defined'}{'contents'}[12]{'parent'} = $result_trees{'command_conditionals_user_defined'};
$result_trees{'command_conditionals_user_defined'}{'contents'}[13]{'contents'}[0]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[13];
$result_trees{'command_conditionals_user_defined'}{'contents'}[13]{'contents'}[1]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[13];
$result_trees{'command_conditionals_user_defined'}{'contents'}[13]{'contents'}[2]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[13];
$result_trees{'command_conditionals_user_defined'}{'contents'}[13]{'parent'} = $result_trees{'command_conditionals_user_defined'};
$result_trees{'command_conditionals_user_defined'}{'contents'}[14]{'parent'} = $result_trees{'command_conditionals_user_defined'};
$result_trees{'command_conditionals_user_defined'}{'contents'}[15]{'contents'}[0]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[15];
$result_trees{'command_conditionals_user_defined'}{'contents'}[15]{'contents'}[1]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[15];
$result_trees{'command_conditionals_user_defined'}{'contents'}[15]{'contents'}[2]{'parent'} = $result_trees{'command_conditionals_user_defined'}{'contents'}[15];
$result_trees{'command_conditionals_user_defined'}{'contents'}[15]{'parent'} = $result_trees{'command_conditionals_user_defined'};

$result_texis{'command_conditionals_user_defined'} = '@macro truc
machin
@end macro

@defindex auth

@definfoenclose infoencl, :,:

@alias strongalias = strong

@@macro truc is defined.

index command @@authindex is defined.

definfoenclose @@infoencl is defined.

strongalias @@alias is defined.
';

$result_texts{'command_conditionals_user_defined'} = '

@macro truc is defined.

index command @authindex is defined.

definfoenclose @infoencl is defined.

strongalias @alias is defined.
';

$result_errors{'command_conditionals_user_defined'} = [];

$result_indices{'command_conditionals_user_defined'} = {
  'index_names' => {
    'auth' => {
      'contained_indices' => {
        'auth' => 1
      },
      'in_code' => 0,
      'name' => 'auth'
    },
    'cp' => {
      'contained_indices' => {
        'cp' => 1
      },
      'in_code' => 0,
      'name' => 'cp'
    },
    'fn' => {
      'contained_indices' => {
        'fn' => 1
      },
      'in_code' => 1,
      'name' => 'fn'
    },
    'ky' => {
      'contained_indices' => {
        'ky' => 1
      },
      'in_code' => 1,
      'name' => 'ky'
    },
    'pg' => {
      'contained_indices' => {
        'pg' => 1
      },
      'in_code' => 1,
      'name' => 'pg'
    },
    'tp' => {
      'contained_indices' => {
        'tp' => 1
      },
      'in_code' => 1,
      'name' => 'tp'
    },
    'vr' => {
      'contained_indices' => {
        'vr' => 1
      },
      'in_code' => 1,
      'name' => 'vr'
    }
  }
};

1;

repo_name: mthl/texinfo

license: mit


code:
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);

use utf8;

$result_trees{'commands_in_ifset'} = {
  'contents' => [
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'commands_in_ifset'}{'contents'}[0]{'parent'} = $result_trees{'commands_in_ifset'};
$result_trees{'commands_in_ifset'}{'contents'}[1]{'parent'} = $result_trees{'commands_in_ifset'};

$result_texis{'commands_in_ifset'} = '

';

$result_texts{'commands_in_ifset'} = '

';

$result_errors{'commands_in_ifset'} = [];

1;


code:
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);

use utf8;

$result_trees{'comment_on_ifset_line'} = {
  'contents' => [
    {
      'args' => [
        {
          'parent' => {},
          'text' => 'x',
          'type' => 'misc_arg'
        },
        {
          'parent' => {},
          'text' => '',
          'type' => 'misc_arg'
        }
      ],
      'cmdname' => 'set',
      'extra' => {
        'arg_line' => ' x
',
        'misc_args' => [
          'x',
          ''
        ]
      },
      'parent' => {}
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'Y1
'
        },
        {
          'parent' => {},
          'text' => 'Y2
'
        },
        {
          'parent' => {},
          'text' => 'Y3
'
        },
        {
          'parent' => {},
          'text' => 'Y4
'
        },
        {
          'parent' => {},
          'text' => 'Y5
'
        },
        {
          'parent' => {},
          'text' => 'Y6
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'comment_on_ifset_line'}{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'comment_on_ifset_line'}{'contents'}[0];
$result_trees{'comment_on_ifset_line'}{'contents'}[0]{'args'}[1]{'parent'} = $result_trees{'comment_on_ifset_line'}{'contents'}[0];
$result_trees{'comment_on_ifset_line'}{'contents'}[0]{'parent'} = $result_trees{'comment_on_ifset_line'};
$result_trees{'comment_on_ifset_line'}{'contents'}[1]{'parent'} = $result_trees{'comment_on_ifset_line'};
$result_trees{'comment_on_ifset_line'}{'contents'}[2]{'contents'}[0]{'parent'} = $result_trees{'comment_on_ifset_line'}{'contents'}[2];
$result_trees{'comment_on_ifset_line'}{'contents'}[2]{'contents'}[1]{'parent'} = $result_trees{'comment_on_ifset_line'}{'contents'}[2];
$result_trees{'comment_on_ifset_line'}{'contents'}[2]{'contents'}[2]{'parent'} = $result_trees{'comment_on_ifset_line'}{'contents'}[2];
$result_trees{'comment_on_ifset_line'}{'contents'}[2]{'contents'}[3]{'parent'} = $result_trees{'comment_on_ifset_line'}{'contents'}[2];
$result_trees{'comment_on_ifset_line'}{'contents'}[2]{'contents'}[4]{'parent'} = $result_trees{'comment_on_ifset_line'}{'contents'}[2];
$result_trees{'comment_on_ifset_line'}{'contents'}[2]{'contents'}[5]{'parent'} = $result_trees{'comment_on_ifset_line'}{'contents'}[2];
$result_trees{'comment_on_ifset_line'}{'contents'}[2]{'parent'} = $result_trees{'comment_on_ifset_line'};

$result_texis{'comment_on_ifset_line'} = '@set x

Y1
Y2
Y3
Y4
Y5
Y6
';

$result_texts{'comment_on_ifset_line'} = '
Y1
Y2
Y3
Y4
Y5
Y6
';

$result_errors{'comment_on_ifset_line'} = [];

1;


code:
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);

use utf8;

$result_trees{'conditional_not_closed'} = {
  'contents' => [],
  'type' => 'text_root'
};

$result_texis{'conditional_not_closed'} = '';

$result_texts{'conditional_not_closed'} = '';

$result_errors{'conditional_not_closed'} = [
  {
    'error_line' => ':2: no matching `@end ifhtml\'
',
    'file_name' => '',
    'line_nr' => 2,
    'macro' => '',
    'text' => 'no matching `@end ifhtml\'',
    'type' => 'error'
  }
];

1;


code:
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);

use utf8;

$result_trees{'consecutive_conditionals'} = {
  'contents' => [
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'args' => [
        {
          'parent' => {},
          'text' => 'b',
          'type' => 'misc_arg'
        },
        {
          'parent' => {},
          'text' => '',
          'type' => 'misc_arg'
        }
      ],
      'cmdname' => 'set',
      'extra' => {
        'arg_line' => ' b
',
        'misc_args' => [
          'b',
          ''
        ]
      },
      'parent' => {}
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'consecutive_conditionals'}{'contents'}[0]{'parent'} = $result_trees{'consecutive_conditionals'};
$result_trees{'consecutive_conditionals'}{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'consecutive_conditionals'}{'contents'}[1];
$result_trees{'consecutive_conditionals'}{'contents'}[1]{'args'}[1]{'parent'} = $result_trees{'consecutive_conditionals'}{'contents'}[1];
$result_trees{'consecutive_conditionals'}{'contents'}[1]{'parent'} = $result_trees{'consecutive_conditionals'};
$result_trees{'consecutive_conditionals'}{'contents'}[2]{'parent'} = $result_trees{'consecutive_conditionals'};

$result_texis{'consecutive_conditionals'} = '
@set b

';

$result_texts{'consecutive_conditionals'} = '

';

$result_errors{'consecutive_conditionals'} = [];

1;


code:
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);

use utf8;

$result_trees{'empty_ifclear'} = {
  'contents' => [],
  'type' => 'text_root'
};

$result_texis{'empty_ifclear'} = '';

$result_texts{'empty_ifclear'} = '';

$result_errors{'empty_ifclear'} = [
  {
    'error_line' => ':1: @ifclear requires a name
',
    'file_name' => '',
    'line_nr' => 1,
    'macro' => '',
    'text' => '@ifclear requires a name',
    'type' => 'error'
  }
];

1;


code:
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);

use utf8;

$result_trees{'empty_ifset'} = {
  'contents' => [],
  'type' => 'text_root'
};

$result_texis{'empty_ifset'} = '';

$result_texts{'empty_ifset'} = '';

$result_errors{'empty_ifset'} = [
  {
    'error_line' => ':1: @ifset requires a name
',
    'file_name' => '',
    'line_nr' => 1,
    'macro' => '',
    'text' => '@ifset requires a name',
    'type' => 'error'
  }
];

1;


code:
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);

use utf8;

$result_trees{'empty_ifset_in_ifset_no_set'} = {
  'contents' => [
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'empty_ifset_in_ifset_no_set'}{'contents'}[0]{'parent'} = $result_trees{'empty_ifset_in_ifset_no_set'};

$result_texis{'empty_ifset_in_ifset_no_set'} = '
';

$result_texts{'empty_ifset_in_ifset_no_set'} = '
';

$result_errors{'empty_ifset_in_ifset_no_set'} = [
  {
    'error_line' => ':6: no matching `@end ifset\'
',
    'file_name' => '',
    'line_nr' => 6,
    'macro' => '',
    'text' => 'no matching `@end ifset\'',
    'type' => 'error'
  }
];

1;


code:
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);

use utf8;

$result_trees{'empty_ifset_in_ifset_set'} = {
  'contents' => [
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'args' => [
        {
          'parent' => {},
          'text' => 'notset',
          'type' => 'misc_arg'
        },
        {
          'parent' => {},
          'text' => '',
          'type' => 'misc_arg'
        }
      ],
      'cmdname' => 'set',
      'extra' => {
        'arg_line' => ' notset
',
        'misc_args' => [
          'notset',
          ''
        ]
      },
      'parent' => {}
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'cmdname' => 'verbatim',
      'contents' => [
        {
          'extra' => {
            'command' => {}
          },
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line_after_command'
        },
        {
          'parent' => {},
          'text' => '@ifset
',
          'type' => 'raw'
        }
      ],
      'extra' => {
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 5,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'extra' => {
        'command' => {}
      },
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line_after_command'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'empty_ifset_in_ifset_set'}{'contents'}[0]{'parent'} = $result_trees{'empty_ifset_in_ifset_set'};
$result_trees{'empty_ifset_in_ifset_set'}{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'empty_ifset_in_ifset_set'}{'contents'}[1];
$result_trees{'empty_ifset_in_ifset_set'}{'contents'}[1]{'args'}[1]{'parent'} = $result_trees{'empty_ifset_in_ifset_set'}{'contents'}[1];
$result_trees{'empty_ifset_in_ifset_set'}{'contents'}[1]{'parent'} = $result_trees{'empty_ifset_in_ifset_set'};
$result_trees{'empty_ifset_in_ifset_set'}{'contents'}[2]{'parent'} = $result_trees{'empty_ifset_in_ifset_set'};
$result_trees{'empty_ifset_in_ifset_set'}{'contents'}[3]{'contents'}[0]{'extra'}{'command'} = $result_trees{'empty_ifset_in_ifset_set'}{'contents'}[3];
$result_trees{'empty_ifset_in_ifset_set'}{'contents'}[3]{'contents'}[0]{'parent'} = $result_trees{'empty_ifset_in_ifset_set'}{'contents'}[3];
$result_trees{'empty_ifset_in_ifset_set'}{'contents'}[3]{'contents'}[1]{'parent'} = $result_trees{'empty_ifset_in_ifset_set'}{'contents'}[3];
$result_trees{'empty_ifset_in_ifset_set'}{'contents'}[3]{'extra'}{'spaces_after_command'} = $result_trees{'empty_ifset_in_ifset_set'}{'contents'}[3]{'contents'}[0];
$result_trees{'empty_ifset_in_ifset_set'}{'contents'}[3]{'parent'} = $result_trees{'empty_ifset_in_ifset_set'};
$result_trees{'empty_ifset_in_ifset_set'}{'contents'}[4]{'extra'}{'command'} = $result_trees{'empty_ifset_in_ifset_set'}{'contents'}[3];
$result_trees{'empty_ifset_in_ifset_set'}{'contents'}[4]{'parent'} = $result_trees{'empty_ifset_in_ifset_set'};

$result_texis{'empty_ifset_in_ifset_set'} = '
@set notset

@verbatim
@ifset
@end verbatim
';

$result_texts{'empty_ifset_in_ifset_set'} = '

@ifset
';

$result_errors{'empty_ifset_in_ifset_set'} = [];

1;


code:
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);

use utf8;

$result_trees{'empty_set_in_ifclear'} = {
  'contents' => [
    {
      'args' => [
        {
          'parent' => {},
          'text' => 'a',
          'type' => 'misc_arg'
        },
        {
          'parent' => {},
          'text' => '',
          'type' => 'misc_arg'
        }
      ],
      'cmdname' => 'set',
      'extra' => {
        'arg_line' => ' a
',
        'misc_args' => [
          'a',
          ''
        ]
      },
      'parent' => {}
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'empty_set_in_ifclear'}{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'empty_set_in_ifclear'}{'contents'}[0];
$result_trees{'empty_set_in_ifclear'}{'contents'}[0]{'args'}[1]{'parent'} = $result_trees{'empty_set_in_ifclear'}{'contents'}[0];
$result_trees{'empty_set_in_ifclear'}{'contents'}[0]{'parent'} = $result_trees{'empty_set_in_ifclear'};
$result_trees{'empty_set_in_ifclear'}{'contents'}[1]{'parent'} = $result_trees{'empty_set_in_ifclear'};

$result_texis{'empty_set_in_ifclear'} = '@set a

';

$result_texts{'empty_set_in_ifclear'} = '
';

$result_errors{'empty_set_in_ifclear'} = [];

1;


code:
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);

use utf8;

$result_trees{'empty_set_in_ifset'} = {
  'contents' => [
    {
      'args' => [
        {
          'parent' => {},
          'text' => 'a',
          'type' => 'misc_arg'
        },
        {
          'parent' => {},
          'text' => '',
          'type' => 'misc_arg'
        }
      ],
      'cmdname' => 'set',
      'extra' => {
        'arg_line' => ' a
',
        'misc_args' => [
          'a',
          ''
        ]
      },
      'parent' => {}
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'a is set to:||.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'empty_set_in_ifset'}{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'empty_set_in_ifset'}{'contents'}[0];
$result_trees{'empty_set_in_ifset'}{'contents'}[0]{'args'}[1]{'parent'} = $result_trees{'empty_set_in_ifset'}{'contents'}[0];
$result_trees{'empty_set_in_ifset'}{'contents'}[0]{'parent'} = $result_trees{'empty_set_in_ifset'};
$result_trees{'empty_set_in_ifset'}{'contents'}[1]{'parent'} = $result_trees{'empty_set_in_ifset'};
$result_trees{'empty_set_in_ifset'}{'contents'}[2]{'contents'}[0]{'parent'} = $result_trees{'empty_set_in_ifset'}{'contents'}[2];
$result_trees{'empty_set_in_ifset'}{'contents'}[2]{'parent'} = $result_trees{'empty_set_in_ifset'};

$result_texis{'empty_set_in_ifset'} = '@set a

a is set to:||.
';

$result_texts{'empty_set_in_ifset'} = '
a is set to:||.
';

$result_errors{'empty_set_in_ifset'} = [];

1;


code:
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);

use utf8;

$result_trees{'end_conditional_not_at_line_begining'} = {
  'contents' => [],
  'type' => 'text_root'
};

$result_texis{'end_conditional_not_at_line_begining'} = '';

$result_texts{'end_conditional_not_at_line_begining'} = '';

$result_errors{'end_conditional_not_at_line_begining'} = [
  {
    'error_line' => ':3: warning: @end ifhtml should only appear at the beginning of a line
',
    'file_name' => '',
    'line_nr' => 3,
    'macro' => '',
    'text' => '@end ifhtml should only appear at the beginning of a line',
    'type' => 'warning'
  }
];

1;


code:
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);

use utf8;

$result_trees{'end_ifset_in_format'} = {
  'contents' => [
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'args' => [
        {
          'parent' => {},
          'text' => 'notset',
          'type' => 'misc_arg'
        },
        {
          'parent' => {},
          'text' => '',
          'type' => 'misc_arg'
        }
      ],
      'cmdname' => 'set',
      'extra' => {
        'arg_line' => ' notset
',
        'misc_args' => [
          'notset',
          ''
        ]
      },
      'parent' => {}
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'cmdname' => 'ignore',
      'contents' => [
        {
          'extra' => {
            'command' => {}
          },
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line_after_command'
        },
        {
          'parent' => {},
          'text' => '@end ifset',
          'type' => 'raw'
        },
        {
          'parent' => {},
          'text' => '
',
          'type' => 'last_raw_newline'
        }
      ],
      'extra' => {
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 5,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'extra' => {
        'command' => {}
      },
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line_after_command'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'text
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'cmdname' => 'verbatim',
      'contents' => [
        {
          'extra' => {
            'command' => {}
          },
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line_after_command'
        },
        {
          'parent' => {},
          'text' => '@end ifset
',
          'type' => 'raw'
        }
      ],
      'extra' => {
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 12,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'extra' => {
        'command' => {}
      },
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line_after_command'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'args' => [
            {
              'contents' => [
                {
                  'parent' => {},
                  'text' => '
',
                  'type' => 'raw'
                },
                {
                  'parent' => {},
                  'text' => '@end ifset
',
                  'type' => 'raw'
                }
              ],
              'parent' => {},
              'type' => 'brace_command_arg'
            }
          ],
          'cmdname' => 'verb',
          'contents' => [],
          'line_nr' => {
            'file_name' => '',
            'line_nr' => 18,
            'macro' => ''
          },
          'parent' => {},
          'type' => '%'
        },
        {
          'parent' => {},
          'text' => '
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'end_ifset_in_format'}{'contents'}[0]{'parent'} = $result_trees{'end_ifset_in_format'};
$result_trees{'end_ifset_in_format'}{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'end_ifset_in_format'}{'contents'}[1];
$result_trees{'end_ifset_in_format'}{'contents'}[1]{'args'}[1]{'parent'} = $result_trees{'end_ifset_in_format'}{'contents'}[1];
$result_trees{'end_ifset_in_format'}{'contents'}[1]{'parent'} = $result_trees{'end_ifset_in_format'};
$result_trees{'end_ifset_in_format'}{'contents'}[2]{'parent'} = $result_trees{'end_ifset_in_format'};
$result_trees{'end_ifset_in_format'}{'contents'}[3]{'contents'}[0]{'extra'}{'command'} = $result_trees{'end_ifset_in_format'}{'contents'}[3];
$result_trees{'end_ifset_in_format'}{'contents'}[3]{'contents'}[0]{'parent'} = $result_trees{'end_ifset_in_format'}{'contents'}[3];
$result_trees{'end_ifset_in_format'}{'contents'}[3]{'contents'}[1]{'parent'} = $result_trees{'end_ifset_in_format'}{'contents'}[3];
$result_trees{'end_ifset_in_format'}{'contents'}[3]{'contents'}[2]{'parent'} = $result_trees{'end_ifset_in_format'}{'contents'}[3];
$result_trees{'end_ifset_in_format'}{'contents'}[3]{'extra'}{'spaces_after_command'} = $result_trees{'end_ifset_in_format'}{'contents'}[3]{'contents'}[0];
$result_trees{'end_ifset_in_format'}{'contents'}[3]{'parent'} = $result_trees{'end_ifset_in_format'};
$result_trees{'end_ifset_in_format'}{'contents'}[4]{'extra'}{'command'} = $result_trees{'end_ifset_in_format'}{'contents'}[3];
$result_trees{'end_ifset_in_format'}{'contents'}[4]{'parent'} = $result_trees{'end_ifset_in_format'};
$result_trees{'end_ifset_in_format'}{'contents'}[5]{'contents'}[0]{'parent'} = $result_trees{'end_ifset_in_format'}{'contents'}[5];
$result_trees{'end_ifset_in_format'}{'contents'}[5]{'parent'} = $result_trees{'end_ifset_in_format'};
$result_trees{'end_ifset_in_format'}{'contents'}[6]{'parent'} = $result_trees{'end_ifset_in_format'};
$result_trees{'end_ifset_in_format'}{'contents'}[7]{'contents'}[0]{'extra'}{'command'} = $result_trees{'end_ifset_in_format'}{'contents'}[7];
$result_trees{'end_ifset_in_format'}{'contents'}[7]{'contents'}[0]{'parent'} = $result_trees{'end_ifset_in_format'}{'contents'}[7];
$result_trees{'end_ifset_in_format'}{'contents'}[7]{'contents'}[1]{'parent'} = $result_trees{'end_ifset_in_format'}{'contents'}[7];
$result_trees{'end_ifset_in_format'}{'contents'}[7]{'extra'}{'spaces_after_command'} = $result_trees{'end_ifset_in_format'}{'contents'}[7]{'contents'}[0];
$result_trees{'end_ifset_in_format'}{'contents'}[7]{'parent'} = $result_trees{'end_ifset_in_format'};
$result_trees{'end_ifset_in_format'}{'contents'}[8]{'extra'}{'command'} = $result_trees{'end_ifset_in_format'}{'contents'}[7];
$result_trees{'end_ifset_in_format'}{'contents'}[8]{'parent'} = $result_trees{'end_ifset_in_format'};
$result_trees{'end_ifset_in_format'}{'contents'}[9]{'parent'} = $result_trees{'end_ifset_in_format'};
$result_trees{'end_ifset_in_format'}{'contents'}[10]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'end_ifset_in_format'}{'contents'}[10]{'contents'}[0]{'args'}[0];
$result_trees{'end_ifset_in_format'}{'contents'}[10]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'end_ifset_in_format'}{'contents'}[10]{'contents'}[0]{'args'}[0];
$result_trees{'end_ifset_in_format'}{'contents'}[10]{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'end_ifset_in_format'}{'contents'}[10]{'contents'}[0];
$result_trees{'end_ifset_in_format'}{'contents'}[10]{'contents'}[0]{'parent'} = $result_trees{'end_ifset_in_format'}{'contents'}[10];
$result_trees{'end_ifset_in_format'}{'contents'}[10]{'contents'}[1]{'parent'} = $result_trees{'end_ifset_in_format'}{'contents'}[10];
$result_trees{'end_ifset_in_format'}{'contents'}[10]{'parent'} = $result_trees{'end_ifset_in_format'};

$result_texis{'end_ifset_in_format'} = '
@set notset

@ignore
@end ifset
@end ignore
text

@verbatim
@end ifset
@end verbatim

@verb{%
@end ifset
%}
';

$result_texts{'end_ifset_in_format'} = '

text

@end ifset

@end ifset

';

$result_errors{'end_ifset_in_format'} = [];

1;


code:
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);

use utf8;

$result_trees{'ifclear_in_ifset'} = {
  'contents' => [
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'args' => [
        {
          'parent' => {},
          'text' => ' WRONG - missing @end ifset.
',
          'type' => 'misc_arg'
        }
      ],
      'cmdname' => 'c',
      'extra' => {
        'misc_args' => [
          ' WRONG - missing @end ifset.
'
        ]
      },
      'parent' => {}
    }
  ],
  'type' => 'text_root'
};
$result_trees{'ifclear_in_ifset'}{'contents'}[0]{'parent'} = $result_trees{'ifclear_in_ifset'};
$result_trees{'ifclear_in_ifset'}{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'ifclear_in_ifset'}{'contents'}[1];
$result_trees{'ifclear_in_ifset'}{'contents'}[1]{'parent'} = $result_trees{'ifclear_in_ifset'};

$result_texis{'ifclear_in_ifset'} = '
@c WRONG - missing @end ifset.
';

$result_texts{'ifclear_in_ifset'} = '
';

$result_errors{'ifclear_in_ifset'} = [];

1;


code:
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);

use utf8;

$result_trees{'ifclear_in_ifset_set'} = {
  'contents' => [
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'args' => [
        {
          'parent' => {},
          'text' => 'a',
          'type' => 'misc_arg'
        },
        {
          'parent' => {},
          'text' => '',
          'type' => 'misc_arg'
        }
      ],
      'cmdname' => 'set',
      'extra' => {
        'arg_line' => ' a
',
        'misc_args' => [
          'a',
          ''
        ]
      },
      'parent' => {}
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'junky   - ok, ignored'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'end',
      'extra' => {
        'spaces_after_command' => {},
        'text_arg' => 'junky   - ok, ignored'
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 6,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'ifset'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'end',
      'extra' => {
        'spaces_after_command' => {},
        'text_arg' => 'ifset'
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 7,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'args' => [
        {
          'parent' => {},
          'text' => ' WRONG - missing @end ifset.
',
          'type' => 'misc_arg'
        }
      ],
      'cmdname' => 'c',
      'extra' => {
        'misc_args' => [
          ' WRONG - missing @end ifset.
'
        ]
      },
      'parent' => {}
    }
  ],
  'type' => 'text_root'
};
$result_trees{'ifclear_in_ifset_set'}{'contents'}[0]{'parent'} = $result_trees{'ifclear_in_ifset_set'};
$result_trees{'ifclear_in_ifset_set'}{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'ifclear_in_ifset_set'}{'contents'}[1];
$result_trees{'ifclear_in_ifset_set'}{'contents'}[1]{'args'}[1]{'parent'} = $result_trees{'ifclear_in_ifset_set'}{'contents'}[1];
$result_trees{'ifclear_in_ifset_set'}{'contents'}[1]{'parent'} = $result_trees{'ifclear_in_ifset_set'};
$result_trees{'ifclear_in_ifset_set'}{'contents'}[2]{'parent'} = $result_trees{'ifclear_in_ifset_set'};
$result_trees{'ifclear_in_ifset_set'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'ifclear_in_ifset_set'}{'contents'}[3];
$result_trees{'ifclear_in_ifset_set'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'ifclear_in_ifset_set'}{'contents'}[3]{'args'}[0];
$result_trees{'ifclear_in_ifset_set'}{'contents'}[3]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'ifclear_in_ifset_set'}{'contents'}[3]{'args'}[0];
$result_trees{'ifclear_in_ifset_set'}{'contents'}[3]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'ifclear_in_ifset_set'}{'contents'}[3]{'args'}[0];
$result_trees{'ifclear_in_ifset_set'}{'contents'}[3]{'args'}[0]{'parent'} = $result_trees{'ifclear_in_ifset_set'}{'contents'}[3];
$result_trees{'ifclear_in_ifset_set'}{'contents'}[3]{'extra'}{'spaces_after_command'} = $result_trees{'ifclear_in_ifset_set'}{'contents'}[3]{'args'}[0]{'contents'}[0];
$result_trees{'ifclear_in_ifset_set'}{'contents'}[3]{'parent'} = $result_trees{'ifclear_in_ifset_set'};
$result_trees{'ifclear_in_ifset_set'}{'contents'}[4]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'ifclear_in_ifset_set'}{'contents'}[4];
$result_trees{'ifclear_in_ifset_set'}{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'ifclear_in_ifset_set'}{'contents'}[4]{'args'}[0];
$result_trees{'ifclear_in_ifset_set'}{'contents'}[4]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'ifclear_in_ifset_set'}{'contents'}[4]{'args'}[0];
$result_trees{'ifclear_in_ifset_set'}{'contents'}[4]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'ifclear_in_ifset_set'}{'contents'}[4]{'args'}[0];
$result_trees{'ifclear_in_ifset_set'}{'contents'}[4]{'args'}[0]{'parent'} = $result_trees{'ifclear_in_ifset_set'}{'contents'}[4];
$result_trees{'ifclear_in_ifset_set'}{'contents'}[4]{'extra'}{'spaces_after_command'} = $result_trees{'ifclear_in_ifset_set'}{'contents'}[4]{'args'}[0]{'contents'}[0];
$result_trees{'ifclear_in_ifset_set'}{'contents'}[4]{'parent'} = $result_trees{'ifclear_in_ifset_set'};
$result_trees{'ifclear_in_ifset_set'}{'contents'}[5]{'args'}[0]{'parent'} = $result_trees{'ifclear_in_ifset_set'}{'contents'}[5];
$result_trees{'ifclear_in_ifset_set'}{'contents'}[5]{'parent'} = $result_trees{'ifclear_in_ifset_set'};

$result_texis{'ifclear_in_ifset_set'} = '
@set a

@end junky   - ok, ignored
@end ifset
@c WRONG - missing @end ifset.
';

$result_texts{'ifclear_in_ifset_set'} = '

';

$result_errors{'ifclear_in_ifset_set'} = [
  {
    'error_line' => ':6: warning: unknown @end junky
',
    'file_name' => '',
    'line_nr' => 6,
    'macro' => '',
    'text' => 'unknown @end junky',
    'type' => 'warning'
  },
  {
    'error_line' => ':7: unmatched `@end\'
',
    'file_name' => '',
    'line_nr' => 7,
    'macro' => '',
    'text' => 'unmatched `@end\'',
    'type' => 'error'
  },
  {
    'error_line' => ':8: expected @end ifclear
',
    'file_name' => '',
    'line_nr' => 8,
    'macro' => '',
    'text' => 'expected @end ifclear',
    'type' => 'error'
  },
  {
    'error_line' => ':8: expected @end ifset
',
    'file_name' => '',
    'line_nr' => 8,
    'macro' => '',
    'text' => 'expected @end ifset',
    'type' => 'error'
  }
];

1;


code:
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);

use utf8;

$result_trees{'ifnot_format_conditional'} = {
  'contents' => [
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'not tex
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'After.'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'ifnot_format_conditional'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'ifnot_format_conditional'}{'contents'}[0];
$result_trees{'ifnot_format_conditional'}{'contents'}[0]{'parent'} = $result_trees{'ifnot_format_conditional'};
$result_trees{'ifnot_format_conditional'}{'contents'}[1]{'parent'} = $result_trees{'ifnot_format_conditional'};
$result_trees{'ifnot_format_conditional'}{'contents'}[2]{'contents'}[0]{'parent'} = $result_trees{'ifnot_format_conditional'}{'contents'}[2];
$result_trees{'ifnot_format_conditional'}{'contents'}[2]{'parent'} = $result_trees{'ifnot_format_conditional'};

$result_texis{'ifnot_format_conditional'} = 'not tex

After.';

$result_texts{'ifnot_format_conditional'} = 'not tex

After.';

$result_errors{'ifnot_format_conditional'} = [];

1;


code:
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);

use utf8;

$result_trees{'ifnotinfo_exception'} = {
  'contents' => [],
  'type' => 'text_root'
};

$result_texis{'ifnotinfo_exception'} = '';

$result_texts{'ifnotinfo_exception'} = '';

$result_errors{'ifnotinfo_exception'} = [];

1;


code:
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);

use utf8;

$result_trees{'ifset_in_command'} = {
  'contents' => [
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'args' => [
            {
              'contents' => [
                {
                  'parent' => {},
                  'text' => '
'
                },
                {
                  'parent' => {},
                  'text' => 'xclear
'
                }
              ],
              'parent' => {},
              'type' => 'brace_command_arg'
            }
          ],
          'cmdname' => 'file',
          'contents' => [],
          'line_nr' => {
            'file_name' => '',
            'line_nr' => 2,
            'macro' => ''
          },
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'ifset_in_command'}{'contents'}[0]{'parent'} = $result_trees{'ifset_in_command'};
$result_trees{'ifset_in_command'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'ifset_in_command'}{'contents'}[1]{'contents'}[0]{'args'}[0];
$result_trees{'ifset_in_command'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'ifset_in_command'}{'contents'}[1]{'contents'}[0]{'args'}[0];
$result_trees{'ifset_in_command'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'ifset_in_command'}{'contents'}[1]{'contents'}[0];
$result_trees{'ifset_in_command'}{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'ifset_in_command'}{'contents'}[1];
$result_trees{'ifset_in_command'}{'contents'}[1]{'contents'}[1]{'parent'} = $result_trees{'ifset_in_command'}{'contents'}[1];
$result_trees{'ifset_in_command'}{'contents'}[1]{'parent'} = $result_trees{'ifset_in_command'};

$result_texis{'ifset_in_command'} = '
@file{
xclear
}
';

$result_texts{'ifset_in_command'} = '

xclear

';

$result_errors{'ifset_in_command'} = [];

1;


code:
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);

use utf8;

$result_trees{'ignore_not_closed'} = {
  'contents' => [
    {
      'cmdname' => 'ignore',
      'contents' => [
        {
          'extra' => {
            'command' => {}
          },
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line_after_command'
        },
        {
          'parent' => {},
          'text' => '
',
          'type' => 'raw'
        },
        {
          'parent' => {},
          'text' => 'This is ignored
',
          'type' => 'raw'
        }
      ],
      'extra' => {
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 1,
        'macro' => ''
      },
      'parent' => {}
    }
  ],
  'type' => 'text_root'
};
$result_trees{'ignore_not_closed'}{'contents'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'ignore_not_closed'}{'contents'}[0];
$result_trees{'ignore_not_closed'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'ignore_not_closed'}{'contents'}[0];
$result_trees{'ignore_not_closed'}{'contents'}[0]{'contents'}[1]{'parent'} = $result_trees{'ignore_not_closed'}{'contents'}[0];
$result_trees{'ignore_not_closed'}{'contents'}[0]{'contents'}[2]{'parent'} = $result_trees{'ignore_not_closed'}{'contents'}[0];
$result_trees{'ignore_not_closed'}{'contents'}[0]{'extra'}{'spaces_after_command'} = $result_trees{'ignore_not_closed'}{'contents'}[0]{'contents'}[0];
$result_trees{'ignore_not_closed'}{'contents'}[0]{'parent'} = $result_trees{'ignore_not_closed'};

$result_texis{'ignore_not_closed'} = '@ignore

This is ignored
@end ignore';

$result_texts{'ignore_not_closed'} = '';

$result_errors{'ignore_not_closed'} = [
  {
    'error_line' => ':3: no matching `@end ignore\'
',
    'file_name' => '',
    'line_nr' => 3,
    'macro' => '',
    'text' => 'no matching `@end ignore\'',
    'type' => 'error'
  }
];

1;


code:
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);

use utf8;

$result_trees{'ignored_in_ifset'} = {
  'contents' => [
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'text
'
        },
        {
          'args' => [
            {
              'contents' => [
                {
                  'extra' => {
                    'command' => {}
                  },
                  'parent' => {},
                  'text' => ' ',
                  'type' => 'empty_spaces_after_command'
                },
                {
                  'parent' => {},
                  'text' => 'ifset'
                },
                {
                  'parent' => {},
                  'text' => '
',
                  'type' => 'spaces_at_end'
                }
              ],
              'parent' => {},
              'type' => 'misc_line_arg'
            }
          ],
          'cmdname' => 'end',
          'extra' => {
            'spaces_after_command' => {},
            'text_arg' => 'ifset'
          },
          'line_nr' => {
            'file_name' => '',
            'line_nr' => 7,
            'macro' => ''
          },
          'parent' => {}
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'ifset'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'end',
      'extra' => {
        'spaces_after_command' => {},
        'text_arg' => 'ifset'
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 13,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => '%
'
        },
        {
          'args' => [
            {
              'contents' => [
                {
                  'extra' => {
                    'command' => {}
                  },
                  'parent' => {},
                  'text' => ' ',
                  'type' => 'empty_spaces_after_command'
                },
                {
                  'parent' => {},
                  'text' => 'ifset'
                },
                {
                  'parent' => {},
                  'text' => '
',
                  'type' => 'spaces_at_end'
                }
              ],
              'parent' => {},
              'type' => 'misc_line_arg'
            }
          ],
          'cmdname' => 'end',
          'extra' => {
            'spaces_after_command' => {},
            'text_arg' => 'ifset'
          },
          'line_nr' => {
            'file_name' => '',
            'line_nr' => 19,
            'macro' => ''
          },
          'parent' => {}
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'ignored_in_ifset'}{'contents'}[0]{'parent'} = $result_trees{'ignored_in_ifset'};
$result_trees{'ignored_in_ifset'}{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'ignored_in_ifset'}{'contents'}[1];
$result_trees{'ignored_in_ifset'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'ignored_in_ifset'}{'contents'}[1]{'contents'}[1];
$result_trees{'ignored_in_ifset'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'ignored_in_ifset'}{'contents'}[1]{'contents'}[1]{'args'}[0];
$result_trees{'ignored_in_ifset'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'ignored_in_ifset'}{'contents'}[1]{'contents'}[1]{'args'}[0];
$result_trees{'ignored_in_ifset'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'ignored_in_ifset'}{'contents'}[1]{'contents'}[1]{'args'}[0];
$result_trees{'ignored_in_ifset'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'ignored_in_ifset'}{'contents'}[1]{'contents'}[1];
$result_trees{'ignored_in_ifset'}{'contents'}[1]{'contents'}[1]{'extra'}{'spaces_after_command'} = $result_trees{'ignored_in_ifset'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0];
$result_trees{'ignored_in_ifset'}{'contents'}[1]{'contents'}[1]{'parent'} = $result_trees{'ignored_in_ifset'}{'contents'}[1];
$result_trees{'ignored_in_ifset'}{'contents'}[1]{'parent'} = $result_trees{'ignored_in_ifset'};
$result_trees{'ignored_in_ifset'}{'contents'}[2]{'parent'} = $result_trees{'ignored_in_ifset'};
$result_trees{'ignored_in_ifset'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'ignored_in_ifset'}{'contents'}[3];
$result_trees{'ignored_in_ifset'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'ignored_in_ifset'}{'contents'}[3]{'args'}[0];
$result_trees{'ignored_in_ifset'}{'contents'}[3]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'ignored_in_ifset'}{'contents'}[3]{'args'}[0];
$result_trees{'ignored_in_ifset'}{'contents'}[3]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'ignored_in_ifset'}{'contents'}[3]{'args'}[0];
$result_trees{'ignored_in_ifset'}{'contents'}[3]{'args'}[0]{'parent'} = $result_trees{'ignored_in_ifset'}{'contents'}[3];
$result_trees{'ignored_in_ifset'}{'contents'}[3]{'extra'}{'spaces_after_command'} = $result_trees{'ignored_in_ifset'}{'contents'}[3]{'args'}[0]{'contents'}[0];
$result_trees{'ignored_in_ifset'}{'contents'}[3]{'parent'} = $result_trees{'ignored_in_ifset'};
$result_trees{'ignored_in_ifset'}{'contents'}[4]{'parent'} = $result_trees{'ignored_in_ifset'};
$result_trees{'ignored_in_ifset'}{'contents'}[5]{'contents'}[0]{'parent'} = $result_trees{'ignored_in_ifset'}{'contents'}[5];
$result_trees{'ignored_in_ifset'}{'contents'}[5]{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'ignored_in_ifset'}{'contents'}[5]{'contents'}[1];
$result_trees{'ignored_in_ifset'}{'contents'}[5]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'ignored_in_ifset'}{'contents'}[5]{'contents'}[1]{'args'}[0];
$result_trees{'ignored_in_ifset'}{'contents'}[5]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'ignored_in_ifset'}{'contents'}[5]{'contents'}[1]{'args'}[0];
$result_trees{'ignored_in_ifset'}{'contents'}[5]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'ignored_in_ifset'}{'contents'}[5]{'contents'}[1]{'args'}[0];
$result_trees{'ignored_in_ifset'}{'contents'}[5]{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'ignored_in_ifset'}{'contents'}[5]{'contents'}[1];
$result_trees{'ignored_in_ifset'}{'contents'}[5]{'contents'}[1]{'extra'}{'spaces_after_command'} = $result_trees{'ignored_in_ifset'}{'contents'}[5]{'contents'}[1]{'args'}[0]{'contents'}[0];
$result_trees{'ignored_in_ifset'}{'contents'}[5]{'contents'}[1]{'parent'} = $result_trees{'ignored_in_ifset'}{'contents'}[5];
$result_trees{'ignored_in_ifset'}{'contents'}[5]{'parent'} = $result_trees{'ignored_in_ifset'};

$result_texis{'ignored_in_ifset'} = '
text
@end ifset

@end ifset

%
@end ifset
';

$result_texts{'ignored_in_ifset'} = '
text

%
';

$result_errors{'ignored_in_ifset'} = [
  {
    'error_line' => ':5: unmatched `@end ignore\'
',
    'file_name' => '',
    'line_nr' => 5,
    'macro' => '',
    'text' => 'unmatched `@end ignore\'',
    'type' => 'error'
  },
  {
    'error_line' => ':7: unmatched `@end\'
',
    'file_name' => '',
    'line_nr' => 7,
    'macro' => '',
    'text' => 'unmatched `@end\'',
    'type' => 'error'
  },
  {
    'error_line' => ':12: unmatched `@end verbatim\'
',
    'file_name' => '',
    'line_nr' => 12,
    'macro' => '',
    'text' => 'unmatched `@end verbatim\'',
    'type' => 'error'
  },
  {
    'error_line' => ':13: unmatched `@end\'
',
    'file_name' => '',
    'line_nr' => 13,
    'macro' => '',
    'text' => 'unmatched `@end\'',
    'type' => 'error'
  },
  {
    'error_line' => ':18: misplaced }
',
    'file_name' => '',
    'line_nr' => 18,
    'macro' => '',
    'text' => 'misplaced }',
    'type' => 'error'
  },
  {
    'error_line' => ':19: unmatched `@end\'
',
    'file_name' => '',
    'line_nr' => 19,
    'macro' => '',
    'text' => 'unmatched `@end\'',
    'type' => 'error'
  }
];

1;


code:
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);

use utf8;

$result_trees{'info_ifinfo_ifnotplaintext'} = {
  'contents' => [
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'This will be in Info, but not plain text.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'info_ifinfo_ifnotplaintext'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'info_ifinfo_ifnotplaintext'}{'contents'}[0];
$result_trees{'info_ifinfo_ifnotplaintext'}{'contents'}[0]{'parent'} = $result_trees{'info_ifinfo_ifnotplaintext'};

$result_texis{'info_ifinfo_ifnotplaintext'} = 'This will be in Info, but not plain text.
';

$result_texts{'info_ifinfo_ifnotplaintext'} = 'This will be in Info, but not plain text.
';

$result_errors{'info_ifinfo_ifnotplaintext'} = [];

1;


code:
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);

use utf8;

$result_trees{'info_ifplaintext'} = {
  'contents' => [
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'info_ifplaintext'}{'contents'}[0]{'parent'} = $result_trees{'info_ifplaintext'};

$result_texis{'info_ifplaintext'} = '
';

$result_texts{'info_ifplaintext'} = '
';

$result_errors{'info_ifplaintext'} = [];

1;


code:
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);

use utf8;

$result_trees{'macro_in_ifset'} = {
  'contents' => [
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'args' => [
        {
          'parent' => {},
          'text' => 'truc',
          'type' => 'macro_name'
        }
      ],
      'cmdname' => 'macro',
      'contents' => [
        {
          'parent' => {},
          'text' => 'truc',
          'type' => 'raw'
        },
        {
          'parent' => {},
          'text' => '
',
          'type' => 'last_raw_newline'
        }
      ],
      'extra' => {
        'arg_line' => ' truc {}
'
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 2,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'extra' => {
        'command' => {}
      },
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line_after_command'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'truc
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'macro_in_ifset'}{'contents'}[0]{'parent'} = $result_trees{'macro_in_ifset'};
$result_trees{'macro_in_ifset'}{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'macro_in_ifset'}{'contents'}[1];
$result_trees{'macro_in_ifset'}{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'macro_in_ifset'}{'contents'}[1];
$result_trees{'macro_in_ifset'}{'contents'}[1]{'contents'}[1]{'parent'} = $result_trees{'macro_in_ifset'}{'contents'}[1];
$result_trees{'macro_in_ifset'}{'contents'}[1]{'parent'} = $result_trees{'macro_in_ifset'};
$result_trees{'macro_in_ifset'}{'contents'}[2]{'extra'}{'command'} = $result_trees{'macro_in_ifset'}{'contents'}[1];
$result_trees{'macro_in_ifset'}{'contents'}[2]{'parent'} = $result_trees{'macro_in_ifset'};
$result_trees{'macro_in_ifset'}{'contents'}[3]{'parent'} = $result_trees{'macro_in_ifset'};
$result_trees{'macro_in_ifset'}{'contents'}[4]{'parent'} = $result_trees{'macro_in_ifset'};
$result_trees{'macro_in_ifset'}{'contents'}[5]{'contents'}[0]{'parent'} = $result_trees{'macro_in_ifset'}{'contents'}[5];
$result_trees{'macro_in_ifset'}{'contents'}[5]{'parent'} = $result_trees{'macro_in_ifset'};

$result_texis{'macro_in_ifset'} = '
@macro truc {}
truc
@end macro

truc
';

$result_texts{'macro_in_ifset'} = '

truc
';

$result_errors{'macro_in_ifset'} = [];

1;


code:
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);

use utf8;

$result_trees{'macro_in_ifset_set'} = {
  'contents' => [
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'args' => [
        {
          'parent' => {},
          'text' => 'a',
          'type' => 'misc_arg'
        },
        {
          'parent' => {},
          'text' => '',
          'type' => 'misc_arg'
        }
      ],
      'cmdname' => 'set',
      'extra' => {
        'arg_line' => ' a
',
        'misc_args' => [
          'a',
          ''
        ]
      },
      'parent' => {}
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'args' => [
        {
          'parent' => {},
          'text' => 'truc',
          'type' => 'macro_name'
        }
      ],
      'cmdname' => 'macro',
      'contents' => [
        {
          'parent' => {},
          'text' => 'truc',
          'type' => 'raw'
        },
        {
          'parent' => {},
          'text' => '
',
          'type' => 'last_raw_newline'
        }
      ],
      'extra' => {
        'arg_line' => ' truc {}
'
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 4,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'extra' => {
        'command' => {}
      },
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line_after_command'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'args' => [
        {
          'parent' => {},
          'text' => 'truc',
          'type' => 'misc_arg'
        }
      ],
      'cmdname' => 'unmacro',
      'extra' => {
        'arg_line' => ' truc
',
        'misc_args' => [
          'truc'
        ]
      },
      'parent' => {}
    },
    {
      'args' => [
        {
          'parent' => {},
          'text' => 'truc',
          'type' => 'macro_name'
        }
      ],
      'cmdname' => 'macro',
      'contents' => [
        {
          'parent' => {},
          'text' => 'in ifset',
          'type' => 'raw'
        },
        {
          'parent' => {},
          'text' => '
',
          'type' => 'last_raw_newline'
        }
      ],
      'extra' => {
        'arg_line' => ' truc{}
'
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 10,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'extra' => {
        'command' => {}
      },
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line_after_command'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'in ifset
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'macro_in_ifset_set'}{'contents'}[0]{'parent'} = $result_trees{'macro_in_ifset_set'};
$result_trees{'macro_in_ifset_set'}{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'macro_in_ifset_set'}{'contents'}[1];
$result_trees{'macro_in_ifset_set'}{'contents'}[1]{'args'}[1]{'parent'} = $result_trees{'macro_in_ifset_set'}{'contents'}[1];
$result_trees{'macro_in_ifset_set'}{'contents'}[1]{'parent'} = $result_trees{'macro_in_ifset_set'};
$result_trees{'macro_in_ifset_set'}{'contents'}[2]{'parent'} = $result_trees{'macro_in_ifset_set'};
$result_trees{'macro_in_ifset_set'}{'contents'}[3]{'args'}[0]{'parent'} = $result_trees{'macro_in_ifset_set'}{'contents'}[3];
$result_trees{'macro_in_ifset_set'}{'contents'}[3]{'contents'}[0]{'parent'} = $result_trees{'macro_in_ifset_set'}{'contents'}[3];
$result_trees{'macro_in_ifset_set'}{'contents'}[3]{'contents'}[1]{'parent'} = $result_trees{'macro_in_ifset_set'}{'contents'}[3];
$result_trees{'macro_in_ifset_set'}{'contents'}[3]{'parent'} = $result_trees{'macro_in_ifset_set'};
$result_trees{'macro_in_ifset_set'}{'contents'}[4]{'extra'}{'command'} = $result_trees{'macro_in_ifset_set'}{'contents'}[3];
$result_trees{'macro_in_ifset_set'}{'contents'}[4]{'parent'} = $result_trees{'macro_in_ifset_set'};
$result_trees{'macro_in_ifset_set'}{'contents'}[5]{'parent'} = $result_trees{'macro_in_ifset_set'};
$result_trees{'macro_in_ifset_set'}{'contents'}[6]{'args'}[0]{'parent'} = $result_trees{'macro_in_ifset_set'}{'contents'}[6];
$result_trees{'macro_in_ifset_set'}{'contents'}[6]{'parent'} = $result_trees{'macro_in_ifset_set'};
$result_trees{'macro_in_ifset_set'}{'contents'}[7]{'args'}[0]{'parent'} = $result_trees{'macro_in_ifset_set'}{'contents'}[7];
$result_trees{'macro_in_ifset_set'}{'contents'}[7]{'contents'}[0]{'parent'} = $result_trees{'macro_in_ifset_set'}{'contents'}[7];
$result_trees{'macro_in_ifset_set'}{'contents'}[7]{'contents'}[1]{'parent'} = $result_trees{'macro_in_ifset_set'}{'contents'}[7];
$result_trees{'macro_in_ifset_set'}{'contents'}[7]{'parent'} = $result_trees{'macro_in_ifset_set'};
$result_trees{'macro_in_ifset_set'}{'contents'}[8]{'extra'}{'command'} = $result_trees{'macro_in_ifset_set'}{'contents'}[7];
$result_trees{'macro_in_ifset_set'}{'contents'}[8]{'parent'} = $result_trees{'macro_in_ifset_set'};
$result_trees{'macro_in_ifset_set'}{'contents'}[9]{'parent'} = $result_trees{'macro_in_ifset_set'};
$result_trees{'macro_in_ifset_set'}{'contents'}[10]{'contents'}[0]{'parent'} = $result_trees{'macro_in_ifset_set'}{'contents'}[10];
$result_trees{'macro_in_ifset_set'}{'contents'}[10]{'parent'} = $result_trees{'macro_in_ifset_set'};

$result_texis{'macro_in_ifset_set'} = '
@set a

@macro truc {}
truc
@end macro

@unmacro truc
@macro truc{}
in ifset
@end macro

in ifset
';

$result_texts{'macro_in_ifset_set'} = '

in ifset
';

$result_errors{'macro_in_ifset_set'} = [];

1;


code:
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);

use utf8;

$result_trees{'many_conditionals'} = {
  'contents' => [
    {
      'cmdname' => 'html',
      'contents' => [
        {
          'extra' => {
            'command' => {}
          },
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line_after_command'
        },
        {
          'contents' => [
            {
              'parent' => {},
              'text' => 'This is html text.
'
            }
          ],
          'parent' => {},
          'type' => 'rawpreformatted'
        },
        {
          'args' => [
            {
              'contents' => [
                {
                  'extra' => {
                    'command' => {}
                  },
                  'parent' => {},
                  'text' => ' ',
                  'type' => 'empty_spaces_after_command'
                },
                {
                  'parent' => {},
                  'text' => 'html'
                },
                {
                  'parent' => {},
                  'text' => '
',
                  'type' => 'spaces_at_end'
                }
              ],
              'parent' => {},
              'type' => 'misc_line_arg'
            }
          ],
          'cmdname' => 'end',
          'extra' => {
            'command' => {},
            'command_argument' => 'html',
            'spaces_after_command' => {},
            'text_arg' => 'html'
          },
          'line_nr' => {
            'file_name' => '',
            'line_nr' => 3,
            'macro' => ''
          },
          'parent' => {}
        }
      ],
      'extra' => {
        'end_command' => {},
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 1,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'This is ifhtml text.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'This is ifinfo text.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'cmdname' => 'tex',
      'contents' => [
        {
          'contents' => [],
          'parent' => {},
          'type' => 'elided_block'
        },
        {
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line_after_command'
        },
        {
          'args' => [
            {
              'contents' => [
                {
                  'extra' => {
                    'command' => {}
                  },
                  'parent' => {},
                  'text' => ' ',
                  'type' => 'empty_spaces_after_command'
                },
                {
                  'parent' => {},
                  'text' => 'tex'
                },
                {
                  'parent' => {},
                  'text' => '
',
                  'type' => 'spaces_at_end'
                }
              ],
              'parent' => {},
              'type' => 'misc_line_arg'
            }
          ],
          'cmdname' => 'end',
          'extra' => {
            'command' => {},
            'command_argument' => 'tex',
            'spaces_after_command' => {},
            'text_arg' => 'tex'
          },
          'line_nr' => {
            'file_name' => '',
            'line_nr' => 25,
            'macro' => ''
          },
          'parent' => {}
        }
      ],
      'extra' => {
        'end_command' => {}
      },
      'parent' => {}
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line'
    },
    {
      'contents' => [
        {
          'parent' => {},
          'text' => 'This is ifnottex text.
'
        }
      ],
      'parent' => {},
      'type' => 'paragraph'
    }
  ],
  'type' => 'text_root'
};
$result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'many_conditionals'}{'contents'}[0];
$result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'many_conditionals'}{'contents'}[0];
$result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[1];
$result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[1]{'parent'} = $result_trees{'many_conditionals'}{'contents'}[0];
$result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[2];
$result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[2]{'args'}[0];
$result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[2]{'args'}[0];
$result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[2]{'args'}[0];
$result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'parent'} = $result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[2];
$result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[2]{'extra'}{'command'} = $result_trees{'many_conditionals'}{'contents'}[0];
$result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[2]{'extra'}{'spaces_after_command'} = $result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0];
$result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[2]{'parent'} = $result_trees{'many_conditionals'}{'contents'}[0];
$result_trees{'many_conditionals'}{'contents'}[0]{'extra'}{'end_command'} = $result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[2];
$result_trees{'many_conditionals'}{'contents'}[0]{'extra'}{'spaces_after_command'} = $result_trees{'many_conditionals'}{'contents'}[0]{'contents'}[0];
$result_trees{'many_conditionals'}{'contents'}[0]{'parent'} = $result_trees{'many_conditionals'};
$result_trees{'many_conditionals'}{'contents'}[1]{'parent'} = $result_trees{'many_conditionals'};
$result_trees{'many_conditionals'}{'contents'}[2]{'contents'}[0]{'parent'} = $result_trees{'many_conditionals'}{'contents'}[2];
$result_trees{'many_conditionals'}{'contents'}[2]{'parent'} = $result_trees{'many_conditionals'};
$result_trees{'many_conditionals'}{'contents'}[3]{'parent'} = $result_trees{'many_conditionals'};
$result_trees{'many_conditionals'}{'contents'}[4]{'parent'} = $result_trees{'many_conditionals'};
$result_trees{'many_conditionals'}{'contents'}[5]{'parent'} = $result_trees{'many_conditionals'};
$result_trees{'many_conditionals'}{'contents'}[6]{'contents'}[0]{'parent'} = $result_trees{'many_conditionals'}{'contents'}[6];
$result_trees{'many_conditionals'}{'contents'}[6]{'parent'} = $result_trees{'many_conditionals'};
$result_trees{'many_conditionals'}{'contents'}[7]{'parent'} = $result_trees{'many_conditionals'};
$result_trees{'many_conditionals'}{'contents'}[8]{'parent'} = $result_trees{'many_conditionals'};
$result_trees{'many_conditionals'}{'contents'}[9]{'parent'} = $result_trees{'many_conditionals'};
$result_trees{'many_conditionals'}{'contents'}[10]{'contents'}[0]{'parent'} = $result_trees{'many_conditionals'}{'contents'}[10];
$result_trees{'many_conditionals'}{'contents'}[10]{'contents'}[1]{'parent'} = $result_trees{'many_conditionals'}{'contents'}[10];
$result_trees{'many_conditionals'}{'contents'}[10]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'many_conditionals'}{'contents'}[10]{'contents'}[2];
$result_trees{'many_conditionals'}{'contents'}[10]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'many_conditionals'}{'contents'}[10]{'contents'}[2]{'args'}[0];
$result_trees{'many_conditionals'}{'contents'}[10]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'many_conditionals'}{'contents'}[10]{'contents'}[2]{'args'}[0];
$result_trees{'many_conditionals'}{'contents'}[10]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'many_conditionals'}{'contents'}[10]{'contents'}[2]{'args'}[0];
$result_trees{'many_conditionals'}{'contents'}[10]{'contents'}[2]{'args'}[0]{'parent'} = $result_trees{'many_conditionals'}{'contents'}[10]{'contents'}[2];
$result_trees{'many_conditionals'}{'contents'}[10]{'contents'}[2]{'extra'}{'command'} = $result_trees{'many_conditionals'}{'contents'}[10];
$result_trees{'many_conditionals'}{'contents'}[10]{'contents'}[2]{'extra'}{'spaces_after_command'} = $result_trees{'many_conditionals'}{'contents'}[10]{'contents'}[2]{'args'}[0]{'contents'}[0];
$result_trees{'many_conditionals'}{'contents'}[10]{'contents'}[2]{'parent'} = $result_trees{'many_conditionals'}{'contents'}[10];
$result_trees{'many_conditionals'}{'contents'}[10]{'extra'}{'end_command'} = $result_trees{'many_conditionals'}{'contents'}[10]{'contents'}[2];
$result_trees{'many_conditionals'}{'contents'}[10]{'parent'} = $result_trees{'many_conditionals'};
$result_trees{'many_conditionals'}{'contents'}[11]{'parent'} = $result_trees{'many_conditionals'};
$result_trees{'many_conditionals'}{'contents'}[12]{'parent'} = $result_trees{'many_conditionals'};
$result_trees{'many_conditionals'}{'contents'}[13]{'contents'}[0]{'parent'} = $result_trees{'many_conditionals'}{'contents'}[13];
$result_trees{'many_conditionals'}{'contents'}[13]{'parent'} = $result_trees{'many_conditionals'};

$result_texis{'many_conditionals'} = '@html
This is html text.
@end html

This is ifhtml text.

This is ifinfo text.

@tex
@end tex

This is ifnottex text.
';

$result_texts{'many_conditionals'} = '
This is ifhtml text.

This is ifinfo text.

This is ifnottex text.
';

$result_errors{'many_conditionals'} = [];

1;


code:
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);

use utf8;

$result_trees{'nested_ifset_ifclear'} = {
  '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'
        },
        {
          'parent' => {},
          'text' => '
',
          'type' => 'last_raw_newline'
        }
      ],
      'extra' => {
        'arg_line' => ' conditionals{}
'
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 2,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'extra' => {
        'command' => {}
      },
      'parent' => {},
      'text' => '
',
      'type' => 'empty_line_after_command'
    },
    {
      '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' => {}
    }
  ],
  'type' => 'text_root'
};
$result_trees{'nested_ifset_ifclear'}{'contents'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'};
$result_trees{'nested_ifset_ifclear'}{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[1]{'contents'}[1]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[1]{'contents'}[2]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[1]{'contents'}[3]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[1]{'contents'}[4]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[1]{'contents'}[5]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[1]{'contents'}[6]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[1]{'contents'}[7]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[1]{'contents'}[8]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[1]{'parent'} = $result_trees{'nested_ifset_ifclear'};
$result_trees{'nested_ifset_ifclear'}{'contents'}[2]{'extra'}{'command'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[1];
$result_trees{'nested_ifset_ifclear'}{'contents'}[2]{'parent'} = $result_trees{'nested_ifset_ifclear'};
$result_trees{'nested_ifset_ifclear'}{'contents'}[3]{'parent'} = $result_trees{'nested_ifset_ifclear'};
$result_trees{'nested_ifset_ifclear'}{'contents'}[4]{'args'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[4];
$result_trees{'nested_ifset_ifclear'}{'contents'}[4]{'args'}[1]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[4];
$result_trees{'nested_ifset_ifclear'}{'contents'}[4]{'parent'} = $result_trees{'nested_ifset_ifclear'};
$result_trees{'nested_ifset_ifclear'}{'contents'}[5]{'args'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[5];
$result_trees{'nested_ifset_ifclear'}{'contents'}[5]{'args'}[1]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[5];
$result_trees{'nested_ifset_ifclear'}{'contents'}[5]{'parent'} = $result_trees{'nested_ifset_ifclear'};
$result_trees{'nested_ifset_ifclear'}{'contents'}[6]{'contents'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[6];
$result_trees{'nested_ifset_ifclear'}{'contents'}[6]{'parent'} = $result_trees{'nested_ifset_ifclear'};
$result_trees{'nested_ifset_ifclear'}{'contents'}[7]{'parent'} = $result_trees{'nested_ifset_ifclear'};
$result_trees{'nested_ifset_ifclear'}{'contents'}[8]{'args'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[8];
$result_trees{'nested_ifset_ifclear'}{'contents'}[8]{'args'}[1]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[8];
$result_trees{'nested_ifset_ifclear'}{'contents'}[8]{'parent'} = $result_trees{'nested_ifset_ifclear'};
$result_trees{'nested_ifset_ifclear'}{'contents'}[9]{'args'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[9];
$result_trees{'nested_ifset_ifclear'}{'contents'}[9]{'parent'} = $result_trees{'nested_ifset_ifclear'};
$result_trees{'nested_ifset_ifclear'}{'contents'}[10]{'contents'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[10];
$result_trees{'nested_ifset_ifclear'}{'contents'}[10]{'parent'} = $result_trees{'nested_ifset_ifclear'};
$result_trees{'nested_ifset_ifclear'}{'contents'}[11]{'parent'} = $result_trees{'nested_ifset_ifclear'};
$result_trees{'nested_ifset_ifclear'}{'contents'}[12]{'args'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[12];
$result_trees{'nested_ifset_ifclear'}{'contents'}[12]{'parent'} = $result_trees{'nested_ifset_ifclear'};
$result_trees{'nested_ifset_ifclear'}{'contents'}[13]{'args'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[13];
$result_trees{'nested_ifset_ifclear'}{'contents'}[13]{'args'}[1]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[13];
$result_trees{'nested_ifset_ifclear'}{'contents'}[13]{'parent'} = $result_trees{'nested_ifset_ifclear'};
$result_trees{'nested_ifset_ifclear'}{'contents'}[14]{'parent'} = $result_trees{'nested_ifset_ifclear'};
$result_trees{'nested_ifset_ifclear'}{'contents'}[15]{'args'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[15];
$result_trees{'nested_ifset_ifclear'}{'contents'}[15]{'parent'} = $result_trees{'nested_ifset_ifclear'};
$result_trees{'nested_ifset_ifclear'}{'contents'}[16]{'args'}[0]{'parent'} = $result_trees{'nested_ifset_ifclear'}{'contents'}[16];
$result_trees{'nested_ifset_ifclear'}{'contents'}[16]{'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'} = [];

1;