< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/parser/ScannerFactory.java

Print this page

        

*** 25,35 **** package com.sun.tools.javac.parser; import java.nio.CharBuffer; - import com.sun.tools.javac.code.Lint; import com.sun.tools.javac.code.Preview; import com.sun.tools.javac.code.Source; import com.sun.tools.javac.util.Context; import com.sun.tools.javac.util.Log; import com.sun.tools.javac.util.Names; --- 25,34 ----
*** 58,78 **** final Log log; final Names names; final Source source; final Preview preview; final Tokens tokens; - final Lint lint; /** Create a new scanner factory. */ protected ScannerFactory(Context context) { context.put(scannerFactoryKey, this); this.log = Log.instance(context); this.names = Names.instance(context); this.source = Source.instance(context); this.preview = Preview.instance(context); this.tokens = Tokens.instance(context); - this.lint = Lint.instance(context); } public Scanner newScanner(CharSequence input, boolean keepDocComments) { if (input instanceof CharBuffer) { CharBuffer buf = (CharBuffer) input; --- 57,75 ----
< prev index next >