示例#1
0
        public override bool VisitFirstMemberAccess([NotNull] sphereScript99Parser.FirstMemberAccessContext context)
        {
            if (context.customMemberAccess()?.chainedMemberAccess() != null)
            {
                parentTranspiler.Visit(context.customMemberAccess()?.chainedMemberAccess());
            }
            else if (context.genericNativeMemberAccess()?.nativeMemberAccess()?.chainedMemberAccess() != null)
            {
                parentTranspiler.Visit(context.genericNativeMemberAccess()?.nativeMemberAccess()?.chainedMemberAccess());
            }

            return(true);
        }
示例#2
0
 public override bool VisitFirstMemberAccess([NotNull] sphereScript99Parser.FirstMemberAccessContext context)
 {
     return(context.customMemberAccess()?.chainedMemberAccess() != null ||
            context.genericNativeMemberAccess()?.nativeMemberAccess()?.chainedMemberAccess() != null);
 }