Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

1.6 to please indigo

  • Loading branch information...
commit 5d32349f0ef8d10e527b30fc118112267a4e61ed 1 parent 8488e5c
@JPMoresmau authored
Showing with 879 additions and 880 deletions.
  1. +1 −1  docs/releasenotes/net.sf.eclipsefp.haskell_2.2.2.txt
  2. +2 −2 net.sf.eclipsefp.haskell-feature/feature.xml
  3. +1 −1  net.sf.eclipsefp.haskell.browser/.classpath
  4. +1 −1  net.sf.eclipsefp.haskell.buildwrapper/.classpath
  5. +8 −8 net.sf.eclipsefp.haskell.buildwrapper/src/net/sf/eclipsefp/haskell/buildwrapper/JobFacade.java
  6. +1 −1  net.sf.eclipsefp.haskell.compat/.classpath
  7. +1 −1  net.sf.eclipsefp.haskell.core.test/.classpath
  8. +7 −7 net.sf.eclipsefp.haskell.core/.classpath
  9. +1 −1  net.sf.eclipsefp.haskell.debug.core/.classpath
  10. +1 −1  net.sf.eclipsefp.haskell.debug.core/META-INF/MANIFEST.MF
  11. +1 −1  net.sf.eclipsefp.haskell.debug.ui.test/.classpath
  12. +1 −1  net.sf.eclipsefp.haskell.debug.ui/.classpath
  13. +1 −1  net.sf.eclipsefp.haskell.debug.ui/META-INF/MANIFEST.MF
  14. +7 −7 net.sf.eclipsefp.haskell.ghccompiler.test/.classpath
  15. +7 −7 net.sf.eclipsefp.haskell.ghccompiler/.classpath
  16. +7 −7 net.sf.eclipsefp.haskell.haddock/.classpath
  17. +1 −1  net.sf.eclipsefp.haskell.hlint.test/.classpath
  18. +1 −1  net.sf.eclipsefp.haskell.hlint/.classpath
  19. +796 −796 net.sf.eclipsefp.haskell.hlint/src/net/sf/eclipsefp/haskell/hlint/parser/OutputParser.java
  20. +7 −7 net.sf.eclipsefp.haskell.hugs/.classpath
  21. +1 −1  net.sf.eclipsefp.haskell.profiler/.classpath
  22. +1 −1  net.sf.eclipsefp.haskell.scion.client.test/.classpath
  23. +1 −1  net.sf.eclipsefp.haskell.scion.client/.classpath
  24. +1 −1  net.sf.eclipsefp.haskell.test/.classpath
  25. +7 −7 net.sf.eclipsefp.haskell.ui.test/.classpath
  26. +7 −7 net.sf.eclipsefp.haskell.ui/.classpath
  27. +6 −7 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/haskell/HaskellTextHover.java
  28. +1 −1  net.sf.eclipsefp.haskell.util/.classpath
  29. +1 −1  net.sf.eclipsefp.haskell/.classpath
View
2  docs/releasenotes/net.sf.eclipsefp.haskell_2.2.2.txt
@@ -6,7 +6,7 @@ Release Notes
Necessary Haskell packages:
- EclipseFP relies on BuildWrapper, a Haskell IDE library, for a lot of its functionality. See https://github.com/JPMoresmau/BuildWrapper for more information. Version 0.4.0 of buildwrapper has been validated with this version of EclipseFP
- - EclipseFP also uses scion-browser. Version 0.2.4 has been validated with this version of EclipseFP
+ - EclipseFP also uses scion-browser. Version 0.2.6 has been validated with this version of EclipseFP
Fixes:
View
4 net.sf.eclipsefp.haskell-feature/feature.xml
@@ -110,14 +110,14 @@ available at http://www.eclipse.org/legal/epl-v10.html.
id="net.sf.eclipsefp.haskell.debug.ui"
download-size="0"
install-size="0"
- version="2.2.1"
+ version="2.2.2"
unpack="false"/>
<plugin
id="net.sf.eclipsefp.haskell.debug.core"
download-size="0"
install-size="0"
- version="2.2.1"
+ version="2.2.2"
unpack="false"/>
<plugin
View
2  net.sf.eclipsefp.haskell.browser/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
View
2  net.sf.eclipsefp.haskell.buildwrapper/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
View
16 net.sf.eclipsefp.haskell.buildwrapper/src/net/sf/eclipsefp/haskell/buildwrapper/JobFacade.java
@@ -164,25 +164,25 @@ protected IStatus run(IProgressMonitor monitor) {
//long t0=System.currentTimeMillis();
//realFacade.getBuildFlags(file);
- long t1=System.currentTimeMillis();
+ // long t1=System.currentTimeMillis();
OutlineResult or=realFacade.outline(file);
- long t2=System.currentTimeMillis();
+ //long t2=System.currentTimeMillis();
if (!or.isEmpty() || or.isBuildOK()){
handler.handleOutline(or); // avoid removing all outline on error
}
- long t3=System.currentTimeMillis();
+ //long t3=System.currentTimeMillis();
if (or.isBuildOK()){
realFacade.build1(file);
}
- long t4=System.currentTimeMillis();
+ //long t4=System.currentTimeMillis();
//,getBuildFlags:"+(t1-t0)
- BuildWrapperPlugin.logInfo("outline:"+(t2-t1)+"ms,handleroutline:"+(t3-t2)+"ms,build:"+(t4-t3)+"ms");
+ //BuildWrapperPlugin.logInfo("outline:"+(t2-t1)+"ms,handleroutline:"+(t3-t2)+"ms,build:"+(t4-t3)+"ms");
} finally {
monitor.done();
}
@@ -228,10 +228,10 @@ public void getThingAtPoint(final IFile file,final Location location,
protected IStatus run(IProgressMonitor monitor) {
try {
monitor.beginTask(jobNamePrefix, IProgressMonitor.UNKNOWN);
- long t0=System.currentTimeMillis();
+ //long t0=System.currentTimeMillis();
handler.handleThing(realFacade.getThingAtPoint(file, location, qualify, typed));
- long t1=System.currentTimeMillis();
- BuildWrapperPlugin.logInfo("thingAtPoint:"+(t1-t0)+"ms");
+ //long t1=System.currentTimeMillis();
+ //BuildWrapperPlugin.logInfo("thingAtPoint:"+(t1-t0)+"ms");
} finally {
monitor.done();
}
View
2  net.sf.eclipsefp.haskell.compat/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
View
2  net.sf.eclipsefp.haskell.core.test/.classpath
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
View
14 net.sf.eclipsefp.haskell.core/.classpath
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
View
2  net.sf.eclipsefp.haskell.debug.core/.classpath
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry exported="true" kind="lib" path="lib/jdom.jar"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
View
2  net.sf.eclipsefp.haskell.debug.core/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %bundleName
Bundle-SymbolicName: net.sf.eclipsefp.haskell.debug.core;singleton:=true
-Bundle-Version: 2.2.1
+Bundle-Version: 2.2.2
Bundle-Activator: net.sf.eclipsefp.haskell.debug.core.internal.HaskellDebugCore
Bundle-Vendor: %bundleVendor
Require-Bundle: org.eclipse.core.runtime,
View
2  net.sf.eclipsefp.haskell.debug.ui.test/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
View
2  net.sf.eclipsefp.haskell.debug.ui/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
View
2  net.sf.eclipsefp.haskell.debug.ui/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %bundleName
Bundle-SymbolicName: net.sf.eclipsefp.haskell.debug.ui;singleton:=true
-Bundle-Version: 2.2.1
+Bundle-Version: 2.2.2
Bundle-Activator: net.sf.eclipsefp.haskell.debug.ui.internal.HaskellDebugUI
Bundle-Vendor: %bundleVendor
Require-Bundle: net.sf.eclipsefp.haskell.ghccompiler,
View
14 net.sf.eclipsefp.haskell.ghccompiler.test/.classpath
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
View
14 net.sf.eclipsefp.haskell.ghccompiler/.classpath
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
View
14 net.sf.eclipsefp.haskell.haddock/.classpath
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
View
2  net.sf.eclipsefp.haskell.hlint.test/.classpath
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry combineaccessrules="false" kind="src" path="/net.sf.eclipsefp.haskell.hlint"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
View
2  net.sf.eclipsefp.haskell.hlint/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
View
1,592 net.sf.eclipsefp.haskell.hlint/src/net/sf/eclipsefp/haskell/hlint/parser/OutputParser.java
@@ -1,115 +1,115 @@
-/* Generated By:JavaCC: Do not edit this line. OutputParser.java */
-package net.sf.eclipsefp.haskell.hlint.parser;
-
-import java.util.*;
-import net.sf.eclipsefp.haskell.hlint.*;
-
-public class OutputParser implements OutputParserConstants {
-
- final public List<Suggestion> suggestions() throws ParseException {
- ArrayList<Suggestion > sugs= new ArrayList<Suggestion>();
- Suggestion sug;
- label_1:
- while (true) {
- if (jj_2_1(3)) {
- ;
- } else {
- break label_1;
- }
- sug = suggestion();
- sugs.add(sug);
- }
- jj_consume_token(INTEGER);
- string_until_eol();
- jj_consume_token(0);
- {if (true) return sugs;}
- throw new Error("Missing return statement in function");
- }
-
- final public Suggestion suggestion() throws ParseException {
- StringBuilder filename;
- Integer line;
- Integer column;
- Severity sev;
- StringBuilder message;
- CodeModification pre;
- CodeModification post;
- filename = filename();
- line = number();
- column = number();
- jj_consume_token(SPACE);
- sev = severity();
- jj_consume_token(SPACE);
- message = string_until_eol();
- pre = code_mod();
- post = code_mod();
- jj_consume_token(EOL);
- Suggestion s = new Suggestion();
- s.setLocation(new SourceLocation(filename.toString().replace("\u005c\u005c\u005c\u005c","\u005c\u005c"), line, column));
- s.setSeverity(sev);
- s.setMessage(message.toString());
- s.setPre(pre);
- s.setPost(post);
- {if (true) return s;}
- throw new Error("Missing return statement in function");
- }
-
- final public StringBuilder filename() throws ParseException {
- Token c;
- StringBuilder s=new StringBuilder();
- StringBuilder rest=new StringBuilder();
- if (jj_2_2(3)) {
- c = jj_consume_token(COLON_SLASH);
- s.append(c.image);
- } else if (jj_2_3(3)) {
- c = jj_consume_token(OTHER_CHAR);
- s.append(c.image);
- } else if (jj_2_4(3)) {
- c = jj_consume_token(SPACE);
- s.append(c.image);
- } else {
- jj_consume_token(-1);
- throw new ParseException();
- }
- rest = string_until_colon();
- s.append(rest);
- {if (true) return s;}
- throw new Error("Missing return statement in function");
- }
-
- final public StringBuilder string_until_colon() throws ParseException {
- Token c;
- Token c1, c2;
- StringBuilder s=new StringBuilder();
- label_2:
- while (true) {
- if (jj_2_5(3)) {
- ;
- } else {
- break label_2;
- }
- if (jj_2_6(3)) {
- c = jj_consume_token(COLON_SLASH);
- s.append(c.image);
- } else if (jj_2_7(3)) {
- c = jj_consume_token(OTHER_CHAR);
- s.append(c.image);
- } else if (jj_2_8(3)) {
- c = jj_consume_token(SPACE);
- s.append(c.image);
- } else if (jj_2_9(3)) {
- c = jj_consume_token(INTEGER);
- s.append(c.image);
- } else {
- jj_consume_token(-1);
- throw new ParseException();
- }
- }
- jj_consume_token(COLON);
- {if (true) return s;}
- throw new Error("Missing return statement in function");
- }
-
+/* Generated By:JavaCC: Do not edit this line. OutputParser.java */
+package net.sf.eclipsefp.haskell.hlint.parser;
+
+import java.util.*;
+import net.sf.eclipsefp.haskell.hlint.*;
+
+public class OutputParser implements OutputParserConstants {
+
+ final public List<Suggestion> suggestions() throws ParseException {
+ ArrayList<Suggestion > sugs= new ArrayList<Suggestion>();
+ Suggestion sug;
+ label_1:
+ while (true) {
+ if (jj_2_1(3)) {
+ ;
+ } else {
+ break label_1;
+ }
+ sug = suggestion();
+ sugs.add(sug);
+ }
+ jj_consume_token(INTEGER);
+ string_until_eol();
+ jj_consume_token(0);
+ {if (true) return sugs;}
+ throw new Error("Missing return statement in function");
+ }
+
+ final public Suggestion suggestion() throws ParseException {
+ StringBuilder filename;
+ Integer line;
+ Integer column;
+ Severity sev;
+ StringBuilder message;
+ CodeModification pre;
+ CodeModification post;
+ filename = filename();
+ line = number();
+ column = number();
+ jj_consume_token(SPACE);
+ sev = severity();
+ jj_consume_token(SPACE);
+ message = string_until_eol();
+ pre = code_mod();
+ post = code_mod();
+ jj_consume_token(EOL);
+ Suggestion s = new Suggestion();
+ s.setLocation(new SourceLocation(filename.toString().replace("\u005c\u005c\u005c\u005c","\u005c\u005c"), line, column));
+ s.setSeverity(sev);
+ s.setMessage(message.toString());
+ s.setPre(pre);
+ s.setPost(post);
+ {if (true) return s;}
+ throw new Error("Missing return statement in function");
+ }
+
+ final public StringBuilder filename() throws ParseException {
+ Token c;
+ StringBuilder s=new StringBuilder();
+ StringBuilder rest=new StringBuilder();
+ if (jj_2_2(3)) {
+ c = jj_consume_token(COLON_SLASH);
+ s.append(c.image);
+ } else if (jj_2_3(3)) {
+ c = jj_consume_token(OTHER_CHAR);
+ s.append(c.image);
+ } else if (jj_2_4(3)) {
+ c = jj_consume_token(SPACE);
+ s.append(c.image);
+ } else {
+ jj_consume_token(-1);
+ throw new ParseException();
+ }
+ rest = string_until_colon();
+ s.append(rest);
+ {if (true) return s;}
+ throw new Error("Missing return statement in function");
+ }
+
+ final public StringBuilder string_until_colon() throws ParseException {
+ Token c;
+ Token c1, c2;
+ StringBuilder s=new StringBuilder();
+ label_2:
+ while (true) {
+ if (jj_2_5(3)) {
+ ;
+ } else {
+ break label_2;
+ }
+ if (jj_2_6(3)) {
+ c = jj_consume_token(COLON_SLASH);
+ s.append(c.image);
+ } else if (jj_2_7(3)) {
+ c = jj_consume_token(OTHER_CHAR);
+ s.append(c.image);
+ } else if (jj_2_8(3)) {
+ c = jj_consume_token(SPACE);
+ s.append(c.image);
+ } else if (jj_2_9(3)) {
+ c = jj_consume_token(INTEGER);
+ s.append(c.image);
+ } else {
+ jj_consume_token(-1);
+ throw new ParseException();
+ }
+ }
+ jj_consume_token(COLON);
+ {if (true) return s;}
+ throw new Error("Missing return statement in function");
+ }
+
/*{
c = < OTHER_CHAR >
s = string_until_colon()
@@ -136,42 +136,42 @@ final public StringBuilder string_until_colon() throws ParseException {
return s;
}
| < COLON >
- {
- return new StringBuilder();
- }
-}*/
- final public StringBuilder string_until_eol() throws ParseException {
- Token c;
- StringBuilder s=new StringBuilder();
- label_3:
- while (true) {
- if (jj_2_10(3)) {
- ;
- } else {
- break label_3;
- }
- if (jj_2_11(3)) {
- c = jj_consume_token(COLON_SLASH);
- s.append(c.image);
- } else if (jj_2_12(3)) {
- c = jj_consume_token(OTHER_CHAR);
- s.append(c.image);
- } else if (jj_2_13(3)) {
- c = jj_consume_token(COLON);
- s.append(c.image);
- } else if (jj_2_14(3)) {
- c = jj_consume_token(SPACE);
- s.append(c.image);
- } else if (jj_2_15(3)) {
- c = jj_consume_token(INTEGER);
- s.append(c.image);
- } else {
- jj_consume_token(-1);
- throw new ParseException();
- }
- }
- jj_consume_token(EOL);
- {if (true) return s;}
+ {
+ return new StringBuilder();
+ }
+}*/
+ final public StringBuilder string_until_eol() throws ParseException {
+ Token c;
+ StringBuilder s=new StringBuilder();
+ label_3:
+ while (true) {
+ if (jj_2_10(3)) {
+ ;
+ } else {
+ break label_3;
+ }
+ if (jj_2_11(3)) {
+ c = jj_consume_token(COLON_SLASH);
+ s.append(c.image);
+ } else if (jj_2_12(3)) {
+ c = jj_consume_token(OTHER_CHAR);
+ s.append(c.image);
+ } else if (jj_2_13(3)) {
+ c = jj_consume_token(COLON);
+ s.append(c.image);
+ } else if (jj_2_14(3)) {
+ c = jj_consume_token(SPACE);
+ s.append(c.image);
+ } else if (jj_2_15(3)) {
+ c = jj_consume_token(INTEGER);
+ s.append(c.image);
+ } else {
+ jj_consume_token(-1);
+ throw new ParseException();
+ }
+ }
+ jj_consume_token(EOL);
+ {if (true) return s;}
throw new Error("Missing return statement in function");
}
@@ -201,651 +201,651 @@ final public StringBuilder string_until_eol() throws ParseException {
return s;
}
| < EOL >
- {
- return new StringBuilder();
- }
-}*/
- final public Integer number() throws ParseException {
- Token c;
- c = jj_consume_token(INTEGER);
- jj_consume_token(COLON);
- {if (true) return Integer.valueOf(c.image);}
- throw new Error("Missing return statement in function");
- }
-
- final public Severity severity() throws ParseException {
- StringBuilder sb;
- sb = string_until_colon();
- String s = sb.toString();
- if (s.equals("Ignore"))
- {if (true) return Severity.IGNORE;}
- else if (s.equals("Warning"))
- {if (true) return Severity.WARNING;}
- else if (s.equals("Error"))
- {if (true) return Severity.ERROR;}
- else
- {if (true) return null;}
- throw new Error("Missing return statement in function");
- }
-
- final public CodeModification code_mod() throws ParseException {
- StringBuilder s;
- string_until_eol();
- s = null;
- if (jj_2_16(3)) {
- s = source_code();
- } else {
- ;
- }
- if (s != null)
- {if (true) return new CodeModificationText(s.toString());}
- else
- {if (true) return new CodeModificationRemove();}
- throw new Error("Missing return statement in function");
- }
-
- final public StringBuilder source_code_line() throws ParseException {
- StringBuilder line;
- jj_consume_token(SPACE);
- jj_consume_token(SPACE);
- line = string_until_eol();
- {if (true) return line;}
- throw new Error("Missing return statement in function");
- }
-
- final public StringBuilder source_code() throws ParseException {
- StringBuilder line;
- StringBuilder all;
- all = source_code_line();
- label_4:
- while (true) {
- if (jj_2_17(3)) {
- ;
- } else {
- break label_4;
- }
- line = source_code_line();
- all.append('\u005cn');
- all.append(line.toString());
- }
- {if (true) return all;}
- throw new Error("Missing return statement in function");
- }
-
- private boolean jj_2_1(int xla) {
- jj_la = xla; jj_lastpos = jj_scanpos = token;
- try { return !jj_3_1(); }
- catch(LookaheadSuccess ls) { return true; }
- finally { jj_save(0, xla); }
- }
-
- private boolean jj_2_2(int xla) {
- jj_la = xla; jj_lastpos = jj_scanpos = token;
- try { return !jj_3_2(); }
- catch(LookaheadSuccess ls) { return true; }
- finally { jj_save(1, xla); }
- }
-
- private boolean jj_2_3(int xla) {
- jj_la = xla; jj_lastpos = jj_scanpos = token;
- try { return !jj_3_3(); }
- catch(LookaheadSuccess ls) { return true; }
- finally { jj_save(2, xla); }
- }
-
- private boolean jj_2_4(int xla) {
- jj_la = xla; jj_lastpos = jj_scanpos = token;
- try { return !jj_3_4(); }
- catch(LookaheadSuccess ls) { return true; }
- finally { jj_save(3, xla); }
- }
-
- private boolean jj_2_5(int xla) {
- jj_la = xla; jj_lastpos = jj_scanpos = token;
- try { return !jj_3_5(); }
- catch(LookaheadSuccess ls) { return true; }
- finally { jj_save(4, xla); }
- }
-
- private boolean jj_2_6(int xla) {
- jj_la = xla; jj_lastpos = jj_scanpos = token;
- try { return !jj_3_6(); }
- catch(LookaheadSuccess ls) { return true; }
- finally { jj_save(5, xla); }
- }
-
- private boolean jj_2_7(int xla) {
- jj_la = xla; jj_lastpos = jj_scanpos = token;
- try { return !jj_3_7(); }
- catch(LookaheadSuccess ls) { return true; }
- finally { jj_save(6, xla); }
- }
-
- private boolean jj_2_8(int xla) {
- jj_la = xla; jj_lastpos = jj_scanpos = token;
- try { return !jj_3_8(); }
- catch(LookaheadSuccess ls) { return true; }
- finally { jj_save(7, xla); }
- }
-
- private boolean jj_2_9(int xla) {
- jj_la = xla; jj_lastpos = jj_scanpos = token;
- try { return !jj_3_9(); }
- catch(LookaheadSuccess ls) { return true; }
- finally { jj_save(8, xla); }
- }
-
- private boolean jj_2_10(int xla) {
- jj_la = xla; jj_lastpos = jj_scanpos = token;
- try { return !jj_3_10(); }
- catch(LookaheadSuccess ls) { return true; }
- finally { jj_save(9, xla); }
- }
-
- private boolean jj_2_11(int xla) {
- jj_la = xla; jj_lastpos = jj_scanpos = token;
- try { return !jj_3_11(); }
- catch(LookaheadSuccess ls) { return true; }
- finally { jj_save(10, xla); }
- }
-
- private boolean jj_2_12(int xla) {
- jj_la = xla; jj_lastpos = jj_scanpos = token;
- try { return !jj_3_12(); }
- catch(LookaheadSuccess ls) { return true; }
- finally { jj_save(11, xla); }
- }
-
- private boolean jj_2_13(int xla) {
- jj_la = xla; jj_lastpos = jj_scanpos = token;
- try { return !jj_3_13(); }
- catch(LookaheadSuccess ls) { return true; }
- finally { jj_save(12, xla); }
- }
-
- private boolean jj_2_14(int xla) {
- jj_la = xla; jj_lastpos = jj_scanpos = token;
- try { return !jj_3_14(); }
- catch(LookaheadSuccess ls) { return true; }
- finally { jj_save(13, xla); }
- }
-
- private boolean jj_2_15(int xla) {
- jj_la = xla; jj_lastpos = jj_scanpos = token;
- try { return !jj_3_15(); }
- catch(LookaheadSuccess ls) { return true; }
- finally { jj_save(14, xla); }
- }
-
- private boolean jj_2_16(int xla) {
- jj_la = xla; jj_lastpos = jj_scanpos = token;
- try { return !jj_3_16(); }
- catch(LookaheadSuccess ls) { return true; }
- finally { jj_save(15, xla); }
- }
-
- private boolean jj_2_17(int xla) {
- jj_la = xla; jj_lastpos = jj_scanpos = token;
- try { return !jj_3_17(); }
- catch(LookaheadSuccess ls) { return true; }
- finally { jj_save(16, xla); }
- }
-
- private boolean jj_3R_6() {
- if (jj_3R_7()) return true;
- return false;
- }
-
- private boolean jj_3_6() {
- if (jj_scan_token(COLON_SLASH)) return true;
- return false;
- }
-
- private boolean jj_3_5() {
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3_6()) {
- jj_scanpos = xsp;
- if (jj_3_7()) {
- jj_scanpos = xsp;
- if (jj_3_8()) {
- jj_scanpos = xsp;
- if (jj_3_9()) return true;
- }
- }
- }
- return false;
- }
-
- private boolean jj_3R_11() {
- Token xsp;
- while (true) {
- xsp = jj_scanpos;
- if (jj_3_5()) { jj_scanpos = xsp; break; }
- }
- if (jj_scan_token(COLON)) return true;
- return false;
- }
-
- private boolean jj_3_15() {
- if (jj_scan_token(INTEGER)) return true;
- return false;
- }
-
- private boolean jj_3R_7() {
- if (jj_scan_token(SPACE)) return true;
- if (jj_scan_token(SPACE)) return true;
- if (jj_3R_10()) return true;
- return false;
- }
-
- private boolean jj_3R_9() {
- if (jj_scan_token(INTEGER)) return true;
- return false;
- }
-
- private boolean jj_3_14() {
- if (jj_scan_token(SPACE)) return true;
- return false;
- }
-
- private boolean jj_3_4() {
- if (jj_scan_token(SPACE)) return true;
- return false;
- }
-
- private boolean jj_3R_5() {
- if (jj_3R_8()) return true;
- if (jj_3R_9()) return true;
- return false;
- }
-
- private boolean jj_3_13() {
- if (jj_scan_token(COLON)) return true;
- return false;
- }
-
- private boolean jj_3_12() {
- if (jj_scan_token(OTHER_CHAR)) return true;
- return false;
- }
-
- private boolean jj_3_16() {
- if (jj_3R_6()) return true;
- return false;
- }
-
- private boolean jj_3_3() {
- if (jj_scan_token(OTHER_CHAR)) return true;
- return false;
- }
-
- private boolean jj_3_9() {
- if (jj_scan_token(INTEGER)) return true;
- return false;
- }
-
- private boolean jj_3_8() {
- if (jj_scan_token(SPACE)) return true;
- return false;
- }
-
- private boolean jj_3_10() {
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3_11()) {
- jj_scanpos = xsp;
- if (jj_3_12()) {
- jj_scanpos = xsp;
- if (jj_3_13()) {
- jj_scanpos = xsp;
- if (jj_3_14()) {
- jj_scanpos = xsp;
- if (jj_3_15()) return true;
- }
- }
- }
- }
- return false;
- }
-
- private boolean jj_3_11() {
- if (jj_scan_token(COLON_SLASH)) return true;
- return false;
- }
-
- private boolean jj_3R_10() {
- Token xsp;
- while (true) {
- xsp = jj_scanpos;
- if (jj_3_10()) { jj_scanpos = xsp; break; }
- }
- if (jj_scan_token(EOL)) return true;
- return false;
- }
-
- private boolean jj_3_2() {
- if (jj_scan_token(COLON_SLASH)) return true;
- return false;
- }
-
- private boolean jj_3_7() {
- if (jj_scan_token(OTHER_CHAR)) return true;
- return false;
- }
-
- private boolean jj_3R_8() {
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3_2()) {
- jj_scanpos = xsp;
- if (jj_3_3()) {
- jj_scanpos = xsp;
- if (jj_3_4()) return true;
- }
- }
- if (jj_3R_11()) return true;
- return false;
- }
-
- private boolean jj_3_17() {
- if (jj_3R_7()) return true;
- return false;
- }
-
- private boolean jj_3_1() {
- if (jj_3R_5()) return true;
- return false;
- }
-
- /** Generated Token Manager. */
- public OutputParserTokenManager token_source;
- SimpleCharStream jj_input_stream;
- /** Current token. */
- public Token token;
- /** Next token. */
- public Token jj_nt;
- private int jj_ntk;
- private Token jj_scanpos, jj_lastpos;
- private int jj_la;
- private int jj_gen;
- final private int[] jj_la1 = new int[0];
- static private int[] jj_la1_0;
- static {
- jj_la1_init_0();
- }
- private static void jj_la1_init_0() {
- jj_la1_0 = new int[] {};
- }
- final private JJCalls[] jj_2_rtns = new JJCalls[17];
- private boolean jj_rescan = false;
- private int jj_gc = 0;
-
- /** Constructor with InputStream. */
- public OutputParser(java.io.InputStream stream) {
- this(stream, null);
- }
- /** Constructor with InputStream and supplied encoding */
- public OutputParser(java.io.InputStream stream, String encoding) {
- try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
- token_source = new OutputParserTokenManager(jj_input_stream);
- token = new Token();
- jj_ntk = -1;
- jj_gen = 0;
- for (int i = 0; i < 0; i++) jj_la1[i] = -1;
- for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
- }
-
- /** Reinitialise. */
- public void ReInit(java.io.InputStream stream) {
- ReInit(stream, null);
- }
- /** Reinitialise. */
- public void ReInit(java.io.InputStream stream, String encoding) {
- try { jj_input_stream.ReInit(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
- token_source.ReInit(jj_input_stream);
- token = new Token();
- jj_ntk = -1;
- jj_gen = 0;
- for (int i = 0; i < 0; i++) jj_la1[i] = -1;
- for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
- }
-
- /** Constructor. */
- public OutputParser(java.io.Reader stream) {
- jj_input_stream = new SimpleCharStream(stream, 1, 1);
- token_source = new OutputParserTokenManager(jj_input_stream);
- token = new Token();
- jj_ntk = -1;
- jj_gen = 0;
- for (int i = 0; i < 0; i++) jj_la1[i] = -1;
- for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
- }
-
- /** Reinitialise. */
- public void ReInit(java.io.Reader stream) {
- jj_input_stream.ReInit(stream, 1, 1);
- token_source.ReInit(jj_input_stream);
- token = new Token();
- jj_ntk = -1;
- jj_gen = 0;
- for (int i = 0; i < 0; i++) jj_la1[i] = -1;
- for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
- }
-
- /** Constructor with generated Token Manager. */
- public OutputParser(OutputParserTokenManager tm) {
- token_source = tm;
- token = new Token();
- jj_ntk = -1;
- jj_gen = 0;
- for (int i = 0; i < 0; i++) jj_la1[i] = -1;
- for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
- }
-
- /** Reinitialise. */
- public void ReInit(OutputParserTokenManager tm) {
- token_source = tm;
- token = new Token();
- jj_ntk = -1;
- jj_gen = 0;
- for (int i = 0; i < 0; i++) jj_la1[i] = -1;
- for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
- }
-
- private Token jj_consume_token(int kind) throws ParseException {
- Token oldToken;
- if ((oldToken = token).next != null) token = token.next;
- else token = token.next = token_source.getNextToken();
- jj_ntk = -1;
- if (token.kind == kind) {
- jj_gen++;
- if (++jj_gc > 100) {
- jj_gc = 0;
- for (int i = 0; i < jj_2_rtns.length; i++) {
- JJCalls c = jj_2_rtns[i];
- while (c != null) {
- if (c.gen < jj_gen) c.first = null;
- c = c.next;
- }
- }
- }
- return token;
- }
- token = oldToken;
- jj_kind = kind;
- throw generateParseException();
- }
-
- static private final class LookaheadSuccess extends java.lang.Error { }
- final private LookaheadSuccess jj_ls = new LookaheadSuccess();
- private boolean jj_scan_token(int kind) {
- if (jj_scanpos == jj_lastpos) {
- jj_la--;
- if (jj_scanpos.next == null) {
- jj_lastpos = jj_scanpos = jj_scanpos.next = token_source.getNextToken();
- } else {
- jj_lastpos = jj_scanpos = jj_scanpos.next;
- }
- } else {
- jj_scanpos = jj_scanpos.next;
- }
- if (jj_rescan) {
- int i = 0; Token tok = token;
- while (tok != null && tok != jj_scanpos) { i++; tok = tok.next; }
- if (tok != null) jj_add_error_token(kind, i);
- }
- if (jj_scanpos.kind != kind) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) throw jj_ls;
- return false;
- }
-
-
-/** Get the next Token. */
- final public Token getNextToken() {
- if (token.next != null) token = token.next;
- else token = token.next = token_source.getNextToken();
- jj_ntk = -1;
- jj_gen++;
- return token;
- }
-
-/** Get the specific Token. */
- final public Token getToken(int index) {
- Token t = token;
- for (int i = 0; i < index; i++) {
- if (t.next != null) t = t.next;
- else t = t.next = token_source.getNextToken();
- }
- return t;
- }
-
- private int jj_ntk() {
- if ((jj_nt=token.next) == null)
- return (jj_ntk = (token.next=token_source.getNextToken()).kind);
- else
- return (jj_ntk = jj_nt.kind);
- }
-
- private java.util.List<int[]> jj_expentries = new java.util.ArrayList<int[]>();
- private int[] jj_expentry;
- private int jj_kind = -1;
- private int[] jj_lasttokens = new int[100];
- private int jj_endpos;
-
- private void jj_add_error_token(int kind, int pos) {
- if (pos >= 100) return;
- if (pos == jj_endpos + 1) {
- jj_lasttokens[jj_endpos++] = kind;
- } else if (jj_endpos != 0) {
- jj_expentry = new int[jj_endpos];
- for (int i = 0; i < jj_endpos; i++) {
- jj_expentry[i] = jj_lasttokens[i];
- }
- jj_entries_loop: for (java.util.Iterator<?> it = jj_expentries.iterator(); it.hasNext();) {
- int[] oldentry = (int[])(it.next());
- if (oldentry.length == jj_expentry.length) {
- for (int i = 0; i < jj_expentry.length; i++) {
- if (oldentry[i] != jj_expentry[i]) {
- continue jj_entries_loop;
- }
- }
- jj_expentries.add(jj_expentry);
- break jj_entries_loop;
- }
- }
- if (pos != 0) jj_lasttokens[(jj_endpos = pos) - 1] = kind;
- }
- }
-
- /** Generate ParseException. */
- public ParseException generateParseException() {
- jj_expentries.clear();
- boolean[] la1tokens = new boolean[7];
- if (jj_kind >= 0) {
- la1tokens[jj_kind] = true;
- jj_kind = -1;
- }
- for (int i = 0; i < 0; i++) {
- if (jj_la1[i] == jj_gen) {
- for (int j = 0; j < 32; j++) {
- if ((jj_la1_0[i] & (1<<j)) != 0) {
- la1tokens[j] = true;
- }
- }
- }
- }
- for (int i = 0; i < 7; i++) {
- if (la1tokens[i]) {
- jj_expentry = new int[1];
- jj_expentry[0] = i;
- jj_expentries.add(jj_expentry);
- }
- }
- jj_endpos = 0;
- jj_rescan_token();
- jj_add_error_token(0, 0);
- int[][] exptokseq = new int[jj_expentries.size()][];
- for (int i = 0; i < jj_expentries.size(); i++) {
- exptokseq[i] = jj_expentries.get(i);
- }
- return new ParseException(token, exptokseq, tokenImage);
- }
-
- /** Enable tracing. */
- final public void enable_tracing() {
- }
-
- /** Disable tracing. */
- final public void disable_tracing() {
- }
-
- private void jj_rescan_token() {
- jj_rescan = true;
- for (int i = 0; i < 17; i++) {
- try {
- JJCalls p = jj_2_rtns[i];
- do {
- if (p.gen > jj_gen) {
- jj_la = p.arg; jj_lastpos = jj_scanpos = p.first;
- switch (i) {
- case 0: jj_3_1(); break;
- case 1: jj_3_2(); break;
- case 2: jj_3_3(); break;
- case 3: jj_3_4(); break;
- case 4: jj_3_5(); break;
- case 5: jj_3_6(); break;
- case 6: jj_3_7(); break;
- case 7: jj_3_8(); break;
- case 8: jj_3_9(); break;
- case 9: jj_3_10(); break;
- case 10: jj_3_11(); break;
- case 11: jj_3_12(); break;
- case 12: jj_3_13(); break;
- case 13: jj_3_14(); break;
- case 14: jj_3_15(); break;
- case 15: jj_3_16(); break;
- case 16: jj_3_17(); break;
- }
- }
- p = p.next;
- } while (p != null);
- } catch(LookaheadSuccess ls) { }
- }
- jj_rescan = false;
- }
-
- private void jj_save(int index, int xla) {
- JJCalls p = jj_2_rtns[index];
- while (p.gen > jj_gen) {
- if (p.next == null) { p = p.next = new JJCalls(); break; }
- p = p.next;
- }
- p.gen = jj_gen + xla - jj_la; p.first = token; p.arg = xla;
- }
-
- static final class JJCalls {
- int gen;
- Token first;
- int arg;
- JJCalls next;
+ {
+ return new StringBuilder();
+ }
+}*/
+ final public Integer number() throws ParseException {
+ Token c;
+ c = jj_consume_token(INTEGER);
+ jj_consume_token(COLON);
+ {if (true) return Integer.valueOf(c.image);}
+ throw new Error("Missing return statement in function");
+ }
+
+ final public Severity severity() throws ParseException {
+ StringBuilder sb;
+ sb = string_until_colon();
+ String s = sb.toString();
+ if (s.equals("Ignore"))
+ {if (true) return Severity.IGNORE;}
+ else if (s.equals("Warning"))
+ {if (true) return Severity.WARNING;}
+ else if (s.equals("Error"))
+ {if (true) return Severity.ERROR;}
+ else
+ {if (true) return null;}
+ throw new Error("Missing return statement in function");
+ }
+
+ final public CodeModification code_mod() throws ParseException {
+ StringBuilder s;
+ string_until_eol();
+ s = null;
+ if (jj_2_16(3)) {
+ s = source_code();
+ } else {
+ ;
+ }
+ if (s != null)
+ {if (true) return new CodeModificationText(s.toString());}
+ else
+ {if (true) return new CodeModificationRemove();}
+ throw new Error("Missing return statement in function");
+ }
+
+ final public StringBuilder source_code_line() throws ParseException {
+ StringBuilder line;
+ jj_consume_token(SPACE);
+ jj_consume_token(SPACE);
+ line = string_until_eol();
+ {if (true) return line;}
+ throw new Error("Missing return statement in function");
+ }
+
+ final public StringBuilder source_code() throws ParseException {
+ StringBuilder line;
+ StringBuilder all;
+ all = source_code_line();
+ label_4:
+ while (true) {
+ if (jj_2_17(3)) {
+ ;
+ } else {
+ break label_4;
+ }
+ line = source_code_line();
+ all.append('\u005cn');
+ all.append(line.toString());
+ }
+ {if (true) return all;}
+ throw new Error("Missing return statement in function");
+ }
+
+ private boolean jj_2_1(int xla) {
+ jj_la = xla; jj_lastpos = jj_scanpos = token;
+ try { return !jj_3_1(); }
+ catch(LookaheadSuccess ls) { return true; }
+ finally { jj_save(0, xla); }
+ }
+
+ private boolean jj_2_2(int xla) {
+ jj_la = xla; jj_lastpos = jj_scanpos = token;
+ try { return !jj_3_2(); }
+ catch(LookaheadSuccess ls) { return true; }
+ finally { jj_save(1, xla); }
+ }
+
+ private boolean jj_2_3(int xla) {
+ jj_la = xla; jj_lastpos = jj_scanpos = token;
+ try { return !jj_3_3(); }
+ catch(LookaheadSuccess ls) { return true; }
+ finally { jj_save(2, xla); }
+ }
+
+ private boolean jj_2_4(int xla) {
+ jj_la = xla; jj_lastpos = jj_scanpos = token;
+ try { return !jj_3_4(); }
+ catch(LookaheadSuccess ls) { return true; }
+ finally { jj_save(3, xla); }
+ }
+
+ private boolean jj_2_5(int xla) {
+ jj_la = xla; jj_lastpos = jj_scanpos = token;
+ try { return !jj_3_5(); }
+ catch(LookaheadSuccess ls) { return true; }
+ finally { jj_save(4, xla); }
+ }
+
+ private boolean jj_2_6(int xla) {
+ jj_la = xla; jj_lastpos = jj_scanpos = token;
+ try { return !jj_3_6(); }
+ catch(LookaheadSuccess ls) { return true; }
+ finally { jj_save(5, xla); }
+ }
+
+ private boolean jj_2_7(int xla) {
+ jj_la = xla; jj_lastpos = jj_scanpos = token;
+ try { return !jj_3_7(); }
+ catch(LookaheadSuccess ls) { return true; }
+ finally { jj_save(6, xla); }
+ }
+
+ private boolean jj_2_8(int xla) {
+ jj_la = xla; jj_lastpos = jj_scanpos = token;
+ try { return !jj_3_8(); }
+ catch(LookaheadSuccess ls) { return true; }
+ finally { jj_save(7, xla); }
+ }
+
+ private boolean jj_2_9(int xla) {
+ jj_la = xla; jj_lastpos = jj_scanpos = token;
+ try { return !jj_3_9(); }
+ catch(LookaheadSuccess ls) { return true; }
+ finally { jj_save(8, xla); }
+ }
+
+ private boolean jj_2_10(int xla) {
+ jj_la = xla; jj_lastpos = jj_scanpos = token;
+ try { return !jj_3_10(); }
+ catch(LookaheadSuccess ls) { return true; }
+ finally { jj_save(9, xla); }
+ }
+
+ private boolean jj_2_11(int xla) {
+ jj_la = xla; jj_lastpos = jj_scanpos = token;
+ try { return !jj_3_11(); }
+ catch(LookaheadSuccess ls) { return true; }
+ finally { jj_save(10, xla); }
+ }
+
+ private boolean jj_2_12(int xla) {
+ jj_la = xla; jj_lastpos = jj_scanpos = token;
+ try { return !jj_3_12(); }
+ catch(LookaheadSuccess ls) { return true; }
+ finally { jj_save(11, xla); }
+ }
+
+ private boolean jj_2_13(int xla) {
+ jj_la = xla; jj_lastpos = jj_scanpos = token;
+ try { return !jj_3_13(); }
+ catch(LookaheadSuccess ls) { return true; }
+ finally { jj_save(12, xla); }
+ }
+
+ private boolean jj_2_14(int xla) {
+ jj_la = xla; jj_lastpos = jj_scanpos = token;
+ try { return !jj_3_14(); }
+ catch(LookaheadSuccess ls) { return true; }
+ finally { jj_save(13, xla); }
+ }
+
+ private boolean jj_2_15(int xla) {
+ jj_la = xla; jj_lastpos = jj_scanpos = token;
+ try { return !jj_3_15(); }
+ catch(LookaheadSuccess ls) { return true; }
+ finally { jj_save(14, xla); }
+ }
+
+ private boolean jj_2_16(int xla) {
+ jj_la = xla; jj_lastpos = jj_scanpos = token;
+ try { return !jj_3_16(); }
+ catch(LookaheadSuccess ls) { return true; }
+ finally { jj_save(15, xla); }
+ }
+
+ private boolean jj_2_17(int xla) {
+ jj_la = xla; jj_lastpos = jj_scanpos = token;
+ try { return !jj_3_17(); }
+ catch(LookaheadSuccess ls) { return true; }
+ finally { jj_save(16, xla); }
+ }
+
+ private boolean jj_3R_6() {
+ if (jj_3R_7()) return true;
+ return false;
+ }
+
+ private boolean jj_3_6() {
+ if (jj_scan_token(COLON_SLASH)) return true;
+ return false;
+ }
+
+ private boolean jj_3_5() {
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3_6()) {
+ jj_scanpos = xsp;
+ if (jj_3_7()) {
+ jj_scanpos = xsp;
+ if (jj_3_8()) {
+ jj_scanpos = xsp;
+ if (jj_3_9()) return true;
+ }
+ }
+ }
+ return false;
+ }
+
+ private boolean jj_3R_11() {
+ Token xsp;
+ while (true) {
+ xsp = jj_scanpos;
+ if (jj_3_5()) { jj_scanpos = xsp; break; }
+ }
+ if (jj_scan_token(COLON)) return true;
+ return false;
+ }
+
+ private boolean jj_3_15() {
+ if (jj_scan_token(INTEGER)) return true;
+ return false;
+ }
+
+ private boolean jj_3R_7() {
+ if (jj_scan_token(SPACE)) return true;
+ if (jj_scan_token(SPACE)) return true;
+ if (jj_3R_10()) return true;
+ return false;
+ }
+
+ private boolean jj_3R_9() {
+ if (jj_scan_token(INTEGER)) return true;
+ return false;
+ }
+
+ private boolean jj_3_14() {
+ if (jj_scan_token(SPACE)) return true;
+ return false;
+ }
+
+ private boolean jj_3_4() {
+ if (jj_scan_token(SPACE)) return true;
+ return false;
+ }
+
+ private boolean jj_3R_5() {
+ if (jj_3R_8()) return true;
+ if (jj_3R_9()) return true;
+ return false;
+ }
+
+ private boolean jj_3_13() {
+ if (jj_scan_token(COLON)) return true;
+ return false;
+ }
+
+ private boolean jj_3_12() {
+ if (jj_scan_token(OTHER_CHAR)) return true;
+ return false;
+ }
+
+ private boolean jj_3_16() {
+ if (jj_3R_6()) return true;
+ return false;
+ }
+
+ private boolean jj_3_3() {
+ if (jj_scan_token(OTHER_CHAR)) return true;
+ return false;
+ }
+
+ private boolean jj_3_9() {
+ if (jj_scan_token(INTEGER)) return true;
+ return false;
+ }
+
+ private boolean jj_3_8() {
+ if (jj_scan_token(SPACE)) return true;
+ return false;
+ }
+
+ private boolean jj_3_10() {
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3_11()) {
+ jj_scanpos = xsp;
+ if (jj_3_12()) {
+ jj_scanpos = xsp;
+ if (jj_3_13()) {
+ jj_scanpos = xsp;
+ if (jj_3_14()) {
+ jj_scanpos = xsp;
+ if (jj_3_15()) return true;
+ }
+ }
+ }
+ }
+ return false;
+ }
+
+ private boolean jj_3_11() {
+ if (jj_scan_token(COLON_SLASH)) return true;
+ return false;
+ }
+
+ private boolean jj_3R_10() {
+ Token xsp;
+ while (true) {
+ xsp = jj_scanpos;
+ if (jj_3_10()) { jj_scanpos = xsp; break; }
+ }
+ if (jj_scan_token(EOL)) return true;
+ return false;
+ }
+
+ private boolean jj_3_2() {
+ if (jj_scan_token(COLON_SLASH)) return true;
+ return false;
+ }
+
+ private boolean jj_3_7() {
+ if (jj_scan_token(OTHER_CHAR)) return true;
+ return false;
+ }
+
+ private boolean jj_3R_8() {
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3_2()) {
+ jj_scanpos = xsp;
+ if (jj_3_3()) {
+ jj_scanpos = xsp;
+ if (jj_3_4()) return true;
+ }
+ }
+ if (jj_3R_11()) return true;
+ return false;
+ }
+
+ private boolean jj_3_17() {
+ if (jj_3R_7()) return true;
+ return false;
+ }
+
+ private boolean jj_3_1() {
+ if (jj_3R_5()) return true;
+ return false;
+ }
+
+ /** Generated Token Manager. */
+ public OutputParserTokenManager token_source;
+ SimpleCharStream jj_input_stream;
+ /** Current token. */
+ public Token token;
+ /** Next token. */
+ public Token jj_nt;
+ private int jj_ntk;
+ private Token jj_scanpos, jj_lastpos;
+ private int jj_la;
+ private int jj_gen;
+ final private int[] jj_la1 = new int[0];
+ static private int[] jj_la1_0;
+ static {
+ jj_la1_init_0();
+ }
+ private static void jj_la1_init_0() {
+ jj_la1_0 = new int[] {};
+ }
+ final private JJCalls[] jj_2_rtns = new JJCalls[17];
+ private boolean jj_rescan = false;
+ private int jj_gc = 0;
+
+ /** Constructor with InputStream. */
+ public OutputParser(java.io.InputStream stream) {
+ this(stream, null);
+ }
+ /** Constructor with InputStream and supplied encoding */
+ public OutputParser(java.io.InputStream stream, String encoding) {
+ try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
+ token_source = new OutputParserTokenManager(jj_input_stream);
+ token = new Token();
+ jj_ntk = -1;
+ jj_gen = 0;
+ for (int i = 0; i < 0; i++) jj_la1[i] = -1;
+ for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
+ }
+
+ /** Reinitialise. */
+ public void ReInit(java.io.InputStream stream) {
+ ReInit(stream, null);
+ }
+ /** Reinitialise. */
+ public void ReInit(java.io.InputStream stream, String encoding) {
+ try { jj_input_stream.ReInit(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
+ token_source.ReInit(jj_input_stream);
+ token = new Token();
+ jj_ntk = -1;
+ jj_gen = 0;
+ for (int i = 0; i < 0; i++) jj_la1[i] = -1;
+ for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
+ }
+
+ /** Constructor. */
+ public OutputParser(java.io.Reader stream) {
+ jj_input_stream = new SimpleCharStream(stream, 1, 1);
+ token_source = new OutputParserTokenManager(jj_input_stream);
+ token = new Token();
+ jj_ntk = -1;
+ jj_gen = 0;
+ for (int i = 0; i < 0; i++) jj_la1[i] = -1;
+ for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
+ }
+
+ /** Reinitialise. */
+ public void ReInit(java.io.Reader stream) {
+ jj_input_stream.ReInit(stream, 1, 1);
+ token_source.ReInit(jj_input_stream);
+ token = new Token();
+ jj_ntk = -1;
+ jj_gen = 0;
+ for (int i = 0; i < 0; i++) jj_la1[i] = -1;
+ for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
+ }
+
+ /** Constructor with generated Token Manager. */
+ public OutputParser(OutputParserTokenManager tm) {
+ token_source = tm;
+ token = new Token();
+ jj_ntk = -1;
+ jj_gen = 0;
+ for (int i = 0; i < 0; i++) jj_la1[i] = -1;
+ for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
+ }
+
+ /** Reinitialise. */
+ public void ReInit(OutputParserTokenManager tm) {
+ token_source = tm;
+ token = new Token();
+ jj_ntk = -1;
+ jj_gen = 0;
+ for (int i = 0; i < 0; i++) jj_la1[i] = -1;
+ for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
+ }
+
+ private Token jj_consume_token(int kind) throws ParseException {
+ Token oldToken;
+ if ((oldToken = token).next != null) token = token.next;
+ else token = token.next = token_source.getNextToken();
+ jj_ntk = -1;
+ if (token.kind == kind) {
+ jj_gen++;
+ if (++jj_gc > 100) {
+ jj_gc = 0;
+ for (int i = 0; i < jj_2_rtns.length; i++) {
+ JJCalls c = jj_2_rtns[i];
+ while (c != null) {
+ if (c.gen < jj_gen) c.first = null;
+ c = c.next;
+ }
+ }
+ }
+ return token;
+ }
+ token = oldToken;
+ jj_kind = kind;
+ throw generateParseException();
+ }
+
+ static private final class LookaheadSuccess extends java.lang.Error { }
+ final private LookaheadSuccess jj_ls = new LookaheadSuccess();
+ private boolean jj_scan_token(int kind) {
+ if (jj_scanpos == jj_lastpos) {
+ jj_la--;
+ if (jj_scanpos.next == null) {
+ jj_lastpos = jj_scanpos = jj_scanpos.next = token_source.getNextToken();
+ } else {
+ jj_lastpos = jj_scanpos = jj_scanpos.next;
+ }
+ } else {
+ jj_scanpos = jj_scanpos.next;
+ }
+ if (jj_rescan) {
+ int i = 0; Token tok = token;
+ while (tok != null && tok != jj_scanpos) { i++; tok = tok.next; }
+ if (tok != null) jj_add_error_token(kind, i);
+ }
+ if (jj_scanpos.kind != kind) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) throw jj_ls;
+ return false;
+ }
+
+
+/** Get the next Token. */
+ final public Token getNextToken() {
+ if (token.next != null) token = token.next;
+ else token = token.next = token_source.getNextToken();
+ jj_ntk = -1;
+ jj_gen++;
+ return token;
+ }
+
+/** Get the specific Token. */
+ final public Token getToken(int index) {
+ Token t = token;
+ for (int i = 0; i < index; i++) {
+ if (t.next != null) t = t.next;
+ else t = t.next = token_source.getNextToken();
+ }
+ return t;
+ }
+
+ private int jj_ntk() {
+ if ((jj_nt=token.next) == null)
+ return (jj_ntk = (token.next=token_source.getNextToken()).kind);
+ else
+ return (jj_ntk = jj_nt.kind);
+ }
+
+ private java.util.List<int[]> jj_expentries = new java.util.ArrayList<int[]>();
+ private int[] jj_expentry;
+ private int jj_kind = -1;
+ private int[] jj_lasttokens = new int[100];
+ private int jj_endpos;
+
+ private void jj_add_error_token(int kind, int pos) {
+ if (pos >= 100) return;
+ if (pos == jj_endpos + 1) {
+ jj_lasttokens[jj_endpos++] = kind;
+ } else if (jj_endpos != 0) {
+ jj_expentry = new int[jj_endpos];
+ for (int i = 0; i < jj_endpos; i++) {
+ jj_expentry[i] = jj_lasttokens[i];
+ }
+ jj_entries_loop: for (java.util.Iterator<?> it = jj_expentries.iterator(); it.hasNext();) {
+ int[] oldentry = (int[])(it.next());
+ if (oldentry.length == jj_expentry.length) {
+ for (int i = 0; i < jj_expentry.length; i++) {
+ if (oldentry[i] != jj_expentry[i]) {
+ continue jj_entries_loop;
+ }
+ }
+ jj_expentries.add(jj_expentry);
+ break jj_entries_loop;
+ }
+ }
+ if (pos != 0) jj_lasttokens[(jj_endpos = pos) - 1] = kind;
+ }
+ }
+
+ /** Generate ParseException. */
+ public ParseException generateParseException() {
+ jj_expentries.clear();
+ boolean[] la1tokens = new boolean[7];
+ if (jj_kind >= 0) {
+ la1tokens[jj_kind] = true;
+ jj_kind = -1;
+ }
+ for (int i = 0; i < 0; i++) {
+ if (jj_la1[i] == jj_gen) {
+ for (int j = 0; j < 32; j++) {
+ if ((jj_la1_0[i] & (1<<j)) != 0) {
+ la1tokens[j] = true;
+ }
+ }
+ }
+ }
+ for (int i = 0; i < 7; i++) {
+ if (la1tokens[i]) {
+ jj_expentry = new int[1];
+ jj_expentry[0] = i;
+ jj_expentries.add(jj_expentry);
+ }
+ }
+ jj_endpos = 0;
+ jj_rescan_token();
+ jj_add_error_token(0, 0);
+ int[][] exptokseq = new int[jj_expentries.size()][];
+ for (int i = 0; i < jj_expentries.size(); i++) {
+ exptokseq[i] = jj_expentries.get(i);
+ }
+ return new ParseException(token, exptokseq, tokenImage);
+ }
+
+ /** Enable tracing. */
+ final public void enable_tracing() {
+ }
+
+ /** Disable tracing. */
+ final public void disable_tracing() {
+ }
+
+ private void jj_rescan_token() {
+ jj_rescan = true;
+ for (int i = 0; i < 17; i++) {
+ try {
+ JJCalls p = jj_2_rtns[i];
+ do {
+ if (p.gen > jj_gen) {
+ jj_la = p.arg; jj_lastpos = jj_scanpos = p.first;
+ switch (i) {
+ case 0: jj_3_1(); break;
+ case 1: jj_3_2(); break;
+ case 2: jj_3_3(); break;
+ case 3: jj_3_4(); break;
+ case 4: jj_3_5(); break;
+ case 5: jj_3_6(); break;
+ case 6: jj_3_7(); break;
+ case 7: jj_3_8(); break;
+ case 8: jj_3_9(); break;
+ case 9: jj_3_10(); break;
+ case 10: jj_3_11(); break;
+ case 11: jj_3_12(); break;
+ case 12: jj_3_13(); break;
+ case 13: jj_3_14(); break;
+ case 14: jj_3_15(); break;
+ case 15: jj_3_16(); break;
+ case 16: jj_3_17(); break;
+ }
+ }
+ p = p.next;
+ } while (p != null);
+ } catch(LookaheadSuccess ls) { }
+ }
+ jj_rescan = false;
+ }
+
+ private void jj_save(int index, int xla) {
+ JJCalls p = jj_2_rtns[index];
+ while (p.gen > jj_gen) {
+ if (p.next == null) { p = p.next = new JJCalls(); break; }
+ p = p.next;
+ }
+ p.gen = jj_gen + xla - jj_la; p.first = token; p.arg = xla;
+ }
+
+ static final class JJCalls {
+ int gen;
+ Token first;
+ int arg;
+ JJCalls next;
View
14 net.sf.eclipsefp.haskell.hugs/.classpath
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
View
2  net.sf.eclipsefp.haskell.profiler/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
View
2  net.sf.eclipsefp.haskell.scion.client.test/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
View
2  net.sf.eclipsefp.haskell.scion.client/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
View
2  net.sf.eclipsefp.haskell.test/.classpath
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="src" path="src"/>
<classpathentry combineaccessrules="false" kind="src" path="/net.sf.eclipsefp.haskell.core.test"/>
<classpathentry combineaccessrules="false" kind="src" path="/net.sf.eclipsefp.haskell.debug.ui.test"/>
<classpathentry combineaccessrules="false" kind="src" path="/net.sf.eclipsefp.haskell.ghccompiler.test"/>
<classpathentry combineaccessrules="false" kind="src" path="/net.sf.eclipsefp.haskell.ui.test"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
View
14 net.sf.eclipsefp.haskell.ui.test/.classpath
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
View
14 net.sf.eclipsefp.haskell.ui/.classpath
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
View
13 net.sf.eclipsefp.haskell.ui/src/net/sf/eclipsefp/haskell/ui/internal/editors/haskell/HaskellTextHover.java
@@ -10,7 +10,6 @@
import net.sf.eclipsefp.haskell.ui.HaskellUIPlugin;
import net.sf.eclipsefp.haskell.ui.internal.util.UITexts;
import org.eclipse.core.resources.IFile;
-import org.eclipse.core.runtime.IStatus;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.DefaultTextHover;
import org.eclipse.jface.text.IRegion;
@@ -80,13 +79,13 @@ protected String computeThingAtPoint( final ITextViewer textViewer, final IRegio
BWFacade f=BuildWrapperPlugin.getFacade( file.getProject() );
if (f != null) {
// TODO: Would be nice to also grab the Haddock documentation for the "thing" at point too.
- long t0=System.currentTimeMillis();
- try {
+ //long t0=System.currentTimeMillis();
+ //try {
return f.getThingAtPoint(file,location, false, true);
- } finally {
- long t1=System.currentTimeMillis();
- HaskellUIPlugin.log( "computethingAtPoint: "+(t1-t0)+"ms", IStatus.INFO );
- }
+ //} finally {
+ // long t1=System.currentTimeMillis();
+ // HaskellUIPlugin.log( "computethingAtPoint: "+(t1-t0)+"ms", IStatus.INFO );
+ //}
}
} catch (BadLocationException ex) {
HaskellUIPlugin.log( UITexts.editor_textHover_error, ex );
View
2  net.sf.eclipsefp.haskell.util/.classpath
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="lib"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
View
2  net.sf.eclipsefp.haskell/.classpath
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Please sign in to comment.
Something went wrong with that request. Please try again.