forked from Nodeclipse/coffeescript-eclipse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nodeclipse#19 fixed
- Loading branch information
Showing
18 changed files
with
118 additions
and
2,173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/.ArrayTest.java._trace | ||
/.AssignTest.java._trace | ||
/.ClassTest.java._trace | ||
/.ControlFlowTest.java._trace | ||
/.DictionaryTest.java._trace | ||
/.FunctionCallTest.java._trace | ||
/.LambdaTest.java._trace | ||
/.LiteralTest.java._trace | ||
/.OperatorsTest.java._trace | ||
/.ScopeTest.java._trace | ||
/ArrayTest.java | ||
/AssignTest.java | ||
/ClassTest.java | ||
/ControlFlowTest.java | ||
/DictionaryTest.java | ||
/FunctionCallTest.java | ||
/LambdaTest.java | ||
/LiteralTest.java | ||
/OperatorsTest.java | ||
/ScopeTest.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/.NodesCoffeeTest.java._trace | ||
/.Showcase.java._trace | ||
/NodesCoffeeTest.java | ||
/Showcase.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+41 Bytes
(100%)
csep.tests/xtend-gen/csep/tests/lexer/.PositionTest.java._trace
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/.PositionTest.java._trace | ||
/.TokenTest.java._trace | ||
/PositionTest.java | ||
/TokenTest.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/.CakefileTest.java._trace | ||
/.ErrorLocationTest.java._trace | ||
/.MissingFeaturesTest.java._trace | ||
/CakefileTest.java | ||
/ErrorLocationTest.java | ||
/MissingFeaturesTest.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/.HelperTest.java._trace | ||
/HelperTest.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package csep; | ||
|
||
import java.io.FileInputStream; | ||
import java.io.IOException; | ||
|
||
import org.eclipse.emf.common.util.URI; | ||
import org.eclipse.emf.ecore.resource.ResourceSet; | ||
import org.eclipse.xtext.resource.XtextResource; | ||
|
||
import com.google.inject.Injector; | ||
|
||
public class Main { | ||
|
||
public static void main(String[] args) throws IOException { | ||
FileInputStream in = new FileInputStream("x.coffee"); | ||
int c = 0; | ||
int n = 0; | ||
while((n=in.read())>0) c++; | ||
in.close(); | ||
System.out.println(c); | ||
|
||
|
||
Injector i = new CoffeeScriptStandaloneSetup().createInjectorAndDoEMFRegistration(); | ||
ResourceSet rs = i.getInstance(ResourceSet.class); | ||
XtextResource r = (XtextResource)rs.getResource(URI.createURI("x.coffee"), true); | ||
r.load(null); | ||
System.out.println(r.getParseResult().getRootNode().getTotalLength()); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
|
||
|
||
|
||
#xxxxx | ||
|
||
a = 1+1 | ||
|
||
|
||
|
||
|
||
|
||
|
||
1+1 | ||
|
||
1111+1111+111+111 | ||
xx=1+1+1 | ||
1+1 | ||
|
||
|
||
sssss=1+1 | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
bla = 1+1 | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/.CoffeeScriptGenerator.java._trace | ||
/CoffeeScriptGenerator.java |