xo-reader2: + IPrintable+DDefineSsm
This commit is contained in:
parent
4e490e6973
commit
0a7e8468ae
8 changed files with 133 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ set(SELF_SRCS
|
|||
|
||||
DDefineSsm.cpp
|
||||
ISyntaxStateMachine_DDefineSsm.cpp
|
||||
IPrintable_DDefineSsm.cpp
|
||||
|
||||
DExpectSymbolSsm.cpp
|
||||
ISyntaxStateMachine_DExpectSymbolSsm.cpp
|
||||
|
|
|
|||
|
|
@ -494,6 +494,14 @@ namespace xo {
|
|||
this->get_expect_str());
|
||||
}
|
||||
|
||||
bool
|
||||
DDefineSsm::pretty(const ppindentinfo & ppii) const
|
||||
{
|
||||
return ppii.pps()->pretty_struct
|
||||
(ppii,
|
||||
"DDefineSsm",
|
||||
refrtag("defstate", defstate_));
|
||||
}
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
||||
|
|
|
|||
28
src/reader2/IPrintable_DDefineSsm.cpp
Normal file
28
src/reader2/IPrintable_DDefineSsm.cpp
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
/** @file IPrintable_DDefineSsm.cpp
|
||||
*
|
||||
* Generated automagically from ingredients:
|
||||
* 1. code generator:
|
||||
* [/Users/roland/proj/xo-umbrella2/xo-facet/codegen/genfacet]
|
||||
* arguments:
|
||||
* --input [idl/IPrintable_DDefineSsm.json5]
|
||||
* 2. jinja2 template for abstract facet .hpp file:
|
||||
* [iface_facet_any.hpp.j2]
|
||||
* 3. idl for facet methods
|
||||
* [idl/IPrintable_DDefineSsm.json5]
|
||||
**/
|
||||
|
||||
#include "ssm/IPrintable_DDefineSsm.hpp"
|
||||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
auto
|
||||
IPrintable_DDefineSsm::pretty(const DDefineSsm & self, const ppindentinfo & ppii) -> bool
|
||||
{
|
||||
return self.pretty(ppii);
|
||||
}
|
||||
|
||||
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
||||
/* end IPrintable_DDefineSsm.cpp */
|
||||
|
|
@ -9,6 +9,7 @@
|
|||
#include <xo/reader2/ssm/IPrintable_DExprSeqState.hpp>
|
||||
|
||||
#include <xo/reader2/ssm/ISyntaxStateMachine_DDefineSsm.hpp>
|
||||
#include <xo/reader2/ssm/IPrintable_DDefineSsm.hpp>
|
||||
|
||||
#include <xo/reader2/ssm/ISyntaxStateMachine_DExpectSymbolSsm.hpp>
|
||||
#include <xo/reader2/ssm/IPrintable_DExpectSymbolSsm.hpp>
|
||||
|
|
@ -33,6 +34,7 @@ namespace xo {
|
|||
FacetRegistry::register_impl<APrintable, DExprSeqState>();
|
||||
|
||||
FacetRegistry::register_impl<ASyntaxStateMachine, DDefineSsm>();
|
||||
FacetRegistry::register_impl<APrintable, DDefineSsm>();
|
||||
|
||||
FacetRegistry::register_impl<ASyntaxStateMachine, DExpectSymbolSsm>();
|
||||
FacetRegistry::register_impl<APrintable, DExpectSymbolSsm>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue