• Modules
    • By category
    • By name
    • Most popular
    • Most downloaded
    • Repository
  • Register
  • Log in
  • Help
    • Start using Ceylon Herd
    • Publish your first module
    • Module publishing guidelines
    • All about Ceylon
    • Keyboard Shortcuts

    • s Focus search module bar
      ? Open this information panel
      j Move selection down
      k Move selection up
      enter Open current selection
Module info
Name
lucaswerkmeister / ceylon.ast.redhat / 1.1.0
Bidirectional ceylon.ast / RedHat compiler AST conversion
Backends JVM
Maven coordinates
Compatible Ceylon release JVM: 1.1.0 (outdated)
Published Oct 16, 2014
Stats Downloads (JVM): 449
Source downloads: 402
Authors Lucas Werkmeister <mail@lucaswerkmeister.de>
License http://www.apache.org/licenses/LICENSE-2.0.html
Description

This module defines a bidirectional conversion between ceylon.ast and the RedHat compiler AST, as well as functions that directly compile code to ceylon.ast nodes using the RedHat compiler.

ceylon.ast → RedHat AST:

that.transform(RedHatTransformer(SimpleTokenFactory()))

RedHat AST → ceylon.ast:

compilationUnitToCeylon(that)

Code → ceylon.ast:

compileCompilationUnit(code)

For the latter two, there are also functions for (almost) every other node type, e. g. expressionToCeylon, compileType, etc.

Dependencies
ceylon.ast.core/1.1.0 shared
ceylon.interop.java/1.1.0
com.redhat.ceylon.typechecker/1.1.0 shared
Usage
  • Import
 import ceylon.ast.redhat "1.1.0";
Module links Members
Imported By
Home
Code repository
Issue tracker
Browse
Download .car
No .js archive
Download source archive
Download module documentation
View API documentation

Ceylon Herd v1.24 Copyright 2012-2023 Red Hat. About