LILAC
Language to language Interop LAyer Compiler
|
An interface visitor for a whole assembly. More...
#include <interfacevisitor.h>
Public Member Functions | |
std::string | GetName () const final |
Gets the name of this interface visitor. | |
void | Begin (TContext &ctx, const frxml::dom &parent, const frxml::dom ¤t, int depth) override=0 |
void | End (TContext &ctx, const frxml::dom &parent, const frxml::dom ¤t, int depth) override=0 |
Public Member Functions inherited from lilac::shared::InterfaceVisitor< TContext > | |
virtual | ~InterfaceVisitor ()=default |
An interface visitor for a whole assembly.
To traverse whole assembly, Implement visitor derived from lilac::shared::AssemblyVisitor with your context object. Use lilac::shared::GenericInterfaceVisitor to traverse XML elements tagged as ‘assembly’ is not intended usage of lilac::shared::GenericInterfaceVisitor. Do NOT use lilac::shared::GenericInterfaceVisitor to traverse assembly element.
TContext | Type of context object |
Definition at line 134 of file interfacevisitor.h.
|
overridepure virtual |
ctx | Context object for interface visitors |
parent | Parent DOM object |
current | Current DOM object |
depth | Depth of current DOM object |
Implements lilac::shared::InterfaceVisitor< TContext >.
|
overridepure virtual |
ctx | Context object for interface visitors |
parent | Parent DOM object |
current | Current DOM object |
depth | Depth of current DOM object |
Implements lilac::shared::InterfaceVisitor< TContext >.
|
inlinenodiscardfinalvirtual |
Gets the name of this interface visitor.
To traverse interface graph and matching proper visitor for XML tag, Interface visitors should have key corresponding to XML tag.
Interface visitor is reserved for special purpose if its name starts with ‘__’.
Implements lilac::shared::InterfaceVisitor< TContext >.
Definition at line 138 of file interfacevisitor.h.