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 |