quantities.parsing

This module defines functions to parse units and quantities.

Members

Classes

ParsingException
class ParsingException

Exception thrown when parsing encounters an unexpected token.

Functions

parseQuantityImpl
QVariant!N parseQuantityImpl(S input, SymbolList!N symbolList)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Parser
struct Parser(N, alias numberParser = (ref s) => parse!N(s))

A quantity parser.

QuantityParser
struct QuantityParser(N, S)
Undocumented in source.
SymbolList
struct SymbolList(N)

Contains the symbols of the units and the prefixes that a parser can handle.

Meta

Authors

Nicolas Sicard