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
Datei anzeigen Open project: antlr/antlr4

Public Properties

Property Type Description
Instance LexerPopModeAction

Public Methods

Method 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

Method Description
LexerPopModeAction ( ) : Antlr4.Runtime

Constructs the singleton instance of the lexer popMode command.

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

Execute() public method

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

public Execute ( Lexer lexer ) : void
lexer Lexer
return void

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToString() public method

public ToString ( ) : string
return 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
return LexerPopModeAction