Пример #1
0
        protected void RunCore <TContext>(LexemeSource <TToken> lexemeSource, TContext context) where TContext : AutomataContext
        {
            using var instructionReader = new LexemeStreamInstructionReader(lexemeSource);

            RunCore(instructionReader, context);
        }
Пример #2
0
        private protected AutomataResult PartialRunCore <TContext>(LexemeSource <TToken> lexemeSource, TContext context) where TContext : AutomataContext
        {
            using var instructionReader = new LexemeStreamInstructionReader(lexemeSource);

            return(PartialRunCore(instructionReader, context));
        }