Beispiel #1
0
        public override TResult Accept <TResult>(IParseTreeVisitor <TResult> visitor)
        {
            ICodeQueryVisitor <TResult> typedVisitor = visitor as ICodeQueryVisitor <TResult>;

            if (typedVisitor != null)
            {
                return(typedVisitor.VisitSelectableElement(this));
            }
            else
            {
                return(visitor.VisitChildren(this));
            }
        }
Beispiel #2
0
        public override TResult Accept <TResult>(IParseTreeVisitor <TResult> visitor)
        {
            ICodeQueryVisitor <TResult> typedVisitor = visitor as ICodeQueryVisitor <TResult>;

            if (typedVisitor != null)
            {
                return(typedVisitor.VisitExpressionInBrackets(this));
            }
            else
            {
                return(visitor.VisitChildren(this));
            }
        }
Beispiel #3
0
        public override TResult Accept <TResult>(IParseTreeVisitor <TResult> visitor)
        {
            ICodeQueryVisitor <TResult> typedVisitor = visitor as ICodeQueryVisitor <TResult>;

            if (typedVisitor != null)
            {
                return(typedVisitor.VisitMethodCallParameterValueWithConstant(this));
            }
            else
            {
                return(visitor.VisitChildren(this));
            }
        }
Beispiel #4
0
        public override TResult Accept <TResult>(IParseTreeVisitor <TResult> visitor)
        {
            ICodeQueryVisitor <TResult> typedVisitor = visitor as ICodeQueryVisitor <TResult>;

            if (typedVisitor != null)
            {
                return(typedVisitor.VisitPseudoSelectorWithIdentifier(this));
            }
            else
            {
                return(visitor.VisitChildren(this));
            }
        }