File Index Symbol Index

/*********************************************************************** This file is generated by: Vczh Parser Generator From parser definition:WfExpression.parser.txt Licensed under https://github.com/vczh-libraries/License ***********************************************************************/
#ifndef VCZH_WORKFLOW_EXPRESSION_WFEXPRESSIONPARSER_EMPTY
#define VCZH_WORKFLOW_EXPRESSION_WFEXPRESSIONPARSER_EMPTY
#include <VlppParser.h>
#include "WfExpression_Ast.h"
namespace
vl
{
namespace
workflow
{
namespace
empty_visitor
{
/// <summary>An empty visitor, overriding all abstract methods with empty implementations.</summary>
class
TypeVisitor
:
public
Object
,
public
WfType
::
IVisitor
{
public
:
// Visitor Members -----------------------------------
void
Visit
(
WfPredefinedType
*
node
)
override
;
void
Visit
(
WfTopQualifiedType
*
node
)
override
;
void
Visit
(
WfReferenceType
*
node
)
override
;
void
Visit
(
WfRawPointerType
*
node
)
override
;
void
Visit
(
WfSharedPointerType
*
node
)
override
;
void
Visit
(
WfNullableType
*
node
)
override
;
void
Visit
(
WfEnumerableType
*
node
)
override
;
void
Visit
(
WfMapType
*
node
)
override
;
void
Visit
(
WfObservableListType
*
node
)
override
;
void
Visit
(
WfFunctionType
*
node
)
override
;
void
Visit
(
WfChildType
*
node
)
override
; };
/// <summary>An empty visitor, overriding all abstract methods with empty implementations.</summary>
class
ExpressionVisitor
:
public
Object
,
public
WfExpression
::
IVisitor
{
public
:
// Dispatch (virtual) --------------------------------
virtual
void
Dispatch
(
WfVirtualCfeExpression
*
node
) =
0
;
virtual
void
Dispatch
(
WfVirtualCseExpression
*
node
) =
0
;
// Visitor Members -----------------------------------
void
Visit
(
WfThisExpression
*
node
)
override
;
void
Visit
(
WfTopQualifiedExpression
*
node
)
override
;
void
Visit
(
WfReferenceExpression
*
node
)
override
;
void
Visit
(
WfOrderedNameExpression
*
node
)
override
;
void
Visit
(
WfOrderedLambdaExpression
*
node
)
override
;
void
Visit
(
WfMemberExpression
*
node
)
override
;
void
Visit
(
WfChildExpression
*
node
)
override
;
void
Visit
(
WfLiteralExpression
*
node
)
override
;
void
Visit
(
WfFloatingExpression
*
node
)
override
;
void
Visit
(
WfIntegerExpression
*
node
)
override
;
void
Visit
(
WfStringExpression
*
node
)
override
;
void
Visit
(
WfUnaryExpression
*
node
)
override
;
void
Visit
(
WfBinaryExpression
*
node
)
override
;
void
Visit
(
WfLetExpression
*
node
)
override
;
void
Visit
(
WfIfExpression
*
node
)
override
;
void
Visit
(
WfRangeExpression
*
node
)
override
;
void
Visit
(
WfSetTestingExpression
*
node
)
override
;
void
Visit
(
WfConstructorExpression
*
node
)
override
;
void
Visit
(
WfInferExpression
*
node
)
override
;
void
Visit
(
WfTypeCastingExpression
*
node
)
override
;
void
Visit
(
WfTypeTestingExpression
*
node
)
override
;
void
Visit
(
WfTypeOfTypeExpression
*
node
)
override
;
void
Visit
(
WfTypeOfExpressionExpression
*
node
)
override
;
void
Visit
(
WfAttachEventExpression
*
node
)
override
;
void
Visit
(
WfDetachEventExpression
*
node
)
override
;
void
Visit
(
WfObserveExpression
*
node
)
override
;
void
Visit
(
WfCallExpression
*
node
)
override
;
void
Visit
(
WfFunctionExpression
*
node
)
override
;
void
Visit
(
WfNewClassExpression
*
node
)
override
;
void
Visit
(
WfNewInterfaceExpression
*
node
)
override
;
void
Visit
(
WfVirtualCfeExpression
*
node
)
override
;
void
Visit
(
WfVirtualCseExpression
*
node
)
override
; };
/// <summary>An empty visitor, overriding all abstract methods with empty implementations.</summary>
class
StatementVisitor
:
public
Object
,
public
WfStatement
::
IVisitor
{
public
:
// Dispatch (virtual) --------------------------------
virtual
void
Dispatch
(
WfVirtualCseStatement
*
node
) =
0
;
virtual
void
Dispatch
(
WfCoroutineStatement
*
node
) =
0
;
virtual
void
Dispatch
(
WfStateMachineStatement
*
node
) =
0
;
// Visitor Members -----------------------------------
void
Visit
(
WfBreakStatement
*
node
)
override
;
void
Visit
(
WfContinueStatement
*
node
)
override
;
void
Visit
(
WfReturnStatement
*
node
)
override
;
void
Visit
(
WfDeleteStatement
*
node
)
override
;
void
Visit
(
WfRaiseExceptionStatement
*
node
)
override
;
void
Visit
(
WfIfStatement
*
node
)
override
;
void
Visit
(
WfWhileStatement
*
node
)
override
;
void
Visit
(
WfTryStatement
*
node
)
override
;
void
Visit
(
WfBlockStatement
*
node
)
override
;
void
Visit
(
WfGotoStatement
*
node
)
override
;
void
Visit
(
WfVariableStatement
*
node
)
override
;
void
Visit
(
WfExpressionStatement
*
node
)
override
;
void
Visit
(
WfVirtualCseStatement
*
node
)
override
;
void
Visit
(
WfCoroutineStatement
*
node
)
override
;
void
Visit
(
WfStateMachineStatement
*
node
)
override
; };
/// <summary>An empty visitor, overriding all abstract methods with empty implementations.</summary>
class
DeclarationVisitor
:
public
Object
,
public
WfDeclaration
::
IVisitor
{
public
:
// Dispatch (virtual) --------------------------------
virtual
void
Dispatch
(
WfVirtualCfeDeclaration
*
node
) =
0
;
virtual
void
Dispatch
(
WfVirtualCseDeclaration
*
node
) =
0
;
// Visitor Members -----------------------------------
void
Visit
(
WfNamespaceDeclaration
*
node
)
override
;
void
Visit
(
WfFunctionDeclaration
*
node
)
override
;
void
Visit
(
WfVariableDeclaration
*
node
)
override
;
void
Visit
(
WfEventDeclaration
*
node
)
override
;
void
Visit
(
WfPropertyDeclaration
*
node
)
override
;
void
Visit
(
WfConstructorDeclaration
*
node
)
override
;
void
Visit
(
WfDestructorDeclaration
*
node
)
override
;
void
Visit
(
WfClassDeclaration
*
node
)
override
;
void
Visit
(
WfEnumDeclaration
*
node
)
override
;
void
Visit
(
WfStructDeclaration
*
node
)
override
;
void
Visit
(
WfVirtualCfeDeclaration
*
node
)
override
;
void
Visit
(
WfVirtualCseDeclaration
*
node
)
override
; };
/// <summary>An empty visitor, overriding all abstract methods with empty implementations.</summary>
class
VirtualCfeDeclarationVisitor
:
public
Object
,
public
WfVirtualCfeDeclaration
::
IVisitor
{
public
:
// Visitor Members -----------------------------------
void
Visit
(
WfAutoPropertyDeclaration
*
node
)
override
;
void
Visit
(
WfCastResultInterfaceDeclaration
*
node
)
override
; };
/// <summary>An empty visitor, overriding all abstract methods with empty implementations.</summary>
class
VirtualCseDeclarationVisitor
:
public
Object
,
public
WfVirtualCseDeclaration
::
IVisitor
{
public
:
// Visitor Members -----------------------------------
void
Visit
(
WfStateMachineDeclaration
*
node
)
override
; };
/// <summary>An empty visitor, overriding all abstract methods with empty implementations.</summary>
class
VirtualCseStatementVisitor
:
public
Object
,
public
WfVirtualCseStatement
::
IVisitor
{
public
:
// Visitor Members -----------------------------------
void
Visit
(
WfForEachStatement
*
node
)
override
;
void
Visit
(
WfSwitchStatement
*
node
)
override
;
void
Visit
(
WfCoProviderStatement
*
node
)
override
; };
/// <summary>An empty visitor, overriding all abstract methods with empty implementations.</summary>
class
CoroutineStatementVisitor
:
public
Object
,
public
WfCoroutineStatement
::
IVisitor
{
public
:
// Visitor Members -----------------------------------
void
Visit
(
WfCoPauseStatement
*
node
)
override
;
void
Visit
(
WfCoOperatorStatement
*
node
)
override
; };
/// <summary>An empty visitor, overriding all abstract methods with empty implementations.</summary>
class
StateMachineStatementVisitor
:
public
Object
,
public
WfStateMachineStatement
::
IVisitor
{
public
:
// Visitor Members -----------------------------------
void
Visit
(
WfStateSwitchStatement
*
node
)
override
;
void
Visit
(
WfStateInvokeStatement
*
node
)
override
; };
/// <summary>An empty visitor, overriding all abstract methods with empty implementations.</summary>
class
VirtualCfeExpressionVisitor
:
public
Object
,
public
WfVirtualCfeExpression
::
IVisitor
{
public
:
// Visitor Members -----------------------------------
void
Visit
(
WfFormatExpression
*
node
)
override
; };
/// <summary>An empty visitor, overriding all abstract methods with empty implementations.</summary>
class
VirtualCseExpressionVisitor
:
public
Object
,
public
WfVirtualCseExpression
::
IVisitor
{
public
:
// Visitor Members -----------------------------------
void
Visit
(
WfBindExpression
*
node
)
override
;
void
Visit
(
WfNewCoroutineExpression
*
node
)
override
;
void
Visit
(
WfMixinCastExpression
*
node
)
override
;
void
Visit
(
WfExpectedTypeCastExpression
*
node
)
override
;
void
Visit
(
WfCoOperatorExpression
*
node
)
override
; };
/// <summary>An empty visitor, overriding all abstract methods with empty implementations.</summary>
class
ModuleUsingFragmentVisitor
:
public
Object
,
public
WfModuleUsingFragment
::
IVisitor
{
public
:
// Visitor Members -----------------------------------
void
Visit
(
WfModuleUsingNameFragment
*
node
)
override
;
void
Visit
(
WfModuleUsingWildCardFragment
*
node
)
override
; }; } } }
#endif