C# Class Antlr4.Runtime.Atn.LexerModeAction

Implements the mode lexer action by calling Antlr4.Runtime.Lexer.Mode(int) with the assigned mode.
Inheritance: ILexerAction
Afficher le fichier Open project: antlr/antlr4

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool
Execute ( Lexer lexer ) : void

This action is implemented by calling Antlr4.Runtime.Lexer.Mode(int) with the value provided by Mode() .

GetHashCode ( ) : int
LexerModeAction ( int mode ) : Antlr4.Runtime

Constructs a new mode action with the specified mode value.

ToString ( ) : string

Method Details

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

Execute() public méthode

This action is implemented by calling Antlr4.Runtime.Lexer.Mode(int) with the value provided by Mode() .

public Execute ( Lexer lexer ) : void
lexer Lexer
Résultat void

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

LexerModeAction() public méthode

Constructs a new mode action with the specified mode value.
public LexerModeAction ( int mode ) : Antlr4.Runtime
mode int /// The mode value to pass to /// /// . ///
Résultat Antlr4.Runtime

ToString() public méthode

public ToString ( ) : string
Résultat string