Note: information on this page refers to Ceylon 1.0, 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
- Classes
- Interfaces
- Parameters
- Type parameters
- Type aliases
- Values
- Functions
object
s- Annotations
Annotations
abstract
actual
annotation
default
deprecated
doc
by
formal
final
late
license
native
optional
see
shared
throws
tagged
variable
Markdown reference for documentation annotations
Statements
assert
break
continue
- Condition lists
- Expression statements
for
if
import
return
- Specification statements
switch
throw
try
while
Expressions
- Invocation
- Tuple enumeration
- Iterable enumeration
- String templates
this
outer
super
package
qualifier- Anonymous functions
- Callable references
- Static references
- Meta references
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):
(segmented 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:n]
(segment)^
(power)|
(Set union)|=
(Set union assign)||
(or)||=
(or assign){}
(invoke)~
(Set complement)~=
(Set complement assign)else
exists
in
is
nonempty
of
then
Literals
API docs for ceylon.language
and the Ceylon SDK
The API documentation for
ceylon.language
ceylon.collection
ceylon.dbc
ceylon.file
ceylon.html
ceylon.interop.java
ceylon.io
ceylon.json
ceylon.math
ceylon.net
ceylon.process
ceylon.test
ceylon.time
ceylon.unicode
Tools
- The
ceylon
command,ceylon
- An index of
ceylon
subcommands - The Ceylon
ant
tasks - The configuration file format