LILAC
Language to language Interop LAyer Compiler
|
A composite ASTVisitor wrapping other ASTVisitor(s) More...
#include <interfacevisitor.h>
Public Member Functions | |
GenericInterfaceVisitor () | |
std::string | GetName () const override |
Gets the name of this interface visitor. | |
void | Begin (TContext &ctx, const frxml::dom &parent, const frxml::dom ¤t, int depth) override |
void | End (TContext &ctx, const frxml::dom &parent, const frxml::dom ¤t, int depth) override |
Public Member Functions inherited from lilac::shared::InterfaceVisitor< TContext > | |
virtual | ~InterfaceVisitor ()=default |
A composite ASTVisitor wrapping other ASTVisitor(s)
TContext | Type of context object |
TVisitor | Type derived from lilac::shared::ASTVisitor |
Definition at line 84 of file interfacevisitor.h.
|
inline |
Definition at line 89 of file interfacevisitor.h.
|
inlineoverridevirtual |
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 >.
Definition at line 103 of file interfacevisitor.h.
|
inlineoverridevirtual |
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 >.
Definition at line 112 of file interfacevisitor.h.
|
inlinenodiscardoverridevirtual |
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 98 of file interfacevisitor.h.