-
Notifications
You must be signed in to change notification settings - Fork 2
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 #6 from webfx-project/j2cl
Refactored AST + J2CL support
- Loading branch information
Showing
938 changed files
with
114,578 additions
and
5,337 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
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
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
21 changes: 21 additions & 0 deletions
21
.../main/java/dev/webfx/platform/ast/spi/factory/impl/generic/GenericAstFactoryProvider.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,21 @@ | ||
package dev.webfx.platform.ast.spi.factory.impl.generic; | ||
|
||
import dev.webfx.platform.ast.AstArray; | ||
import dev.webfx.platform.ast.AstObject; | ||
import dev.webfx.platform.ast.spi.factory.AstFactoryProvider; | ||
|
||
/** | ||
* @author Bruno Salmon | ||
*/ | ||
public class GenericAstFactoryProvider implements AstFactoryProvider { | ||
|
||
@Override | ||
public AstObject createObject() { | ||
return new MapAstObject(); | ||
} | ||
|
||
@Override | ||
public AstArray createArray() { | ||
return new ListAstArray(); | ||
} | ||
} |
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
27 changes: 27 additions & 0 deletions
27
.../main/java/dev/webfx/platform/ast/spi/factory/impl/generic/ListMapAstFactoryProvider.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,27 @@ | ||
package dev.webfx.platform.ast.spi.factory.impl.generic; | ||
|
||
import dev.webfx.platform.ast.spi.factory.AstFactoryProvider; | ||
import dev.webfx.platform.ast.AstArray; | ||
import dev.webfx.platform.ast.AstObject; | ||
|
||
/** | ||
* @author Bruno Salmon | ||
*/ | ||
public final class ListMapAstFactoryProvider implements AstFactoryProvider { | ||
|
||
private final static ListMapAstFactoryProvider INSTANCE = new ListMapAstFactoryProvider(); | ||
|
||
public static ListMapAstFactoryProvider getInstance() { | ||
return INSTANCE; | ||
} | ||
|
||
@Override | ||
public AstObject createObject() { | ||
return new MapAstObject(); | ||
} | ||
|
||
@Override | ||
public AstArray createArray() { | ||
return new ListAstArray(); | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...l/keyobject/impl/listmap/ListMapUtil.java → ...spi/factory/impl/generic/ListMapUtil.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
Oops, something went wrong.