LILAC
Language to language Interop LAyer Compiler
Loading...
Searching...
No Matches
lilac::csharp::NamespaceVisitor Class Referencefinal

A visitor that creates bridge of namespace elements with C#. More...

#include <interfacevisitor.h>

Inheritance diagram for lilac::csharp::NamespaceVisitor:
Collaboration diagram for lilac::csharp::NamespaceVisitor:

Public Member Functions

std::string GetName () const override
 Gets the name of this interface visitor.
 
void Begin (VisitContext &ctx, const frxml::dom &parent, const frxml::dom &current, int depth) override
 
void End (VisitContext &ctx, const frxml::dom &parent, const frxml::dom &current, int depth) override
 
- Public Member Functions inherited from lilac::shared::InterfaceVisitor< VisitContext >
virtual ~InterfaceVisitor ()=default
 
virtual void Begin (VisitContext &ctx, const frxml::dom &parent, const frxml::dom &current, int depth)=0
 
virtual void End (VisitContext &ctx, const frxml::dom &parent, const frxml::dom &current, int depth)=0
 

Detailed Description

A visitor that creates bridge of namespace elements with C#.

Definition at line 46 of file interfacevisitor.h.

Member Function Documentation

◆ Begin()

void lilac::csharp::NamespaceVisitor::Begin ( VisitContext & ctx,
const frxml::dom & parent,
const frxml::dom & current,
int depth )
override

Definition at line 140 of file interfacevisitor.cxx.

◆ End()

void lilac::csharp::NamespaceVisitor::End ( VisitContext & ctx,
const frxml::dom & parent,
const frxml::dom & current,
int depth )
override

Definition at line 155 of file interfacevisitor.cxx.

◆ GetName()

std::string lilac::csharp::NamespaceVisitor::GetName ( ) const
nodiscardoverridevirtual

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 ‘__’.

Returns
Name of this interface visitor

Implements lilac::shared::InterfaceVisitor< VisitContext >.

Definition at line 135 of file interfacevisitor.cxx.


The documentation for this class was generated from the following files: