private boolean parseInline(){
  boolean res;
  char c=peek();
  if (c == '\0') {
    return false;
  }
switch (c) {
case '\n':
    res=parseNewline();
  break;
case '\\':
res=parseBackslash();
break;
case '`':
res=parseBackticks();
break;
case '[':
res=parseOpenBracket();
break;
case '!':
res=parseBang();
break;
case ']':
res=parseCloseBracket();
break;
case '<':
res=parseAutolink() || parseHtmlInline();
break;
case '&':
res=parseEntity();
break;
default :
boolean isDelimiter=delimiterCharacters.get(c);
if (isDelimiter) {
DelimiterProcessor delimiterProcessor=delimiterProcessors.get(c);
res=parseDelimiters(delimiterProcessor,c);
}
 else {
res=parseString();
}
break;
}
if (!res) {
index++;
String literal=String.valueOf(c);
appendText(literal);
}
return true;
}

private boolean parseInline ( ) { boolean res ; char c = peek ( ) ; if ( c == '\0' ) { return false ; } switch ( c ) { case '\n' : res = parseNewline ( ) ; break ; case '\\' : res = parseBackslash ( ) ; break ; case '`' : res = parseBackticks ( ) ; break ; case '[' : res = parseOpenBracket ( ) ; break ; case '!' : res = parseBang ( ) ; break ; case ']' : res = parseCloseBracket ( ) ; break ; case '<' : res = parseAutolink ( ) || parseHtmlInline ( ) ; break ; case '&' : res = parseEntity ( ) ; break ; default : boolean isDelimiter = delimiterCharacters . get ( c ) ; if ( isDelimiter ) { DelimiterProcessor delimiterProcessor = delimiterProcessors . get ( c ) ; res = parseDelimiters ( delimiterProcessor , c ) ; } else { res = parseString ( ) ; } break ; } if ( ! res ) { index ++ ; String literal = String . valueOf ( c ) ; appendText ( literal ) ; } return true ; }
parse the next inline element in subject , advancing input index . on success , add the result to block ' s children and return true . on failure , return false .
