예제 #1
0
        public override string VisitMacro([NotNull] sphereScript99Parser.MacroContext context)
        {
            if (context.escapedMacro()?.macroBody() != null)
            {
                return(Visit(context.escapedMacro().macroBody()));
            }
            if (context.nonEscapedMacro()?.macroBody() != null)
            {
                return(Visit(context.nonEscapedMacro().macroBody()));
            }

            return(base.VisitMacro(context));
        }
예제 #2
0
        public override bool VisitMacro([NotNull] sphereScript99Parser.MacroContext context)
        {
            parentTranspiler.Visit(context);

            return(true);
        }