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

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

Constructs a new indexed custom action by associating a character offset with a ILexerAction .

Note: This class is only required for lexer actions for which ILexerAction.IsPositionDependent() returns .

public LexerIndexedCustomAction ( int offset, ILexerAction action ) : Antlr4.Runtime
offset int /// The offset into the input /// /// , relative to /// the token start index, at which the specified lexer action should be /// executed. ///
action ILexerAction /// The lexer action to execute at a particular offset in the /// input /// /// . ///
Результат Antlr4.Runtime
        public LexerIndexedCustomAction(int offset, ILexerAction action)
        {
            this.offset = offset;
            this.action = action;
        }