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 ***********************************************************************/
#include <VlppParser.h>
#include "WfExpression_Ast.h"
namespace
vl
{
namespace
workflow
{
/*********************************************************************** Visitor Pattern Implementation ***********************************************************************/
void
WfPredefinedType
::
Accept
(
WfType
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfTopQualifiedType
::
Accept
(
WfType
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfReferenceType
::
Accept
(
WfType
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfRawPointerType
::
Accept
(
WfType
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfSharedPointerType
::
Accept
(
WfType
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfNullableType
::
Accept
(
WfType
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfEnumerableType
::
Accept
(
WfType
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfMapType
::
Accept
(
WfType
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfObservableListType
::
Accept
(
WfType
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfFunctionType
::
Accept
(
WfType
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfChildType
::
Accept
(
WfType
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfNamespaceDeclaration
::
Accept
(
WfDeclaration
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfFunctionDeclaration
::
Accept
(
WfDeclaration
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfVariableDeclaration
::
Accept
(
WfDeclaration
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfEventDeclaration
::
Accept
(
WfDeclaration
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfPropertyDeclaration
::
Accept
(
WfDeclaration
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfConstructorDeclaration
::
Accept
(
WfDeclaration
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfDestructorDeclaration
::
Accept
(
WfDeclaration
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfClassDeclaration
::
Accept
(
WfDeclaration
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfEnumDeclaration
::
Accept
(
WfDeclaration
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfStructDeclaration
::
Accept
(
WfDeclaration
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfVirtualCfeDeclaration
::
Accept
(
WfDeclaration
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfAutoPropertyDeclaration
::
Accept
(
WfVirtualCfeDeclaration
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfCastResultInterfaceDeclaration
::
Accept
(
WfVirtualCfeDeclaration
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfVirtualCseDeclaration
::
Accept
(
WfDeclaration
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfStateMachineDeclaration
::
Accept
(
WfVirtualCseDeclaration
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfBreakStatement
::
Accept
(
WfStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfContinueStatement
::
Accept
(
WfStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfReturnStatement
::
Accept
(
WfStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfDeleteStatement
::
Accept
(
WfStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfRaiseExceptionStatement
::
Accept
(
WfStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfIfStatement
::
Accept
(
WfStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfWhileStatement
::
Accept
(
WfStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfTryStatement
::
Accept
(
WfStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfBlockStatement
::
Accept
(
WfStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfGotoStatement
::
Accept
(
WfStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfVariableStatement
::
Accept
(
WfStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfExpressionStatement
::
Accept
(
WfStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfVirtualCseStatement
::
Accept
(
WfStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfForEachStatement
::
Accept
(
WfVirtualCseStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfSwitchStatement
::
Accept
(
WfVirtualCseStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfCoProviderStatement
::
Accept
(
WfVirtualCseStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfCoroutineStatement
::
Accept
(
WfStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfCoPauseStatement
::
Accept
(
WfCoroutineStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfCoOperatorStatement
::
Accept
(
WfCoroutineStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfStateMachineStatement
::
Accept
(
WfStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfStateSwitchStatement
::
Accept
(
WfStateMachineStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfStateInvokeStatement
::
Accept
(
WfStateMachineStatement
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfThisExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfTopQualifiedExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfReferenceExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfOrderedNameExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfOrderedLambdaExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfMemberExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfChildExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfLiteralExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfFloatingExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfIntegerExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfStringExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfUnaryExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfBinaryExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfLetExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfIfExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfRangeExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfSetTestingExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfConstructorExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfInferExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfTypeCastingExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfTypeTestingExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfTypeOfTypeExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfTypeOfExpressionExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfAttachEventExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfDetachEventExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfObserveExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfCallExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfFunctionExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfNewClassExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfNewInterfaceExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfVirtualCfeExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfFormatExpression
::
Accept
(
WfVirtualCfeExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfVirtualCseExpression
::
Accept
(
WfExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfBindExpression
::
Accept
(
WfVirtualCseExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfNewCoroutineExpression
::
Accept
(
WfVirtualCseExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfMixinCastExpression
::
Accept
(
WfVirtualCseExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfExpectedTypeCastExpression
::
Accept
(
WfVirtualCseExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfCoOperatorExpression
::
Accept
(
WfVirtualCseExpression
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfModuleUsingNameFragment
::
Accept
(
WfModuleUsingFragment
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); }
void
WfModuleUsingWildCardFragment
::
Accept
(
WfModuleUsingFragment
::
IVisitor
*
visitor
) {
visitor
->
Visit
(
this
); } } }
namespace
vl
{
namespace
reflection
{
namespace
description
{
#ifndef VCZH_DEBUG_NO_REFLECTION
using
namespace
vl
::
workflow
;
#define PARSING_TOKEN_FIELD(NAME)\
CLASS_MEMBER_EXTERNALMETHOD_TEMPLATE(get_##NAME, NO_PARAMETER, vl::WString(ClassType::*)(), [](ClassType* node) { return node->NAME.value; }, L"*", L"*")\
CLASS_MEMBER_EXTERNALMETHOD_TEMPLATE(set_##NAME, { L"value" }, void(ClassType::*)(const vl::WString&), [](ClassType* node, const vl::WString& value) { node->NAME.value = value; }, L"*", L"*")\
CLASS_MEMBER_PROPERTY_REFERENCETEMPLATE(NAME, get_##NAME, set_##NAME, L"$This->$Name.value")\
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#endif
#undef PARSING_TOKEN_FIELD
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
class
WfTypeLoader
:
public
vl
::
Object
,
public
ITypeLoader
{
public
:
void
Load
(
ITypeManager
*
manager
) { }
void
Unload
(
ITypeManager
*
manager
) { } };
#endif #endif
bool
WfLoadTypes
() {
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
ITypeManager
*
manager
=
GetGlobalTypeManager
();
if
(
manager
) {
Ptr
<
ITypeLoader
>
loader
=
new
WfTypeLoader
;
return
manager
->
AddTypeLoader
(
loader
); }
#endif
return
false
; } } } }