mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-14 11:46:06 +00:00
generic types and "primitive" docs
This commit is contained in:
5
common/src/tectonic/resources/Boolean.md
Normal file
5
common/src/tectonic/resources/Boolean.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Boolean
|
||||
|
||||
A Boolean data type represents a logical boolean value, a value which can
|
||||
be either `true` or `false`.
|
||||
|
||||
10
common/src/tectonic/resources/Double.md
Normal file
10
common/src/tectonic/resources/Double.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# Double
|
||||
|
||||
A Double type represents a double-precision floating point value.
|
||||
Essentially, a Double is a decimal number.
|
||||
|
||||
Examples:
|
||||
* `5`
|
||||
* `0.3`
|
||||
* `-12.5`
|
||||
* `100.3`
|
||||
10
common/src/tectonic/resources/Integer.md
Normal file
10
common/src/tectonic/resources/Integer.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# Integer
|
||||
|
||||
An Integer data type represents a Java integer, a whole number with
|
||||
a minimum value of -2^31, and a maximum value of 2^31-1.
|
||||
|
||||
Examples:
|
||||
* `0`
|
||||
* `5`
|
||||
* `-20`
|
||||
* `123456`
|
||||
15
common/src/tectonic/resources/List.md
Normal file
15
common/src/tectonic/resources/List.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# List
|
||||
|
||||
A List is an ordered collection of objects of a specific type.
|
||||
|
||||
Examples:
|
||||
* ```yml
|
||||
- "thing"
|
||||
- "thing 2"
|
||||
- "thing 3"
|
||||
```
|
||||
* ```yml
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
```
|
||||
13
common/src/tectonic/resources/String.md
Normal file
13
common/src/tectonic/resources/String.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# String
|
||||
|
||||
A String data type represents a string of characters.
|
||||
|
||||
Examples:
|
||||
* `"Hello, World!"`
|
||||
* ```
|
||||
A
|
||||
Multi
|
||||
Line
|
||||
String
|
||||
```
|
||||
* `"Something"`
|
||||
Reference in New Issue
Block a user