public override string VisitNativeMemberAccess([NotNull] sphereScript99Parser.NativeMemberAccessContext context)
        {
            if (currentLevel == targetLevel || (targetLevel == -1 && context.chainedMemberAccess() == null))
            {
                return(context.nativeFunctionName().GetText());
            }

            return(base.VisitNativeMemberAccess(context));
        }
Exemple #2
0
 public override string VisitNativeMemberAccess([NotNull] sphereScript99Parser.NativeMemberAccessContext context)
 {
     return(context.nativeFunctionName().GetText());
 }
        public override bool VisitNativeMemberAccess([NotNull] sphereScript99Parser.NativeMemberAccessContext context)
        {
            parentTranspiler.Visit(context.nativeFunctionName());

            return(true);
        }