public virtual void DefaultVisit(CPPModel model)
 {
 }
예제 #2
0
        public virtual void Visit(CPPModel model)
        {
            switch (model)
            {
            case IncludeCPPModel m: VisitIncludeCPPModel(m); break;

            case ModifiersCPPModel m: VisitModifiersCPPModel(m); break;

            case LiteralExpressionCPPModel m: VisitLiteralExpressionCPPModel(m); break;

            case IdentifierExpressionCPPModel m: VisitIdentifierExpressionCPPModel(m); break;

            case AssignmentExpressionCPPModel m: VisitAssignmentExpressionCPPModel(m); break;

            case BinaryExpressionCPPModel m: VisitBinaryExpressionCPPModel(m); break;

            case PrefixUnaryExpressionCPPModel m: VisitPrefixUnaryExpressionCPPModel(m); break;

            case PostfixUnaryExpressionCPPModel m: VisitPostfixUnaryExpressionCPPModel(m); break;

            case ReturnExpresionCPPModel m: VisitReturnExpresionCPPModel(m); break;

            case FieldCPPModel m: VisitFieldCPPModel(m); break;

            case DataInitializerCPPModel m: VisitDataInitializerCPPModel(m); break;

            case DataCPPModel m: VisitDataCPPModel(m); break;

            case ParameterCPPModel m: VisitParameterCPPModel(m); break;

            case MethodCPPModel m: VisitMethodCPPModel(m); break;

            case ClassCPPModel m: VisitClassCPPModel(m); break;

            case NamespaceCPPModel m: VisitNamespaceCPPModel(m); break;

            case WhileLoopCPPModel m: VisitWhileLoopCPPModel(m); break;

            case IfCPPModel m: VisitIfCPPModel(m); break;

            case ElseCPPModel m: VisitElseCPPModel(m); break;

            case SwitchCPPModel m: VisitSwitchCPPModel(m); break;

            case CaseCPPModel m: VisitCaseCPPModel(m); break;

            case CaseSwitchLabelCPPModel m: VisitCaseSwitchLabelCPPModel(m); break;

            case DefaultSwitchLabelCPPModel m: VisitDefaultSwitchLabelCPPModel(m); break;

            case BreakCPPModel m: VisitBreakCPPModel(m); break;

            case DoLoopCPPModel m: VisitDoLoopCPPModel(m); break;

            case ForLoopCPPModel m: VisitForLoopCPPModel(m); break;

            case ArgumentCPPModel m: VisitArgumentCPPModel(m); break;

            case LocalInvocationCPPModel m: VisitLocalInvocationCPPModel(m); break;

            case ArrayCreationExpressionCPPModel m: VisitArrayCreationExpressionCPPModel(m); break;

            case FileCPPModel m: VisitFileCPPModel(m); break;

            case ElementAccessCPPModel m: VisitElementAccessCPPModel(m); break;

            case CastCPPModel m: VisitCastCPPModel(m); break;

            case ParenthesizedExpressionCPPModel m: VisitParenthesizedExpressionCPPModel(m); break;

            case SOCResourceCPPModel m: VisitSOCResourceCPPModel(m); break;
            }
        }