Skip to content

some experimentations - PR is just easier way to compare code #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions csep.tests/xtend-gen/csep/tests/basic/.gitignore
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
4 changes: 4 additions & 0 deletions csep.tests/xtend-gen/csep/tests/coffee/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.NodesCoffeeTest.java._trace
/.Showcase.java._trace
/NodesCoffeeTest.java
/Showcase.java
2 changes: 1 addition & 1 deletion csep.tests/xtend-gen/csep/tests/coffee/Showcase.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void test_interpolation() {
_builder.append("quote = \"A picture is a fact. -- #{ author }\"");
_builder.newLine();
_builder.newLine();
_builder.append("sentence = \"#{ 22 / 7 } is a decent approximation of \uFFFD\uFFFD\"");
_builder.append("sentence = \"#{ 22 / 7 } is a decent approximation of \ufffd\ufffd\"");
_builder.newLine();
this.ok(_builder);
}
Expand Down
Binary file modified csep.tests/xtend-gen/csep/tests/lexer/.PositionTest.java._trace
Binary file not shown.
4 changes: 4 additions & 0 deletions csep.tests/xtend-gen/csep/tests/lexer/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.PositionTest.java._trace
/.TokenTest.java._trace
/PositionTest.java
/TokenTest.java
6 changes: 6 additions & 0 deletions csep.tests/xtend-gen/csep/tests/other/.gitignore
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
2 changes: 2 additions & 0 deletions csep.tests/xtend-gen/csep/tests/parser/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/.HelperTest.java._trace
/HelperTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext;

/**
* Represents a generated, default implementation of interface {@link IProposalProvider}.
* Represents a generated, default implementation of superclass {@link org.eclipse.xtext.ui.editor.contentassist.AbstractJavaBasedContentProposalProvider}.
* Methods are dynamically dispatched on the first parameter, i.e., you can override them
* with a more concrete subtype.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
/**
* @author Sebastian Zarnekow - Initial contribution and API
*/
@SuppressWarnings("restriction")
public class PartialCoffeeScriptContentAssistParser extends CoffeeScriptParser implements IPartialContentAssistParser {

private AbstractRule rule;
Expand Down
3 changes: 2 additions & 1 deletion csep/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ Require-Bundle: org.apache.log4j;bundle-version="1.2.15";visibility:=reexport,
org.eclipse.xtext.common.types,
org.eclipse.xtext.xbase.lib;bundle-version="2.0.0";visibility:=reexport,
org.apache.commons.logging;bundle-version="1.0.4";resolution:=optional;visibility:=reexport,
org.eclipse.xtext.ui.codetemplates;bundle-version="2.0.0"
org.eclipse.xtext.ui.codetemplates;bundle-version="2.0.0",
org.apache.commons.lang;bundle-version="2.6.0"
Import-Package: org.apache.commons.logging,
org.apache.log4j,
org.eclipse.xtext.xbase.lib
Expand Down
19 changes: 19 additions & 0 deletions csep/out.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
(($)->22
$=jQuery
$.CoreHelper=
{sendAjaxRequest:()->22}
_default={
dataType:'json'
type:'POST'
data:{}
url:null
beforeSend:->22
success:(data)->22
complete:->22}

)(jQuery)




s
2 changes: 1 addition & 1 deletion csep/src-gen/csep/CoffeeScript.genmodel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
modelPluginID="csep" forceOverwrite="true" modelName="CoffeeScript" updateClasspath="false"
rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" complianceLevel="5.0"
copyrightFields="false" editPluginID="csep.edit" editorPluginID="csep.editor"
runtimeVersion="2.8">
runtimeVersion="2.9">
<genPackages prefix="CoffeeScript" basePackage="csep" disposableProviderFactory="true"
ecorePackage="CoffeeScript.ecore#/">
<genClasses ecoreClass="CoffeeScript.ecore#//Root"/>
Expand Down
Loading