Name |
Utililty functions to create ceylon.ast nodes easily |
---|---|
Backends | JVM |
Maven coordinates | |
Compatible Ceylon release |
JVM: 1.1.0 (outdated) |
Published | Oct 16, 2014 |
Stats |
Downloads (JVM): 443 Source downloads: 403 |
Description |
This module contains helper functions to simplify creating [[ceylon.ast|module ceylon.ast.core]] [[nodes|ceylon.ast.core::Node]]. The most useful functions are BaseExpression(MemberNameWithTypeArguments(LIdentifier("null"))) BaseType(TypeNameWithTypeArguments(UIdentifier("String"))) as baseExpression("null") baseType("String") Many of the functions in this package are also designed to be used with named arguments, where the “listed” argument (comma-separated) is assigned to the first unassigned iterable parameter. For example, we intend you to write annotations { documentation = "Documentation."; "shared", "actual", "default" } and not annotations { documentation = "Documentation."; annotations = { "shared", "actual", "default" }; } This is especially important for the |
Dependencies |
ceylon.ast.core/1.1.0
shared
|
Usage |
import ceylon.ast.create "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 |