UniNodeImpl

UniNode implementation

Constructors

this
this(typeof(null) )

Construct UniNode null value

this
this(T val)

Construct UniNode from unsigned number value

this
this(T val)

Construct UniNode from signed number value

this
this(T val)

Construct UniNode from boolean value

this
this(T val)

Construct UniNode from floating value

this
this(string val)

Construct UniNode from string

this
this(T val)

Construct UniNode from byte array

this
this(This[] val)

Construct array UniNode

this
this(This[string] val)

Construct object UnoNode

Members

Aliases

Kind
alias Kind = TypeEnum!U
Undocumented in source.
opDollar
alias opDollar = length
Undocumented in source.

Functions

get
inout(T) get()

Return value from UnoNode

isArray
bool isArray()

Check node is array

isNull
bool isNull()

Check node is null

isObject
bool isObject()

Check node is object

kind
Kind kind()
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length()
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(ref size_t idx, ref This node) dg)

Iteration by UnoNode array or object

opApply
int opApply(int delegate(ref string idx, ref This node) dg)

Iteration by UnoNode object

opApply
int opApply(int delegate(ref This node) dg)

Iteration by UnoNode array

opBinaryRight
inout(This)* opBinaryRight(string key)

Implement operator in for object

opEquals
bool opEquals(This other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(This other)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
inout(This) opIndex(size_t idx)

Implement index operator by UniNode array

opIndex
inout(This) opIndex(string key)

Implement index operator by UniNode object

opIndexAssign
This opIndexAssign(This val, string key)

Implement index assign operator by UniNode object

opIndexAssign
This opIndexAssign(This val, string key)

Implement index assign operator by UniNode object

opOpAssign
void opOpAssign(This[] elem)

Implement operator ~= by UniNode array

opOpAssign
void opOpAssign(This elem)

Implement operator ~= by UniNode array

toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

emptyArray
This emptyArray()

Construct empty UniNode array

emptyObject
This emptyObject()

Construct empty UniNode object

Meta