text: public virtual Antlr4.Runtime.Atn.LexerActionExecutor FixOffsetBeforeMatch(int offset){ILexerAction[] updatedLexerActions = null;for (int i = 0; i < lexerActions.Length; i++){if (lexerActions[i].IsPositionDependent && !(lexerActions[i] is LexerIndexedCustomAction)){if (updatedLexerActions == null){updatedLexerActions = (ILexerAction[])lexerActions.Clone();}updatedLexerActions[i] = new LexerIndexedCustomAction(offset, lexerActions[i]);}}if (updatedLexerActions == null){return this;}return new Antlr4.Runtime.Atn.LexerActionExecutor(updatedLexerActions);}