code: public static DotParser createParser(final DotLexer lexer) {
  
          // Check sanity
          if (lexer == null) {
              throw new IllegalArgumentException("Cannot handle null 'lexer' argument.");
          }
  
          // All Done.
          return new DotParser(new CommonTokenStream(lexer));
      }
docs: Creates a {@link DotParser} reading data from the supplied {@link DotLexer}.
  
  @param lexer A non-null {@link DotLexer} instance holding all Graphviz/DOT diagram data.
  @return a {@link DotParser} hooked up with a {@link org.antlr.v4.runtime.TokenStream} to the
  supplied {@link DotLexer}.