Skip to content

Commit 9de73db

Browse files
committed
Update
1 parent e46ac2c commit 9de73db

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/packages.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ package com.business.enum {
1212

1313
> **Note**: One common convention is for packages to use a prefix domain (one of ( `com`, `net`, `org`, `me` )); alternatively an user may use a prefixless domain name (such as `skia` rather than `com.google.skia`). The `me` prefix is used for personal content and the rest for companies, organizations and groups.
1414
15+
The user defines properties under the package inside the `package` block, as in:
16+
17+
```
18+
package f.q {
19+
public function f() {}
20+
}
21+
```
22+
1523
## Top-level package
1624

1725
The top-level package, which defines global properties, is equivalent to:

0 commit comments

Comments
 (0)