[][src]Module weedle::literal

Structs

BooleanLit

Represents either true or false

DecLit

Parses -?[1-9][0-9]*

EmptyArrayLit

Represents [ ]

EmptyDictionaryLit

Represents { }

FloatValueLit

Parses /-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/

HexLit

Parses -?0[Xx][0-9A-Fa-f]+)

OctLit

Parses -?0[0-7]*

StringLit

Represents a string value

Enums

ConstValue

Represents true, false, 34.23, null, 56, ...

DefaultValue

Represents a default literal value. Ex: 34|34.23|"value"|[ ]|true|false|null

FloatLit

Represents a floating point value, NaN, Infinity, '+Infinity`

IntegerLit

Represents an integer value