test_class.declarator: instance = new PatternAlignmentBaseImpl()
test_class.original_string: PatternAlignmentBaseImpl instance = new PatternAlignmentBaseImpl();
test_class.type: PatternAlignmentBaseImpl
test_class.var_name: instance
test_class.file: strings/src/test/java/org/cthul/strings/format/pattern/PatternAlignmentBaseTest.java
test_class.identifier: PatternAlignmentBaseTest
test_case.body: @Test
      public void test_simple_align_left() {
          String s = (String) parse("xy00", "0-", 5);
          assertThat(s, is("any/xy"));
      }
test_case.class_method_signature: PatternAlignmentBaseTest.test_simple_align_left()
test_case.full_signature: @Test public void test_simple_align_left()
test_case.identifier: test_simple_align_left
test_case.invocations: parse assertThat is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test_simple_align_left()
focal_class.declarator: IGNORE_SUBPATTERN = Integer.MIN_VALUE
focal_class.modifier: protected static final
focal_class.original_string: protected static final int IGNORE_SUBPATTERN = Integer.MIN_VALUE;
focal_class.type: int
focal_class.var_name: IGNORE_SUBPATTERN
focal_class.declarator: F_ALL = flags(F_JUSTIFICATION + F_PADDING)
focal_class.modifier: private static final
focal_class.original_string: private static final char[] F_ALL = flags(F_JUSTIFICATION + F_PADDING);
focal_class.type: char[]
focal_class.var_name: F_ALL
focal_class.declarator: F_PAD = flags(F_PADDING)
focal_class.modifier: private static final
focal_class.original_string: private static final char[] F_PAD = flags(F_PADDING);
focal_class.type: char[]
focal_class.var_name: F_PAD
focal_class.file: strings/src/main/java/org/cthul/strings/format/pattern/PatternAlignmentBase.java
focal_class.identifier: PatternAlignmentBase
focal_class.class_method_signature: PatternAlignmentBase.getValidFlags()
focal_class.full_signature: protected char[] getValidFlags()
focal_class.identifier: getValidFlags
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: char[]
focal_class.signature: char[] getValidFlags()
focal_class.class_method_signature: PatternAlignmentBase.getPaddingFlags()
focal_class.full_signature: protected char[] getPaddingFlags()
focal_class.identifier: getPaddingFlags
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: char[]
focal_class.signature: char[] getPaddingFlags()
focal_class.class_method_signature: PatternAlignmentBase.getDefaultPaddingChar()
focal_class.full_signature: protected char getDefaultPaddingChar()
focal_class.identifier: getDefaultPaddingChar
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: char
focal_class.signature: char getDefaultPaddingChar()
focal_class.class_method_signature: PatternAlignmentBase.getPaddingChar(String flags)
focal_class.full_signature: protected char getPaddingChar(String flags)
focal_class.identifier: getPaddingChar
focal_class.modifiers: protected
focal_class.parameters: (String flags)
focal_class.return: char
focal_class.signature: char getPaddingChar(String flags)
focal_class.class_method_signature: PatternAlignmentBase.appendPadding(final PatternAPI pattern, final char padding)
focal_class.full_signature: protected void appendPadding(final PatternAPI pattern, final char padding)
focal_class.identifier: appendPadding
focal_class.modifiers: protected
focal_class.parameters: (final PatternAPI pattern, final char padding)
focal_class.return: void
focal_class.signature: void appendPadding(final PatternAPI pattern, final char padding)
focal_class.class_method_signature: PatternAlignmentBase.appendPadding(final PatternAPI pattern, final char padding, int w)
focal_class.full_signature: protected void appendPadding(final PatternAPI pattern, final char padding, int w)
focal_class.identifier: appendPadding
focal_class.modifiers: protected
focal_class.parameters: (final PatternAPI pattern, final char padding, int w)
focal_class.return: void
focal_class.signature: void appendPadding(final PatternAPI pattern, final char padding, int w)
focal_class.class_method_signature: PatternAlignmentBase.matchExactWidth(String flags, int width)
focal_class.full_signature: protected boolean matchExactWidth(String flags, int width)
focal_class.identifier: matchExactWidth
focal_class.modifiers: protected
focal_class.parameters: (String flags, int width)
focal_class.return: boolean
focal_class.signature: boolean matchExactWidth(String flags, int width)
focal_class.class_method_signature: PatternAlignmentBase.toRegex(PatternAPI pattern, Locale locale, String flags, int width, int precision, String formatString, int position)
focal_class.full_signature: @Override public int toRegex(PatternAPI pattern, Locale locale, String flags, int width, int precision, String formatString, int position)
focal_class.identifier: toRegex
focal_class.modifiers: @Override public
focal_class.parameters: (PatternAPI pattern, Locale locale, String flags, int width, int precision, String formatString, int position)
focal_class.return: int
focal_class.signature: int toRegex(PatternAPI pattern, Locale locale, String flags, int width, int precision, String formatString, int position)
focal_class.class_method_signature: PatternAlignmentBase.toRegex(PatternAPI pattern, Locale locale, String flags, char padding, int precision, String formatString, int position)
focal_class.full_signature: protected abstract int toRegex(PatternAPI pattern, Locale locale, String flags, char padding, int precision, String formatString, int position)
focal_class.identifier: toRegex
focal_class.modifiers: protected abstract
focal_class.parameters: (PatternAPI pattern, Locale locale, String flags, char padding, int precision, String formatString, int position)
focal_class.return: int
focal_class.signature: int toRegex(PatternAPI pattern, Locale locale, String flags, char padding, int precision, String formatString, int position)
focal_class.class_method_signature: PatternAlignmentBase.toExactWidthRegex(PatternAPI pattern, Locale locale, String flags, Justification j, char padding, int width, int precision, String formatString, int position)
focal_class.full_signature: protected int toExactWidthRegex(PatternAPI pattern, Locale locale, String flags, Justification j, char padding, int width, int precision, String formatString, int position)
focal_class.identifier: toExactWidthRegex
focal_class.modifiers: protected
focal_class.parameters: (PatternAPI pattern, Locale locale, String flags, Justification j, char padding, int width, int precision, String formatString, int position)
focal_class.return: int
focal_class.signature: int toExactWidthRegex(PatternAPI pattern, Locale locale, String flags, Justification j, char padding, int width, int precision, String formatString, int position)
focal_class.class_method_signature: PatternAlignmentBase.createSubpatterns(PatternAPI pattern, Locale locale, String flags, Justification j, char padding, int width, int precision)
focal_class.full_signature: protected WidthMatchSubpatterns createSubpatterns(PatternAPI pattern, Locale locale, String flags, Justification j, char padding, int width, int precision)
focal_class.identifier: createSubpatterns
focal_class.modifiers: protected
focal_class.parameters: (PatternAPI pattern, Locale locale, String flags, Justification j, char padding, int width, int precision)
focal_class.return: WidthMatchSubpatterns
focal_class.signature: WidthMatchSubpatterns createSubpatterns(PatternAPI pattern, Locale locale, String flags, Justification j, char padding, int width, int precision)
focal_class.class_method_signature: PatternAlignmentBase.appendExactWidthRegex(WidthMatchSubpatterns sub, Locale locale, String flags, Justification j, char padding, int width, int precision, String formatString, int position)
focal_class.full_signature: protected int appendExactWidthRegex(WidthMatchSubpatterns sub, Locale locale, String flags, Justification j, char padding, int width, int precision, String formatString, int position)
focal_class.identifier: appendExactWidthRegex
focal_class.modifiers: protected
focal_class.parameters: (WidthMatchSubpatterns sub, Locale locale, String flags, Justification j, char padding, int width, int precision, String formatString, int position)
focal_class.return: int
focal_class.signature: int appendExactWidthRegex(WidthMatchSubpatterns sub, Locale locale, String flags, Justification j, char padding, int width, int precision, String formatString, int position)
focal_class.class_method_signature: PatternAlignmentBase.toRegex(PatternAPI regex, Locale locale, String flags, char padding, int width, int precision, String formatString, int position)
focal_class.full_signature: protected int toRegex(PatternAPI regex, Locale locale, String flags, char padding, int width, int precision, String formatString, int position)
focal_class.identifier: toRegex
focal_class.modifiers: protected
focal_class.parameters: (PatternAPI regex, Locale locale, String flags, char padding, int width, int precision, String formatString, int position)
focal_class.return: int
focal_class.signature: int toRegex(PatternAPI regex, Locale locale, String flags, char padding, int width, int precision, String formatString, int position)
focal_class.class_method_signature: PatternAlignmentBase.parse(MatcherAPI matcherAPI, Matcher matcher, int capturingBase, Object memento, Object lastArgValue)
focal_class.full_signature: @Override public Object parse(MatcherAPI matcherAPI, Matcher matcher, int capturingBase, Object memento, Object lastArgValue)
focal_class.identifier: parse
focal_class.modifiers: @Override public
focal_class.parameters: (MatcherAPI matcherAPI, Matcher matcher, int capturingBase, Object memento, Object lastArgValue)
focal_class.return: Object
focal_class.signature: Object parse(MatcherAPI matcherAPI, Matcher matcher, int capturingBase, Object memento, Object lastArgValue)
focal_class.class_method_signature: PatternAlignmentBase.parse(Matcher matcher, int capturingBase, int width, Object memento, Object lastArgValue)
focal_class.full_signature: protected abstract Object parse(Matcher matcher, int capturingBase, int width, Object memento, Object lastArgValue)
focal_class.identifier: parse
focal_class.modifiers: protected abstract
focal_class.parameters: (Matcher matcher, int capturingBase, int width, Object memento, Object lastArgValue)
focal_class.return: Object
focal_class.signature: Object parse(Matcher matcher, int capturingBase, int width, Object memento, Object lastArgValue)
focal_class.superclass: extends FormatPatternBase
focal_method.body: @Override
      public Object parse(MatcherAPI matcherAPI, Matcher matcher, int capturingBase, Object memento, Object lastArgValue) {
          if (memento instanceof WidthMatchSubpatterns) {
              WidthMatchSubpatterns sub = (WidthMatchSubpatterns) memento;
              int n = sub.getMatchingPattern(matcher, capturingBase);
              capturingBase += sub.getCapturingOffset(n);
              Object m = sub.getMemento(n);
              return parse(matcher, capturingBase, n-1, m, lastArgValue);
          } else {
              return parse(matcher, capturingBase+1, -2, memento, lastArgValue);
          }
      }
focal_method.class_method_signature: PatternAlignmentBase.parse(MatcherAPI matcherAPI, Matcher matcher, int capturingBase, Object memento, Object lastArgValue)
focal_method.full_signature: @Override public Object parse(MatcherAPI matcherAPI, Matcher matcher, int capturingBase, Object memento, Object lastArgValue)
focal_method.identifier: parse
focal_method.invocations: getMatchingPattern getCapturingOffset getMemento parse parse
focal_method.modifiers: @Override public
focal_method.parameters: (MatcherAPI matcherAPI, Matcher matcher, int capturingBase, Object memento, Object lastArgValue)
focal_method.return: Object
focal_method.signature: Object parse(MatcherAPI matcherAPI, Matcher matcher, int capturingBase, Object memento, Object lastArgValue)