Source Code
Platform: Java
Packages
com.vasileff.ceylon.dart.compiler
com.vasileff.ceylon.dart.compiler.dartast
com.vasileff.ceylon.dart.compiler.nodeinfo
Dependencies
ceylon.ast.core1.2.0
ceylon.ast.create1.2.0
ceylon.ast.redhat1.2.0
ceylon.collection1.2.0
ceylon.file1.2.0
ceylon.formatter1.2.0
ceylon.interop.java1.2.0
ceylon.io1.2.0
ceylon.json1.2.0
ceylon.math1.2.0
ceylon.test1.2.0
com.redhat.ceylon.compiler.js1.2.0
com.redhat.ceylon.model1.2.0
com.redhat.ceylon.module-resolver1.2.0
com.redhat.ceylon.typechecker1.2.0
com.vasileff.jl4c.guava0.0.1
java.base7
net.minidev.json-smart1.1.1
Aliases
JsonValueSource Codeshared JsonValue=> JsonObject|JsonArray|Null|String|Boolean|Integer|Float
SmartJsonValueSource Codeshared SmartJsonValue=> MDJSONObject|MDJSONArray|Null|JString|JBoolean|JInteger|JDouble
Values
allWarningsSource Codeshared Warning[] allWarnings
dartBackendSource Codeshared Backend dartBackend
Functions
bootstrapCompileSource Codeshared void bootstrapCompile()

A simple CLI compiler that takes up to three arguments: a source directory, an output directory, and optionally, a system repository url. Warnings are suppressed.

ceylonFileSource Codeshared File? ceylonFile(File|JFile? file)
compileDartSource Codeshared [DartCompilationUnit[], CompilationStatus] compileDart({VirtualFile*} virtualFiles = [], {JFile*} sourceDirectories = [], {JFile*} sourceFiles = [], {String*} moduleFilters = [], RepositoryManager? repositoryManager = null, RepositoryManager? outputRepositoryManager = null, JPrintWriter standardOutWriter = ..., JPrintWriter standardErrorWriter = ..., Boolean generateSourceArtifact = false, {Warning*} suppressWarning = [], Boolean doWithoutCaching = false, Boolean suppressMainFunction = false, Boolean verboseAst = false, Boolean verboseRhAst = false, Boolean verboseCode = false, Boolean verboseProfile = false, Boolean verboseFiles = false, Boolean quiet = true)
Parameters:
  • virtualFiles = []
  • sourceDirectories = []
  • sourceFiles = []
  • moduleFilters = []

    A list of modules to compile, or the empty list to compile all modules.

  • repositoryManager = null
  • outputRepositoryManager = null
  • standardOutWriter = JPrintWriter(System.\iout)
  • standardErrorWriter = JPrintWriter(System.\ierr)
  • generateSourceArtifact = false
  • suppressWarning = []
  • doWithoutCaching = false
  • suppressMainFunction = false
  • verboseAst = false
  • verboseRhAst = false
  • verboseCode = false
  • verboseProfile = false
  • verboseFiles = false
  • quiet = true
javaFileSource Codeshared JFile javaFile(File|JFile file)
javaPathSource Codeshared JPath javaPath(File file)
javaWriterSource Codeshared JWriter javaWriter(File.Appender appender)
parseJsonSource Codeshared JsonValue parseJson(File|String|Null json)
parseJsonModelSource Codeshared JMap<JString,Object>? parseJsonModel(JFile|File file)
runSource Codeshared void run()
testCompileSource Codeshared DartCompilationUnit[] testCompile(Boolean verbose = false, Boolean suppressAllWarnings = true, {String*} listings = ...)
Parameters:
  • verbose = false
  • suppressAllWarnings = true
  • listings = {}
testModuleCompileSource Codeshared DartCompilationUnit[] testModuleCompile(Boolean verbose = false, Boolean suppressAllWarnings = true, {<String->String>*} listings = ...)
Parameters:
  • verbose = false
  • suppressAllWarnings = true
  • listings = {}
wrapSmartJsonSource Codeshared JsonValue wrapSmartJson(SmartJsonValue o)
Interfaces
DScopeSource Codeshared DScope
Classes
CompilationStatusSource Codeshared CompilationStatus
DartModuleSourceMapperSource Codeshared DartModuleSourceMapper
JsonArraySource Codeshared JsonArray
JsonObjectSource Codeshared JsonObject
TemporaryFileSource Codeshared TemporaryFile
Exceptions
ReportableExceptionSource Codeshared ReportableException