first scanner /parser copied from the jdt java version
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / problem / ProblemSeverities.java
1 /*******************************************************************************
2  * Copyright (c) 2000, 2001, 2002 International Business Machines Corp. and others.
3  * All rights reserved. This program and the accompanying materials 
4  * are made available under the terms of the Common Public License v0.5 
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v05.html
7  * 
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  ******************************************************************************/
11 package net.sourceforge.phpdt.internal.compiler.problem;
12
13 public interface ProblemSeverities {
14         
15         final int Ignore = -1; // during handling only
16         final int Warning = 0; // during handling only
17
18         final int Error = 1; // when bit is set: problem is error, if not it is a warning
19         final int AbortCompilation = 2;
20         final int AbortCompilationUnit = 4;
21         final int AbortType = 8;
22         final int AbortMethod = 16;
23         final int Abort = 30; // 2r11110
24         final int SecondaryError = 64;
25 }