public interface jdk.internal.org.jline.reader.Parser
  minor version: 0
  major version: 59
  flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
  this_class: jdk.internal.org.jline.reader.Parser
  super_class: java.lang.Object
{
  public static final java.lang.String REGEX_VARIABLE;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "[a-zA-Z_]{1,}[a-zA-Z0-9_-]*"

  public static final java.lang.String REGEX_COMMAND;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "[:]{0,1}[a-zA-Z]{1,}[a-zA-Z0-9_-]*"

  public abstract jdk.internal.org.jline.reader.ParsedLine parse(java.lang.String, int, jdk.internal.org.jline.reader.Parser$ParseContext);
    descriptor: (Ljava/lang/String;ILjdk/internal/org/jline/reader/Parser$ParseContext;)Ljdk/internal/org/jline/reader/ParsedLine;
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    Exceptions:
      throws jdk.internal.org.jline.reader.SyntaxError
    MethodParameters:
         Name  Flags
      line     
      cursor   
      context  

  public jdk.internal.org.jline.reader.ParsedLine parse(java.lang.String, int);
    descriptor: (Ljava/lang/String;I)Ljdk/internal/org/jline/reader/ParsedLine;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // jdk.internal.org.jline.reader.Parser this
        start local 1 // java.lang.String line
        start local 2 // int cursor
         0: .line 21
            aload 0 /* this */
            aload 1 /* line */
            iload 2 /* cursor */
            getstatic jdk.internal.org.jline.reader.Parser$ParseContext.UNSPECIFIED:Ljdk/internal/org/jline/reader/Parser$ParseContext;
            invokeinterface jdk.internal.org.jline.reader.Parser.parse:(Ljava/lang/String;ILjdk/internal/org/jline/reader/Parser$ParseContext;)Ljdk/internal/org/jline/reader/ParsedLine;
            areturn
        end local 2 // int cursor
        end local 1 // java.lang.String line
        end local 0 // jdk.internal.org.jline.reader.Parser this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Ljdk/internal/org/jline/reader/Parser;
            0    1     1    line  Ljava/lang/String;
            0    1     2  cursor  I
    Exceptions:
      throws jdk.internal.org.jline.reader.SyntaxError
    MethodParameters:
        Name  Flags
      line    
      cursor  

  public boolean isEscapeChar(char);
    descriptor: (C)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.org.jline.reader.Parser this
        start local 1 // char ch
         0: .line 25
            iload 1 /* ch */
            bipush 92
            if_icmpne 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 1 // char ch
        end local 0 // jdk.internal.org.jline.reader.Parser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/org/jline/reader/Parser;
            0    2     1    ch  C
    MethodParameters:
      Name  Flags
      ch    

  public boolean validCommandName(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.org.jline.reader.Parser this
        start local 1 // java.lang.String name
         0: .line 29
            aload 1 /* name */
            ifnull 1
            aload 1 /* name */
            ldc "[:]{0,1}[a-zA-Z]{1,}[a-zA-Z0-9_-]*"
            invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
            ifeq 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 1 // java.lang.String name
        end local 0 // jdk.internal.org.jline.reader.Parser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/org/jline/reader/Parser;
            0    2     1  name  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      name  

  public boolean validVariableName(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.org.jline.reader.Parser this
        start local 1 // java.lang.String name
         0: .line 33
            aload 1 /* name */
            ifnull 1
            aload 1 /* name */
            ldc "[a-zA-Z_]{1,}[a-zA-Z0-9_-]*"
            invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
            ifeq 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 1 // java.lang.String name
        end local 0 // jdk.internal.org.jline.reader.Parser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/org/jline/reader/Parser;
            0    2     1  name  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      name  

  public java.lang.String getCommand(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=6, args_size=2
        start local 0 // jdk.internal.org.jline.reader.Parser this
        start local 1 // java.lang.String line
         0: .line 37
            ldc ""
            astore 2 /* out */
        start local 2 // java.lang.String out
         1: .line 38
            ldc "^\\s*[a-zA-Z_]{1,}[a-zA-Z0-9_-]*=([:]{0,1}[a-zA-Z]{1,}[a-zA-Z0-9_-]*)(\\s+.*|$)"
            invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
            astore 3 /* patternCommand */
        start local 3 // java.util.regex.Pattern patternCommand
         2: .line 39
            aload 3 /* patternCommand */
            aload 1 /* line */
            invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
            astore 4 /* matcher */
        start local 4 // java.util.regex.Matcher matcher
         3: .line 40
            aload 4 /* matcher */
            invokevirtual java.util.regex.Matcher.find:()Z
            ifeq 6
         4: .line 41
            aload 4 /* matcher */
            iconst_1
            invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
            astore 2 /* out */
         5: .line 42
            goto 12
         6: .line 43
      StackMap locals: java.lang.String java.util.regex.Pattern java.util.regex.Matcher
      StackMap stack:
            aload 1 /* line */
            invokevirtual java.lang.String.trim:()Ljava/lang/String;
            ldc "\\s+"
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            iconst_0
            aaload
            astore 2 /* out */
         7: .line 44
            aload 2 /* out */
            ldc "="
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            istore 5 /* idx */
        start local 5 // int idx
         8: .line 45
            iload 5 /* idx */
            iconst_m1
            if_icmple 10
         9: .line 46
            aload 2 /* out */
            iload 5 /* idx */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 2 /* out */
        10: .line 48
      StackMap locals: int
      StackMap stack:
            aload 2 /* out */
            ldc "[:]{0,1}[a-zA-Z]{1,}[a-zA-Z0-9_-]*"
            invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
            ifne 12
        11: .line 49
            ldc ""
            astore 2 /* out */
        end local 5 // int idx
        12: .line 52
      StackMap locals:
      StackMap stack:
            aload 2 /* out */
            areturn
        end local 4 // java.util.regex.Matcher matcher
        end local 3 // java.util.regex.Pattern patternCommand
        end local 2 // java.lang.String out
        end local 1 // java.lang.String line
        end local 0 // jdk.internal.org.jline.reader.Parser this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   13     0            this  Ljdk/internal/org/jline/reader/Parser;
            0   13     1            line  Ljava/lang/String;
            1   13     2             out  Ljava/lang/String;
            2   13     3  patternCommand  Ljava/util/regex/Pattern;
            3   13     4         matcher  Ljava/util/regex/Matcher;
            8   12     5             idx  I
    MethodParameters:
      Name  Flags
      line  final

  public java.lang.String getVariable(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // jdk.internal.org.jline.reader.Parser this
        start local 1 // java.lang.String line
         0: .line 56
            aconst_null
            astore 2 /* out */
        start local 2 // java.lang.String out
         1: .line 57
            ldc "^\\s*([a-zA-Z_]{1,}[a-zA-Z0-9_-]*)\\s*=[^=~].*"
            invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
            astore 3 /* patternCommand */
        start local 3 // java.util.regex.Pattern patternCommand
         2: .line 58
            aload 3 /* patternCommand */
            aload 1 /* line */
            invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
            astore 4 /* matcher */
        start local 4 // java.util.regex.Matcher matcher
         3: .line 59
            aload 4 /* matcher */
            invokevirtual java.util.regex.Matcher.find:()Z
            ifeq 5
         4: .line 60
            aload 4 /* matcher */
            iconst_1
            invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
            astore 2 /* out */
         5: .line 62
      StackMap locals: java.lang.String java.util.regex.Pattern java.util.regex.Matcher
      StackMap stack:
            aload 2 /* out */
            areturn
        end local 4 // java.util.regex.Matcher matcher
        end local 3 // java.util.regex.Pattern patternCommand
        end local 2 // java.lang.String out
        end local 1 // java.lang.String line
        end local 0 // jdk.internal.org.jline.reader.Parser this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    6     0            this  Ljdk/internal/org/jline/reader/Parser;
            0    6     1            line  Ljava/lang/String;
            1    6     2             out  Ljava/lang/String;
            2    6     3  patternCommand  Ljava/util/regex/Pattern;
            3    6     4         matcher  Ljava/util/regex/Matcher;
    MethodParameters:
      Name  Flags
      line  final
}
SourceFile: "Parser.java"
NestMembers:
  jdk.internal.org.jline.reader.Parser$ParseContext
InnerClasses:
  public final ParseContext = jdk.internal.org.jline.reader.Parser$ParseContext of jdk.internal.org.jline.reader.Parser