protected virtual void VisitExpression(TemplateExpression expression)
		{
			switch (expression.Type)
			{
				case TemplateExpressionType.Literal:
					VisitLiteral((LiteralExpression)expression);
					break;
				case TemplateExpressionType.CodeBlock:
					VisitCodeBlock((CodeBlockExpression)expression);
					break;
				case TemplateExpressionType.Directive:
					VisitDirective((DirectiveExpression)expression);
					break;
			}
		}
Example #2
0
        protected virtual void VisitExpression(TemplateExpression expression)
        {
            switch (expression.Type)
            {
            case TemplateExpressionType.Literal:
                VisitLiteral((LiteralExpression)expression);
                break;

            case TemplateExpressionType.CodeBlock:
                VisitCodeBlock((CodeBlockExpression)expression);
                break;

            case TemplateExpressionType.Directive:
                VisitDirective((DirectiveExpression)expression);
                break;
            }
        }