예제 #1
0
        public override void EnterServiceReloadCompilerStatement(CobolCompilerDirectivesParser.ServiceReloadCompilerStatementContext context)
        {
            ServiceReloadDirective serviceReloadDirective = new ServiceReloadDirective();

            CompilerDirective = serviceReloadDirective;

            string userDefinedWord = null;

            TryGetUserDefinedWord(context.UserDefinedWord(), ref userDefinedWord);
            serviceReloadDirective.UserDefinedWord = userDefinedWord;
        }
        public virtual void EnterServiceReloadCompilerStatement(Token serviceToken, Token reloadToken, Token userDefinedWord)
        {
            ServiceReloadDirective serviceReloadDirective = (ServiceReloadDirective)CompilerDirective;

            serviceReloadDirective.UserDefinedWord = userDefinedWord.Text;
        }
        public virtual void StartServiceReloadCompilerStatement()
        {
            ServiceReloadDirective serviceReloadDirective = new ServiceReloadDirective();

            CompilerDirective = serviceReloadDirective;
        }