$line_count,
$rbond_strength_to_go,
$saw_good_break,
+
) = @_;
+ if ( DEVEL_MODE && ( my $count = @_ ) != ( my $expected_count = 8 ) ) {
+ Fault("arg count $count expected to be $expected_count\n");
+ }
+
# Given:
# $i_begin = first index of range
# $i_last_break = index of previous break
) = @_;
+ if ( DEVEL_MODE && ( my $count = @_ ) != ( my $expected_count = 9 ) ) {
+ Fault("arg count $count expected to be $expected_count\n");
+ }
+
#--------------------------------------------------------------
# This routine makes any necessary adjustments to get the final
# indentation of a line in the Formatter.
) = @_;
+ if ( DEVEL_MODE && ( my $count = @_ ) != ( my $expected_count = 10 ) ) {
+ Fault("arg count $count expected to be $expected_count\n");
+ }
+
my $adjust_indentation = 0;
my $default_adjust_indentation = $adjust_indentation;
my $terminal_type = $types_to_go[$i_terminal];
) = @_;
+ if ( DEVEL_MODE && ( my $count = @_ ) != ( my $expected_count = 9 ) ) {
+ Fault("arg count $count expected to be $expected_count\n");
+ }
+
# Define vertical tightness controls for the nth line of a batch.
# Note: do not call this sub for a block comment or if
# $rOpts_freeze_whitespace is set.
$max_token_index
) = @_;
+
+ if ( DEVEL_MODE && ( my $count = @_ ) != ( my $expected_count = 8 ) ) {
+ $self->Fault("arg count $count expected to be $expected_count\n");
+ }
+
my $i_begin = $i;
my $package = undef;
$max_token_index
) = @_;
+
+ if ( DEVEL_MODE && ( my $count = @_ ) != ( my $expected_count = 8 ) ) {
+ $self->Fault("arg count $count expected to be $expected_count\n");
+ }
+
use constant DEBUG_NSCAN => 0;
my $type = EMPTY_STRING;
my ( $i_beg, $pos_beg );
$max_token_index,
$expecting,
$container_type
+
) = @_;
+ if ( DEVEL_MODE && ( my $count = @_ ) != ( my $expected_count = 8 ) ) {
+ $self->Fault("arg count $count expected to be $expected_count\n");
+ }
+
# return flag telling caller to split the pretoken
my $split_pretoken_flag;
# $i - unchanged if not here doc,
# or index of the last token of the here target
# $saw_error - flag noting unbalanced quote on here target
- my ( $self, $expecting, $i, $rtokens, $rtoken_type, $rtoken_map,
- $max_token_index )
- = @_;
+ my (
+
+ $self,
+
+ $expecting,
+ $i,
+ $rtokens,
+ $rtoken_type,
+ $rtoken_map,
+ $max_token_index
+
+ ) = @_;
+
+ if ( DEVEL_MODE && ( my $count = @_ ) != ( my $expected_count = 7 ) ) {
+ $self->Fault("arg count $count expected to be $expected_count\n");
+ }
my $ibeg = $i;
my $found_target = 0;
my (
$self,
+
$i,
$in_quote,
$quote_character,
) = @_;
- if ( DEVEL_MODE && @_ != ( my $my_count = 12 ) ) {
- my $count = @_;
- $self->Fault("arg count $count expected to be $my_count\n");
+ if ( DEVEL_MODE && ( my $count = @_ ) != ( my $expected_count = 12 ) ) {
+ $self->Fault("arg count $count expected to be $expected_count\n");
}
my $quoted_string;
my (
$self,
+
$i_beg,
$in_quote,
$rtokens,
) = @_;
+ if ( DEVEL_MODE && ( my $count = @_ ) != ( my $expected_count = 9 ) ) {
+ $self->Fault("arg count $count expected to be $expected_count\n");
+ }
+
my ( $tok, $end_tok );
my $i = $i_beg - 1;
my $quoted_string = EMPTY_STRING;