src/share/classes/com/sun/tools/javac/parser/UnicodeReader.java

changeset 1521
71f35e4b93a5
parent 1358
fc123bdeddb8
child 2525
2eb010b6cb22
equal deleted inserted replaced
1520:5c956be64b9e 1521:71f35e4b93a5
1 /* 1 /*
2 * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
36 36
37 import static com.sun.tools.javac.util.LayoutCharacters.*; 37 import static com.sun.tools.javac.util.LayoutCharacters.*;
38 38
39 /** The char reader used by the javac lexer/tokenizer. Returns the sequence of 39 /** The char reader used by the javac lexer/tokenizer. Returns the sequence of
40 * characters contained in the input stream, handling unicode escape accordingly. 40 * characters contained in the input stream, handling unicode escape accordingly.
41 * Additionally, it provide features for saving chars into a buffer and to retrieve 41 * Additionally, it provides features for saving chars into a buffer and to retrieve
42 * them at a later stage. 42 * them at a later stage.
43 * 43 *
44 * <p><b>This is NOT part of any supported API. 44 * <p><b>This is NOT part of any supported API.
45 * If you write code that depends on this, you do so at your own risk. 45 * If you write code that depends on this, you do so at your own risk.
46 * This code and its internal interfaces are subject to change or 46 * This code and its internal interfaces are subject to change or

mercurial