xo-reader2 xo-expression2: define example working and printing
def foo : f64 = 3.141593;
This commit is contained in:
parent
c3907f45df
commit
855cdb08b7
9 changed files with 172 additions and 6 deletions
|
|
@ -22,6 +22,7 @@ namespace xo {
|
|||
using AAllocator = xo::mm::AAllocator;
|
||||
using AGCObject = xo::mm::AGCObject;
|
||||
using typeseq = xo::reflect::typeseq;
|
||||
using ppindentinfo = xo::print::ppindentinfo;
|
||||
|
||||
public:
|
||||
explicit DConstant(obj<AGCObject> value) noexcept;
|
||||
|
|
@ -45,6 +46,8 @@ namespace xo {
|
|||
|
||||
void assign_valuetype(TypeDescr td) noexcept { typeref_.resolve(td); }
|
||||
|
||||
bool pretty(const ppindentinfo & ppii) const;
|
||||
|
||||
private:
|
||||
static TypeDescr _lookup_td(typeseq tseq);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue