assistance-engine/docs/developer.avapframework.com/chapter9_14.md

10 lines
390 B
Markdown

## 6.2.2. Literals
AVAP supports string and bytes literals, as well as various numeric literals:
```javascript
literal ::= stringliteral | bytesliteral | integer | floatnumber | imagnumber
```
Evaluating a literal produces an object of the given type (string, bytes, integer, floating-point number, complex number) with the given value. All literals correspond to immutable data types.