aboutsummaryrefslogtreecommitdiff
path: root/src/stubs/com/sun/tools/javac/parser/Scanner.java
blob: af94baccdb1b0e0769350a95266b57d8580bc51d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
 * These are stub versions of various bits of javac-internal API (for various different versions of javac). Lombok is compiled against these.
 */
package com.sun.tools.javac.parser;

import java.nio.CharBuffer;

import com.sun.tools.javac.util.Context;

public class Scanner implements Lexer {
	protected Scanner(Factory fac, CharBuffer buffer) {
	}
	
	protected Scanner(Factory fac, char[] input, int inputLength) {
	}
	
	protected Scanner(ScannerFactory fac, CharBuffer buffer) {
	}
	
	protected Scanner(ScannerFactory fac, char[] input, int inputLength) {
	}
	
	public static class Factory {
		public static final Context.Key<Scanner.Factory> scannerFactoryKey = null;
		
		protected Factory(Context context) {
		}
		
		public Scanner newScanner(CharSequence input) {
			return null;
		}
		
		public Scanner newScanner(char[] input, int inputLength) {
			return null;
		}
	}
	
	public enum CommentStyle {
		LINE,
		BLOCK,
		JAVADOC,
	}
	
	protected void processComment(CommentStyle style) {
	}
	
	public int prevEndPos() {
		return -1;
	}
	
	public int endPos() {
		return -1;
	}
	
	public int pos() {
		return -1;
	}
	
	public char[] getRawCharacters(int beginIndex, int endIndex) {
		return null;
	}
}