hipddf.parser

Undocumented in source.

Members

Enums

HipDDFTokenType
enum HipDDFTokenType
Undocumented in source.

Functions

getToken
HipDDFToken getToken(HipDDFTokenizer* tokenizer)
Undocumented in source. Be warned that the author may not have intended to support it.
isAlpha
bool isAlpha(char c)
Undocumented in source. Be warned that the author may not have intended to support it.
isArraySyntax
bool isArraySyntax(HipDDFTokenType type)
Undocumented in source. Be warned that the author may not have intended to support it.
isAssociativeArraySyntax
bool isAssociativeArraySyntax(HipDDFTokenType type)
Undocumented in source. Be warned that the author may not have intended to support it.
isEndOfLine
bool isEndOfLine(char c)
Undocumented in source. Be warned that the author may not have intended to support it.
isLiteral
bool isLiteral(HipDDFTokenType type)
Undocumented in source. Be warned that the author may not have intended to support it.
isNumeric
bool isNumeric(char c)
Undocumented in source. Be warned that the author may not have intended to support it.
isWhitespace
bool isWhitespace(char c)
Undocumented in source. Be warned that the author may not have intended to support it.
parseAssignment
HipDDFToken parseAssignment(HipDDFVarInternal variable, HipDDFToken token, HipDDFTokenizer* tokenizer)
Undocumented in source. Be warned that the author may not have intended to support it.
parseHipDDF
HipDDFObject parseHipDDF(string hdf)

It must always find in the following order: 1: Type 2: Symbol 3: Assignment 4: Data By following this order, the data format will be really simple to follow.

parseType
HipDDFToken parseType(HipDDFVarInternal variable, HipDDFToken token, HipDDFTokenizer* tokenizer)

The token passed is assumed to contain the initial type symbol. It will finish parsing by checking if it is an array, and (futurely) an associative array

parserIsVarArray
bool parserIsVarArray(const(void*) hddfvar)
Undocumented in source. Be warned that the author may not have intended to support it.
parserObjGet
T parserObjGet(const(void*) hddfobj, string name)
Undocumented in source. Be warned that the author may not have intended to support it.
parserObjHasVar
bool parserObjHasVar(const(void*) hddfobj, string name)
Undocumented in source. Be warned that the author may not have intended to support it.
parserObjSymbol
string parserObjSymbol(const(void*) hddfobj)
Undocumented in source. Be warned that the author may not have intended to support it.
parserVarLength
uint parserVarLength(const(void*) hddfvar)
Undocumented in source. Be warned that the author may not have intended to support it.
parserVarSymbol
string parserVarSymbol(const(void*) hddfvar)
Undocumented in source. Be warned that the author may not have intended to support it.
parserVarType
string parserVarType(const(void*) hddfvar)
Undocumented in source. Be warned that the author may not have intended to support it.
parserVarValue
string parserVarValue(const(void*) hddfvar)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

HipDDFObjectInternal
struct HipDDFObjectInternal
Undocumented in source.
HipDDFToken
struct HipDDFToken
Undocumented in source.
HipDDFTokenizer
struct HipDDFTokenizer
Undocumented in source.
HipDDFVarInternal
struct HipDDFVarInternal
Undocumented in source.

Meta