aboutsummaryrefslogtreecommitdiff
path: root/src/stubs/com/sun/tools/javac/parser/JavaTokenizer.java
blob: cde6b3255ff8c7e78c24119efd7b0d2e1d364c3e (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
package com.sun.tools.javac.parser;

import java.nio.CharBuffer;

import com.sun.tools.javac.parser.Tokens.Comment;
import com.sun.tools.javac.parser.Tokens.Comment.CommentStyle;

public class JavaTokenizer {
	// used before java 16
	protected UnicodeReader reader;
	
	// used before java 16
	protected JavaTokenizer(ScannerFactory fac, UnicodeReader reader) {
	}
	
	public com.sun.tools.javac.parser.Tokens.Token readToken() {
		return null;
	}

	protected Comment processComment(int pos, int endPos, CommentStyle style) {
		return null;
	}
	
	// used in java 16
	protected JavaTokenizer(ScannerFactory fac, char[] buf, int inputLength) {
	}
	
	// used in java 16
	protected JavaTokenizer(ScannerFactory fac, CharBuffer buf) {
	}

	// introduced in java 16
	protected int position() {
		return -1;
	}
}