Note: information on this page refers to Ceylon 1.2, not to the current release.
Reference
This page lists concepts and links to their descriptions. The complete language specification is also available.
Some of these pages are incomplete. Want to help? See how.
Structure and Declarations
- Keywords
- Modules
- Packages
- Compilation units
- Types
- Type abbreviations
- Type Declarations
- Type parameters
- Type aliases
- Interfaces
- Classes
- Parameters
- Values
- Functions
-
objectdeclarations (c.f. object expressions) - Annotations
- Dynamic interfaces
Annotations
abstractactualaliasedannotationdefaultdeprecateddocbyformalfinallatelicensenativeoptionalsealedseeserializablesharedsuppressWarningsthrowstaggedvariable
Markdown reference for documentation annotations
Statements
assertbreakcontinue- Condition lists
- Expression statements
forifstatementimportreturn- Specification statements
- Destructuring specification
switchstatementthrowtrywhile
Statement blocks and
dynamic blocks.
Expressions
- Invocation
- Tuple enumeration
- Iterable enumeration
- String templates
thisoutersuperpackagequalifier- Anonymous functions
- Callable references
- Static references
- Meta references
ifexpressionsswitchexpressionsletobjectexpressions
Also see operators and literals below
Operators
!(not)!=(not equal)%(remainder)%=(remainder assign)&(Set intersection)&&(and)&&=(and assign)&=(Set intersect assign)()(invoke)*(product)**(scale)*=(multiply assign)+(sum)+(unary plus)++(increment)+=(add assign)-(difference)-(unary minus)--(decrement)-=(subtract assign)->(entry).(member)..(spanned range)y:z(measured range)/(quotient)/=(divide assign)<(less than)<=(less than or equal)<=>(compare)=(assign)==(equal)===(identical)>(greater than)>=(greater than or equal)?.(null-safe attribute)?.(null-safe method)[](lookup)*(spread)*.(spread attribute)*.(spread method)x[y..z](span)x[y...](upper span)x[...z](lower span)x[y:z](measure)^(power)|(Set union)|=(Set union assign)||(or)||=(or assign){}(invoke)~(Set complement)~=(Set complement assign)elseexistsinisnonemptyofthen
Literals
API docs for ceylon.language and the Ceylon SDK
The API documentation for
ceylon.languageceylon.bufferceylon.collectionceylon.dbcceylon.decimalceylon.fileceylon.htmlceylon.interop.browserceylon.interop.javaceylon.ioceylon.jsonceylon.localeceylon.loggingceylon.mathceylon.netceylon.numericceylon.processceylon.promiseceylon.randomceylon.regexceylon.testceylon.timeceylon.transactionceylon.unicodeceylon.whole
Tools
- Command line tooling and build tools
- The
ceyloncommand,ceylon - An index of
ceylonsubcommands - Dealing with
repositorieson the command line - The Ceylon project structure
-
ceyloncommand plugins - The Ceylon
anttasks - The configuration file format
- Bootstrapping Ceylon
Interoperability
- Calling Ceylon modules on the JVM
- Calling Ceylon from Java
- Calling Java from Ceylon
- Type mapping
- Running Ceylon modules in OSGI containers
- The JavaScript compiler
- How to use native annotations