-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from inwc3/jassSynth
Jass synth
- Loading branch information
Showing
68 changed files
with
20,015 additions
and
225 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
20 changes: 20 additions & 0 deletions
20
src/main/java/net/moonlightflower/wc3libs/txt/app/jass/Condition.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,20 @@ | ||
package net.moonlightflower.wc3libs.txt.app.jass; | ||
|
||
import net.moonlightflower.wc3libs.antlr.JassParser; | ||
import net.moonlightflower.wc3libs.antlr.LightJassParser; | ||
import net.moonlightflower.wc3libs.txt.app.jass.expr.bool.BoolExpr; | ||
|
||
import javax.annotation.Nonnull; | ||
import java.io.StringWriter; | ||
|
||
public interface Condition { | ||
/*static Condition create(@Nonnull JassParser.ConditionContext conditionContext) { | ||
return BoolExpr.create(conditionContext.bool_expr()); | ||
}*/ | ||
|
||
static Condition create(@Nonnull LightJassParser.ConditionContext conditionContext) { | ||
return BoolExpr.create(conditionContext.expr()); | ||
} | ||
|
||
void write(@Nonnull StringWriter sw); | ||
} |
4 changes: 4 additions & 0 deletions
4
src/main/java/net/moonlightflower/wc3libs/txt/app/jass/Decl.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 @@ | ||
package net.moonlightflower.wc3libs.txt.app.jass; | ||
|
||
public interface Decl { | ||
} |
Oops, something went wrong.