This file contains hidden or 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
| module web_ide_script "1.0.0" { | |
| } |
This file contains hidden or 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
| TypeCheckerBuilder tcb = new TypeCheckerBuilder(); | |
| for (File path: this.sourceFolders) { | |
| tcb.addSrcDirectory(applyCwd(path)); | |
| } | |
| TypeChecker tc = tcb.getTypeChecker(); | |
| PhasedUnits pus = tc.getPhasedUnits(); | |
| pus.visitModules(); |
This file contains hidden or 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
| final Options opts = new Options().addRepo("build/runtime").outRepo("build/test/proto"); | |
| final RepositoryManager repoman = CeylonUtils.repoManager() | |
| .cwd(opts.getCwd()) | |
| .systemRepo(opts.getSystemRepo()) | |
| .userRepos(opts.getRepos()) | |
| .outRepo(opts.getOutRepo()) | |
| .buildManager(); | |
| JsModuleManagerFactory.setVerbose(true); | |
| TypeCheckerBuilder tcb = new TypeCheckerBuilder().verbose(false) | |
| .moduleManagerFactory(new JsModuleManagerFactory(null)) |
This file contains hidden or 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
| //$webrun_full_script | |
| import ceylon.language.meta.declaration { | |
| ValueDeclaration | |
| } | |
| shared void run() { | |
| for (dec in `class String`.memberDeclarations<ValueDeclaration>()) { | |
| print(dec); | |
| } | |
| } |
NewerOlder