Antlr4.Runtime.Atn.LexerActionExecutor.LexerActionExecutor C# (CSharp) Метод

LexerActionExecutor() публичный Метод

Constructs an executor for a sequence of ILexerAction actions.
public LexerActionExecutor ( ILexerAction lexerActions ) : Antlr4.Runtime
lexerActions ILexerAction The lexer actions to execute.
Результат Antlr4.Runtime
        public LexerActionExecutor(ILexerAction[] lexerActions)
        {
            this.lexerActions = lexerActions;
            int hash = MurmurHash.Initialize();
            foreach (ILexerAction lexerAction in lexerActions)
            {
                hash = MurmurHash.Update(hash, lexerAction);
            }
            this.hashCode = MurmurHash.Finish(hash, lexerActions.Length);
        }