Пример #1
0
        public PatternUst VisitMemberReferenceExpression(DslParser.MemberReferenceExpressionContext context)
        {
            PatternUst target = VisitExpression(context.expression());
            PatternUst type   = VisitLiteralOrPatternId(context.literalOrPatternId());
            var        result = new PatternMemberReferenceExpression(target, type, context.GetTextSpan());

            return(result);
        }
Пример #2
0
 public virtual T Visit(PatternMemberReferenceExpression patternMemberReferenceExpression)
 {
     return(VisitChildren(patternMemberReferenceExpression));
 }