This action is implemented by calling Antlr4.Runtime.Lexer.PushMode(int) with the value provided by Mode() .
public void Execute(Lexer lexer) { lexer.PushMode(mode); }