• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/CPANInternal-159.1/Perl-Tidy-20121207/lib/Perl/

Lines Matching defs:Perl

35 #        create a Perl::Tidy module which can operate on strings, arrays, etc.
55 package Perl::Tidy;
97 # ARRAY ref Perl::Tidy::IOScalarArray (formerly IO::ScalarArray)
98 # STRING ref Perl::Tidy::IOScalar (formerly IO::Scalar)
110 $New = sub { Perl::Tidy::IOScalarArray->new(@_) };
113 $New = sub { Perl::Tidy::IOScalar->new(@_) };
131 Please check your call to Perl::Tidy::perltidy. Trace follows.
148 Please check your call to Perl::Tidy::perltidy. Trace follows.
221 # Perl 5.004 systems may not have File::Spec so we'll make
286 # the complexities of Perl syntax, such as distinguishing between '<<' as
376 Perl::Tidy::streamhandle( $stderr_stream, 'w' );
431 $destination_stream = Perl::Tidy::DevNull->new();
652 Perl::Tidy::Formatter::check_options($rOpts);
654 Perl::Tidy::HtmlWriter->check_options($rOpts);
673 $diagnostics_object = Perl::Tidy::Diagnostics->new();
810 Perl::Tidy::LineSource->new( $input_file, $rOpts,
824 $source_object = Perl::Tidy::LineSource->new( \$buf, $rOpts,
928 Perl::Tidy::LineSink->new( \$postfilter_buffer, $tee_file,
933 Perl::Tidy::LineSink->new( $output_file, $tee_file,
946 Perl::Tidy::Logger->new( $rOpts, $log_file, $warning_file,
965 Perl::Tidy::Debugger->new( $fileroot . $dot . "DEBUG" );
996 Perl::Tidy::LineSink->new( \$sink_buffer, $tee_file,
1028 Perl::Tidy::HtmlWriter->new( $fileroot, $output_file,
1033 $formatter = Perl::Tidy::Formatter->new(
1051 $tokenizer = Perl::Tidy::Tokenizer->new(
1086 Perl::Tidy::LineSource->new( \$sink_buffer, $rOpts,
1157 Perl::Tidy::LineSink->new( $output_file, $tee_file,
1161 Perl::Tidy::LineSource->new( \$buf, $rOpts,
1309 # This routine is needed for passing actual files to Perl for
1317 Perl::Tidy::streamhandle( $stream, 'r' );
1322 $tmpnam = Perl::Tidy::make_temporary_filename();
1739 # The Perl::Tidy::HtmlWriter will add its own options to the string
1740 Perl::Tidy::HtmlWriter->make_getopt_long_names( \@option_string );
2079 # Style suggested in Damian Conway's Perl Best Practices
2088 Perl::Tidy::HtmlWriter->make_abbreviated_names( \%expansion );
2163 # breaking old versions of Perl without these routines.
2260 Perl::Tidy::Tokenizer->dump_token_types(*STDOUT);
2304 Perl::Tidy::streamhandle( $config_file, 'r' );
2799 # Systems built from Perl source may not have Win32.pm
3598 "Input stream passed to Perl as file $istream_filename\n");
3610 "Output stream passed to Perl as file $ostream_filename\n");
3656 # otherwise Perl output is hard to read
3686 package Perl::Tidy::IOScalar;
3770 package Perl::Tidy::IOScalarArray;
3831 # the Perl::Tidy::LineSource class supplies an object with a 'get_line()' method
3836 package Perl::Tidy::LineSource;
3844 $input_line_ending = Perl::Tidy::find_input_line_ending($input_file);
3847 ( my $fh, $input_file ) = Perl::Tidy::streamhandle( $input_file, 'r' );
3915 # the Perl::Tidy::LineSink class supplies a write_line method for
3920 package Perl::Tidy::LineSink;
3933 ( $fh, $output_file ) = Perl::Tidy::streamhandle( $output_file, 'w' );
3934 unless ($fh) { Perl::Tidy::Die "Cannot write to output stream\n"; }
4006 or Perl::Tidy::Die("couldn't open TEE file $tee_file: $!\n");
4038 # The Perl::Tidy::Diagnostics class writes the DIAGNOSTICS file, which is
4047 package Perl::Tidy::Diagnostics;
4083 my $input_line_number = Perl::Tidy::Tokenizer::get_input_line_number();
4090 # The Perl::Tidy::Logger class writes the .LOG and .ERR files
4094 package Perl::Tidy::Logger;
4370 Perl::Tidy::streamhandle( $warning_file, 'w' );
4371 $fh_warnings or Perl::Tidy::Die("couldn't open $filename $!\n");
4372 Perl::Tidy::Warn "## Please see file $filename\n"
4380 Perl::Tidy::Tokenizer::get_input_line_number();
4512 my ( $fh, $filename ) = Perl::Tidy::streamhandle( $log_file, 'w' );
4525 # The Perl::Tidy::DevNull class supplies a dummy print method
4529 package Perl::Tidy::DevNull;
4536 # The Perl::Tidy::HtmlWriter class writes a copy of the input stream in html
4540 package Perl::Tidy::HtmlWriter;
4570 Perl::Tidy::streamhandle( $html_file, 'w' );
4572 Perl::Tidy::Warn("can't open $html_file: $!\n");
4583 my $html_toc_fh = Perl::Tidy::IOScalar->new( \$toc_string, 'w' );
4599 $html_pre_fh = Perl::Tidy::IOScalar->new( \$pre_string, 'w' );
4613 Perl::Tidy::Warn
4618 $html_pod_fh = Perl::Tidy::IOScalar->new( \$pod_string, 'w' );
4627 Perl::Tidy::Warn
5019 Perl::Tidy::Exit 0;
5026 Perl::Tidy::Die "You must specify a valid filename after -css\n";
5058 Perl::Tidy::Die "can't open $css_filename: $!\n";
5158 $tmpfile = Perl::Tidy::make_temporary_filename();
5162 Perl::Tidy::Warn
5213 Perl::Tidy::Die $_[0];
5222 Perl::Tidy::Warn
5304 Perl::Tidy::Warn
5342 Perl::Tidy::Warn "Did not see <body> in pod2html output\n";
5346 Perl::Tidy::Warn "Did not see </body> in pod2html output\n";
5350 Perl::Tidy::Warn "Did not find INDEX END in pod2html output\n";
5403 or Perl::Tidy::Die "Cannot rename $html_filename to $src_filename:$!\n";
5417 or Perl::Tidy::Die "Cannot open $toc_filename:$!\n";
5447 or Perl::Tidy::Die "Cannot open $toc_basename:$!\n";
5555 my $fh_css = Perl::Tidy::IOScalar->new( \$css_string, 'w' );
5853 Perl::Tidy::IOScalar->new( \$pre_string, 'w' );
5904 # The Perl::Tidy::Formatter package adds indentation, whitespace, and
5912 package Perl::Tidy::Formatter;
6322 # interface to Perl::Tidy::Logger routines
6365 # interface to Perl::Tidy::Diagnostics routine
6400 Perl::Tidy::FileWriter->new( $sink_object, $rOpts, $logger_object );
6493 Perl::Tidy::VerticalAligner->initialize( $rOpts, $file_writer_object,
6695 my $item = Perl::Tidy::IndentationItem->new(
7533 Perl::Tidy::Warn <<EOM;
7550 Perl::Tidy::Warn <<EOM;
7558 Perl::Tidy::Warn <<EOM;
7565 Perl::Tidy::Warn <<EOM;
7587 if ( $Perl::Tidy::Tokenizer::is_keyword{$_} ) {
7591 Perl::Tidy::Warn "ignoring '$_' in -okwl list; not a perl keyword";
7613 Perl::Tidy::Exit 0;
7618 Perl::Tidy::Exit 0;
7759 Perl::Tidy::Die <<EOM;
7764 Perl::Tidy::Warn "Ignoring -ple; conflicts with -ole\n";
7902 Perl::Tidy::Die
7909 Perl::Tidy::Die
7922 Perl::Tidy::Die
7928 Perl::Tidy::Die
8006 Perl::Tidy::Warn
8030 Perl::Tidy::Die
8071 Perl::Tidy::Warn
8075 Perl::Tidy::Warn "Please consider using a simpler -cscp prefix\n";
8076 Perl::Tidy::Warn
8218 # Perl is sensitive to whitespace after the + here:
8241 # older versions of Perl:
8719 # NOTE: some older versions of Perl had occasional problems if
8722 # cases. The current Perl seems to tolerate spaces.
10242 Perl::Tidy::VerticalAligner::flush();
11466 Perl::Tidy::VerticalAligner::flush();
12123 Perl::Tidy::VerticalAligner::flush();
12177 Perl::Tidy::VerticalAligner::flush() if ($is_outdented_line);
12227 Perl::Tidy::VerticalAligner::valign_input(
12246 Perl::Tidy::VerticalAligner::flush() if ($is_outdented_line);
17077 Perl::Tidy::Die
19028 # the Perl::Tidy::IndentationItem class supplies items which contain
19033 package Perl::Tidy::IndentationItem;
19269 # the Perl::Tidy::VerticalAligner::Line class supplies an object to
19274 package Perl::Tidy::VerticalAligner::Line;
19447 # the Perl::Tidy::VerticalAligner::Alignment class holds information
19451 package Perl::Tidy::VerticalAligner::Alignment;
19537 package Perl::Tidy::VerticalAligner;
19539 # The Perl::Tidy::VerticalAligner package collects output lines and
19718 # interface to Perl::Tidy::Diagnostics routines
19725 # interface to Perl::Tidy::Logger routines
19773 my $alignment = new Perl::Tidy::VerticalAligner::Alignment(
20078 "Program bug in Perl::Tidy::VerticalAligner - number of tokens = $#{$rtokens} should be one less than number of fields: $#{$rfields})\n"
20086 my $new_line = new Perl::Tidy::VerticalAligner::Line(
21136 # flush() sends the current Perl::Tidy::VerticalAligner group down the
21137 # pipeline to Perl::Tidy::FileWriter.
22129 # the Perl::Tidy::FileWriter class writes the output file
22133 package Perl::Tidy::FileWriter;
22346 # The Perl::Tidy::Debugger class shows line tokenization
22350 package Perl::Tidy::Debugger;
22369 Perl::Tidy::Warn("can't open $debug_file: $!\n");
22459 # The Perl::Tidy::LineBuffer class supplies a 'get_line()'
22468 package Perl::Tidy::LineBuffer;
22514 # the Perl::Tidy::Tokenizer package is essentially a filter which
22532 package Perl::Tidy::Tokenizer;
22675 my $line_buffer_object = Perl::Tidy::LineBuffer->new($source_object);
22761 # interface to Perl::Tidy::Logger routines
22828 # interface to Perl::Tidy::Diagnostics routines
23829 Perl::Tidy::LineSource->new( \$replacement_text, $rOpts,
23831 my $tokenizer = Perl::Tidy::Tokenizer->new(
24806 # Perl version 5.16, http://perldoc.perl.org/perlop.html, has these:
24898 # Perl::Tidy::Formatter for breaking lines around this token type. You can
24906 # Perl::Tidy::Formatter. For adding type 'v', I looked at this routine
24916 # *. Update comments in Perl::Tidy::Tokenizer::dump_token_types.
24965 # Perl::Tidy::Formatter will delete needless trailing blanks
25816 # indentation is computed. Perl::Tidy computes indentation as the sum
25979 # Perl silently accepts a 032 (^Z) and takes it as the end
26489 # For possible file handle like "$a", Perl uses weird parsing rules.
27607 # Perl's indirect object notation is a very bad
27990 # Perl will accept leading digits in identifiers,
28081 # Perl accepts '$^]' or '@^]', but
28808 # scan a number in any of the formats that Perl accepts
30021 Perl::Tidy - Parses and beautifies perl source
30025 use Perl::Tidy;
30027 my $error_flag = Perl::Tidy::perltidy(
30051 use Perl::Tidy;
30052 Perl::Tidy::perltidy();
30186 hash. This hash will receive all abbreviations used by Perl::Tidy. See the
30236 be copied to a temporary file before being be passed to Perl. This
30237 use of temporary files can cause somewhat confusing output from Perl.
30249 use Perl::Tidy;
30252 my$error=Perl::Tidy::perltidy(argv=>$argv,source=>\$source_string,
30268 my $error = Perl::Tidy::perltidy(
30437 This man page documents Perl::Tidy version 20121207.