langtools/src/jdk.jshell/share/classes/jdk/jshell/ReplParserFactory.java
changeset 43584 63e67712246b
parent 34752 9c262a013456
child 43586 cc7a4eb79b29
equal deleted inserted replaced
43583:d16e490ec827 43584:63e67712246b
    54     @Override
    54     @Override
    55     public JavacParser newParser(CharSequence input, boolean keepDocComments, boolean keepEndPos, boolean keepLineMap) {
    55     public JavacParser newParser(CharSequence input, boolean keepDocComments, boolean keepEndPos, boolean keepLineMap) {
    56         com.sun.tools.javac.parser.Lexer lexer = scannerFactory.newScanner(input, keepDocComments);
    56         com.sun.tools.javac.parser.Lexer lexer = scannerFactory.newScanner(input, keepDocComments);
    57         return new ReplParser(this, lexer, keepDocComments, keepLineMap, keepEndPos);
    57         return new ReplParser(this, lexer, keepDocComments, keepLineMap, keepEndPos);
    58     }
    58     }
       
    59 
       
    60     @Override
       
    61     public JavacParser newParser(CharSequence input, boolean keepDocComments, boolean keepEndPos, boolean keepLineMap, boolean parseModuleInfo) {
       
    62         return newParser(input, keepDocComments, keepEndPos, keepLineMap);
       
    63     }
    59 }
    64 }