Module literal

Source

Structs§

LitBool
A boolean literal, either true or false.
LitFloat
A floating-point literal, represented as a String.
LitInt
An integer literal, representing as a String.
LitList
The list type, consisting of a list of expressions surrounded by square brackets and delimited by commas: [expr1, expr2, ...].
LitListRepeat
The list type, formed by repeating the given expression n times: [expr; n].
LitRadix
A number written in radix notation. Radix notation allows users to express integers in a base other than base 10.
LitSym
A symbol / identifier literal. Symbols are used to represent variables and functions.
LitUnit
The unit type, written as (). The unit type is by-default returned by functions that do not return a value.

Enums§

Literal
Represents a literal value in CalcScript.

Constants§

DIGITS
The digits in base 64, in order of increasing value.