diff options
Diffstat (limited to 'src/stubs/com/sun')
5 files changed, 40 insertions, 1 deletions
diff --git a/src/stubs/com/sun/tools/javac/parser/EndPosParser.java b/src/stubs/com/sun/tools/javac/parser/EndPosParser.java new file mode 100644 index 00000000..1ffd6ec5 --- /dev/null +++ b/src/stubs/com/sun/tools/javac/parser/EndPosParser.java @@ -0,0 +1,19 @@ +package com.sun.tools.javac.parser; + +import com.sun.tools.javac.tree.JCTree.JCCompilationUnit; + +public class EndPosParser { + public EndPosParser(Parser.Factory fac, Lexer S, boolean keepDocComments) { + } + + public EndPosParser(ParserFactory fac, Lexer S, boolean keepDocComments, boolean keepLineMap) { + } + + public JCCompilationUnit compilationUnit() { + return null; + } + + public JCCompilationUnit parseCompilationUnit() { + return null; + } +} diff --git a/src/stubs/com/sun/tools/javac/parser/Lexer.java b/src/stubs/com/sun/tools/javac/parser/Lexer.java new file mode 100644 index 00000000..b0824501 --- /dev/null +++ b/src/stubs/com/sun/tools/javac/parser/Lexer.java @@ -0,0 +1,5 @@ +package com.sun.tools.javac.parser; + +public interface Lexer { + +} diff --git a/src/stubs/com/sun/tools/javac/parser/ParserFactory.java b/src/stubs/com/sun/tools/javac/parser/ParserFactory.java new file mode 100644 index 00000000..193f2333 --- /dev/null +++ b/src/stubs/com/sun/tools/javac/parser/ParserFactory.java @@ -0,0 +1,11 @@ +package com.sun.tools.javac.parser; + +import com.sun.tools.javac.util.Context; + +public class ParserFactory { + public static Context.Key<ParserFactory> parserFactoryKey; + + public ParserFactory(Context context) { + + } +}
\ No newline at end of file diff --git a/src/stubs/com/sun/tools/javac/parser/Scanner.java b/src/stubs/com/sun/tools/javac/parser/Scanner.java index f6f1d25d..af94bacc 100644 --- a/src/stubs/com/sun/tools/javac/parser/Scanner.java +++ b/src/stubs/com/sun/tools/javac/parser/Scanner.java @@ -7,7 +7,7 @@ import java.nio.CharBuffer; import com.sun.tools.javac.util.Context; -public class Scanner { +public class Scanner implements Lexer { protected Scanner(Factory fac, CharBuffer buffer) { } diff --git a/src/stubs/com/sun/tools/javac/parser/ScannerFactory.java b/src/stubs/com/sun/tools/javac/parser/ScannerFactory.java index 26483db3..7f9418de 100644 --- a/src/stubs/com/sun/tools/javac/parser/ScannerFactory.java +++ b/src/stubs/com/sun/tools/javac/parser/ScannerFactory.java @@ -11,6 +11,10 @@ public class ScannerFactory { protected ScannerFactory(Context c) { } + public static ScannerFactory instance(Context c) { + return null; + } + public Scanner newScanner(CharSequence input, boolean keepDocComments) { return null; } |