DSMLiteralValue

class dsviper.DSMLiteralValue

Bases: DSMLiteral

A single literal written in a declaration: which kind it is, and its text.

Note: Not directly instantiable.

domain() → str

Return which kind of literal this is - boolean, integer, float, double, string, uuid or enumeration case.

value() → str

Return the literal exactly as written in the source.