-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parser: support for import types(wildcard, in and regular)
Parser: one line function with return statement (Fixes #9) Added tests for added features and for property declaration
- Loading branch information
Showing
43 changed files
with
1,025 additions
and
200 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
351 changes: 214 additions & 137 deletions
351
gen/com/intellij/plugins/haxe/lang/parser/HaxeParser.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
31 changes: 31 additions & 0 deletions
31
gen/com/intellij/plugins/haxe/lang/psi/HaxeImportStatementRegular.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,31 @@ | ||
/* | ||
* Copyright 2000-2013 JetBrains s.r.o. | ||
* Copyright 2014-2014 AS3Boyan | ||
* Copyright 2014-2014 Elias Ku | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
// This is a generated file. Not intended for manual editing. | ||
package com.intellij.plugins.haxe.lang.psi; | ||
|
||
import java.util.List; | ||
import org.jetbrains.annotations.*; | ||
import com.intellij.psi.PsiElement; | ||
|
||
public interface HaxeImportStatementRegular extends HaxePsiCompositeElement { | ||
|
||
@NotNull | ||
HaxeReferenceExpression getReferenceExpression(); | ||
|
||
} |
31 changes: 31 additions & 0 deletions
31
gen/com/intellij/plugins/haxe/lang/psi/HaxeImportStatementWithInSupport.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,31 @@ | ||
/* | ||
* Copyright 2000-2013 JetBrains s.r.o. | ||
* Copyright 2014-2014 AS3Boyan | ||
* Copyright 2014-2014 Elias Ku | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
// This is a generated file. Not intended for manual editing. | ||
package com.intellij.plugins.haxe.lang.psi; | ||
|
||
import java.util.List; | ||
import org.jetbrains.annotations.*; | ||
import com.intellij.psi.PsiElement; | ||
|
||
public interface HaxeImportStatementWithInSupport extends HaxePsiCompositeElement { | ||
|
||
@NotNull | ||
List<HaxeReferenceExpression> getReferenceExpressionList(); | ||
|
||
} |
31 changes: 31 additions & 0 deletions
31
gen/com/intellij/plugins/haxe/lang/psi/HaxeImportStatementWithWildcard.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,31 @@ | ||
/* | ||
* Copyright 2000-2013 JetBrains s.r.o. | ||
* Copyright 2014-2014 AS3Boyan | ||
* Copyright 2014-2014 Elias Ku | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
// This is a generated file. Not intended for manual editing. | ||
package com.intellij.plugins.haxe.lang.psi; | ||
|
||
import java.util.List; | ||
import org.jetbrains.annotations.*; | ||
import com.intellij.psi.PsiElement; | ||
|
||
public interface HaxeImportStatementWithWildcard extends HaxePsiCompositeElement { | ||
|
||
@NotNull | ||
HaxeReferenceExpression getReferenceExpression(); | ||
|
||
} |
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,31 @@ | ||
/* | ||
* Copyright 2000-2013 JetBrains s.r.o. | ||
* Copyright 2014-2014 AS3Boyan | ||
* Copyright 2014-2014 Elias Ku | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
// This is a generated file. Not intended for manual editing. | ||
package com.intellij.plugins.haxe.lang.psi; | ||
|
||
import java.util.List; | ||
import org.jetbrains.annotations.*; | ||
import com.intellij.psi.PsiElement; | ||
|
||
public interface HaxeWildcard extends HaxePsiCompositeElement { | ||
|
||
@NotNull | ||
HaxeReferenceExpression getReferenceExpression(); | ||
|
||
} |
Oops, something went wrong.