first scanner /parser copied from the jdt java version
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / env / IConstants.java
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/env/IConstants.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/env/IConstants.java
new file mode 100644 (file)
index 0000000..0fbd8bd
--- /dev/null
@@ -0,0 +1,44 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2001, 2002 International Business Machines Corp. and others.
+ * All rights reserved. This program and the accompanying materials 
+ * are made available under the terms of the Common Public License v0.5 
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/cpl-v05.html
+ * 
+ * Contributors:
+ *     IBM Corporation - initial API and implementation
+ ******************************************************************************/
+package net.sourceforge.phpdt.internal.compiler.env;
+
+/**
+ * This interface defines constants for use by the builder / compiler interface.
+ */
+public interface IConstants {
+
+       /*
+        * Modifiers
+        */
+       int AccPublic = 0x0001;
+       int AccPrivate = 0x0002;
+       int AccProtected = 0x0004;
+       int AccStatic = 0x0008;
+       int AccFinal = 0x0010;
+       int AccSynchronized = 0x0020;
+       int AccVolatile = 0x0040;
+       int AccTransient = 0x0080;
+       int AccNative = 0x0100;
+       int AccInterface = 0x0200;
+       int AccAbstract = 0x0400;
+       int AccStrictfp = 0x0800;
+
+       /*
+        * Other VM flags.
+        */
+       int AccSuper = 0x0020;
+
+       /**
+        * Extra flags for types and members.
+        */
+       int AccSynthetic = 0x20000;
+       int AccDeprecated = 0x100000;
+}