Euphoria
eu::kdl Namespace Reference

Classes

struct  Number
struct  HasTypeAnnotation
struct  Value
struct  Node
struct  Document
struct  DocumentResult

Concepts

concept  arithmetic_concept
concept  into_number_concept

Typedefs

using integer_type = long long
using float_type = double
using string_type = std::string

Enumerations

enum class  Version { kdl_1 , kdl_2 , any }
enum class  NumberType { integer_type = 0 , float_type , string_type }
enum class  Type { null , boolean , number , string }

Functions

DocumentResult parse (std::string_view kdl_text)
DocumentResult parse (std::string_view kdl_text, Version version)

Typedef Documentation

◆ float_type

using eu::kdl::float_type = double

Definition at line 40 of file kdl.h.

◆ integer_type

using eu::kdl::integer_type = long long

Definition at line 39 of file kdl.h.

◆ string_type

using eu::kdl::string_type = std::string

Definition at line 41 of file kdl.h.

Enumeration Type Documentation

◆ NumberType

enum class eu::kdl::NumberType
strong
Enumerator
integer_type 
float_type 
string_type 

Definition at line 32 of file kdl.h.

◆ Type

enum class eu::kdl::Type
strong
Enumerator
null 
boolean 
number 
string 

Definition at line 104 of file kdl.h.

◆ Version

enum class eu::kdl::Version
strong
Enumerator
kdl_1 
kdl_2 
any 

Definition at line 22 of file kdl.h.

Function Documentation

◆ parse() [1/2]

DocumentResult eu::kdl::parse ( std::string_view kdl_text)

◆ parse() [2/2]

DocumentResult eu::kdl::parse ( std::string_view kdl_text,
Version version )