code: private Pair<ParserRuleContext, CommonTokenStream> preparePath(final String input) {
  		UriLexer lexer = new UriLexer(CharStreams.fromString(input));
  		CommonTokenStream tokens = new CommonTokenStream(lexer);
  		UriParser parser = new UriParser(tokens);
  
  		parser.removeErrorListeners();
  		parser.addErrorListener(new ContentUriBaseErrorListener() {
  			@Override
  			public void syntaxError(Recognizer<?, ?> recognizer, Object offendingSymbol, int line, int charPositionInLine, String msg, RecognitionException e) {
  				AssertKripton.assertTrue(false, "unespected char at pos %s of URI '%s'", charPositionInLine, input);
  			}
  		});
  
  		ParserRuleContext context = parser.path();
  		return new Pair<>(context, tokens);
  	}
docs: Prepare path.
  
  @param input the input
  @return the pair