LayoutCharacters.java revision 2571:10fc81ac75b4
178189Sbrian/* 278189Sbrian * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. 378189Sbrian * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 478189Sbrian * 578189Sbrian * This code is free software; you can redistribute it and/or modify it 66059Samurai * under the terms of the GNU General Public License version 2 only, as 778189Sbrian * published by the Free Software Foundation. Oracle designates this 878189Sbrian * particular file as subject to the "Classpath" exception as provided 978189Sbrian * by Oracle in the LICENSE file that accompanied this code. 1078189Sbrian * 1178189Sbrian * This code is distributed in the hope that it will be useful, but WITHOUT 1278189Sbrian * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1378189Sbrian * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1478189Sbrian * version 2 for more details (a copy is included in the LICENSE file that 156059Samurai * accompanied this code). 1678189Sbrian * 1778189Sbrian * You should have received a copy of the GNU General Public License version 1878189Sbrian * 2 along with this work; if not, write to the Free Software Foundation, 1978189Sbrian * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2078189Sbrian * 2178189Sbrian * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2278189Sbrian * or visit www.oracle.com if you need additional information or have any 2378189Sbrian * questions. 2478189Sbrian */ 2578189Sbrian 2678189Sbrianpackage com.sun.tools.javac.util; 276059Samurai 2850479Speter/** An interface containing layout character constants used in Java 296059Samurai * programs. 306059Samurai * 316059Samurai * <p><b>This is NOT part of any supported API. 3254912Sbrian * If you write code that depends on this, you do so at your own risk. 3354912Sbrian * This code and its internal interfaces are subject to change or 3454912Sbrian * deletion without notice.</b> 3554912Sbrian */ 3654912Sbrianpublic interface LayoutCharacters { 3754912Sbrian 3838472Sbrian /** Tabulator column increment. 396059Samurai */ 406059Samurai final static int TabInc = 8; 416059Samurai 426059Samurai /** Standard indentation for subdiagnostics 436059Samurai */ 4454912Sbrian final static int DiagInc = 4; 456059Samurai 466059Samurai /** Standard indentation for additional diagnostic lines 4746828Sbrian */ 4854912Sbrian final static int DetailsInc = 2; 496059Samurai 5046828Sbrian /** Tabulator character. 5154912Sbrian */ 5246828Sbrian final static byte TAB = 0x9; 5347695Sbrian 5447695Sbrian /** Line feed character. 5581634Sbrian */ 5681634Sbrian final static byte LF = 0xA; 5781634Sbrian 5881634Sbrian /** Form feed character. 5981634Sbrian */ 6081634Sbrian final static byte FF = 0xC; 6181634Sbrian 6281634Sbrian /** Carriage return character. 6381634Sbrian */ 6481634Sbrian final static byte CR = 0xD; 6581634Sbrian 6681634Sbrian /** End of input character. Used as a sentinel to denote the 6781634Sbrian * character one beyond the last defined character in a 6881634Sbrian * source file. 6981634Sbrian */ 7081634Sbrian final static byte EOI = 0x1A; 7181634Sbrian} 7281634Sbrian