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.2
ceylon.ast.create1.2.2
ceylon.ast.redhat1.2.2
ceylon.buffer1.2.2
ceylon.collection1.2.2
ceylon.file1.2.2
ceylon.formatter1.2.2
ceylon.interop.java1.2.2
ceylon.json1.2.2
ceylon.whole1.2.2
com.redhat.ceylon.typechecker1.2.2
com.vasileff.ceylon.structures0.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 followed by user repo urls. Warnings are suppressed. If user repos are provided, noDefaultRepos will be set to true.

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, Boolean baselinePerfTest = false)
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
  • baselinePerfTest = false

    Include 'count nodes' visitors to determine baseline performance.

Source Codeshared ExistingResource createSymbolicLink(Nil nil, Path linkedPath)
javaFileSource Codeshared JFile javaFile(Resource|Path|JFile|String resource)
javaListSource Codeshared JList<Element> javaList<Element>({Element*} elements)
given Element satisfies Object
javaPathSource Codeshared JPath javaPath(Path|Resource resource)
javaWriterSource Codeshared JWriter javaWriter(File.Appender appender)
linkedMapSource Codeshared Map<Key,Item> linkedMap<Key, Item>({<Key->Item>*} entries)
given Key satisfies Object
parseJsonSource Codeshared JsonValue parseJson(File|String|Null json)
runModuleSampleSource Codeshared void runModuleSample()
runSampleSource Codeshared void runSample()
testCompileSource Codeshared DartCompilationUnit[] testCompile(Boolean verbose = false, Boolean suppressAllWarnings = true, {String*} listings = ..., Boolean baselinePerfTest = false, Boolean verboseProfile = ...)
Parameters:
  • verbose = false
  • suppressAllWarnings = true
  • listings = {}
  • baselinePerfTest = false
  • verboseProfile = baselinePerfTest
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
JsonArraySource Codeshared JsonArray
JsonObjectSource Codeshared JsonObject
Exceptions
ReportableExceptionSource Codeshared ReportableException