C# Class Antlr4.Runtime.Atn.LexerPopModeAction

Implements the popMode lexer action by calling Antlr4.Runtime.Lexer.PopMode() .

The popMode command does not have any parameters, so this action is implemented as a singleton instance exposed by Instance .

Inheritance: ILexerAction
Afficher le fichier Open project: antlr/antlr4

Méthodes publiques

Свойство Type Description
Instance LexerPopModeAction

Méthodes publiques

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

This action is implemented by calling Antlr4.Runtime.Lexer.PopMode() .

GetHashCode ( ) : int
ToString ( ) : string

Private Methods

Méthode Description
LexerPopModeAction ( ) : Antlr4.Runtime

Constructs the singleton instance of the lexer popMode command.

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.PopMode() .

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

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

Instance public_oe static_oe property

Provides a singleton instance of this parameterless lexer action.
Provides a singleton instance of this parameterless lexer action.
public static LexerPopModeAction,Antlr4.Runtime.Atn Instance
Résultat LexerPopModeAction