final class FieldLengthRule
    implements RewriteRule

create_field.cc/Create_field::init checks display widths after the scanner accepts field_length.

Methods§

public function rewrite(TerminalSequence $sequence): TerminalSequence

Applies each type's width domain without changing ordinary numbers or YEAR's separate rule.

Parameters

Test cases 30
Calls 2
public function precision(TerminalSequence $sequence): TerminalSequence

Resolves precision and scale together so the digit count can depend on the selected scale.

Parameters

Test cases 29
Called from 1
Calls 4
public function width(TerminalSequence $sequence): TerminalSequence

Resolves the single width argument using its owning column type.

Parameters

Test cases 29
Called from 1
Calls 4

Test cases 36§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 30
Other tests reaching this symbol 6

Relations§

Instantiated in 1