Refactory: remove unused classes, imports, fields and methods.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / parser / Parser.java
index 02ef8d7..485d208 100644 (file)
@@ -1397,7 +1397,7 @@ public class Parser implements ITerminalSymbols, CompilerModifiers,
                // fully_qualified_class_name
                do {
                        if (token == TokenNameIdentifier) {
-                               char[] ident = scanner.getCurrentIdentifierSource();
+                               //char[] ident = scanner.getCurrentIdentifierSource();
                                // TODO make this code working better:
                                // SingleTypeReference ref =
                                // ParserUtil.getTypeReference(scanner,
@@ -1882,10 +1882,10 @@ public class Parser implements ITerminalSymbols, CompilerModifiers,
                }
        }
 
-       private void optional_class_type() {
-               // /* empty */
-               // | T_STRING
-       }
+//     private void optional_class_type() {
+//             // /* empty */
+//             // | T_STRING
+//     }
 
        // private void parameterDeclaration() {
        // //variable
@@ -4259,17 +4259,17 @@ public class Parser implements ITerminalSymbols, CompilerModifiers,
                return false;
        }
 
-       private void scalar() {
-               // scalar:
-               // T_STRING
-               // | T_STRING_VARNAME
-               // | class_constant
-               // | common_scalar
-               // | '"' encaps_list '"'
-               // | '\'' encaps_list '\''
-               // | T_START_HEREDOC encaps_list T_END_HEREDOC
-               throwSyntaxError("Not yet implemented (scalar).");
-       }
+//     private void scalar() {
+//             // scalar:
+//             // T_STRING
+//             // | T_STRING_VARNAME
+//             // | class_constant
+//             // | common_scalar
+//             // | '"' encaps_list '"'
+//             // | '\'' encaps_list '\''
+//             // | T_START_HEREDOC encaps_list T_END_HEREDOC
+//             throwSyntaxError("Not yet implemented (scalar).");
+//     }
 
        private void static_scalar() {
                // static_scalar: /* compile-time evaluated scalars */
@@ -4994,7 +4994,7 @@ public class Parser implements ITerminalSymbols, CompilerModifiers,
                // incastrix
                //String projectPath = ProjectPrefUtil.getDocumentRoot(file.getProject())
                //              .toString();
-                String filePath = file.getFullPath().toString();
+                //String filePath = file.getFullPath().toString();
                 
                 String ext = file.getFileExtension();
                 int fileExtensionLength = ext == null ? 0 : ext.length() + 1;