C# Class Antlr4.Runtime.Atn.LexerSkipAction

Implements the skip lexer action by calling Antlr4.Runtime.Lexer.Skip() .

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

Inheritance: ILexerAction
Show file Open project: antlr/antlr4

Public Properties

Property Type Description
Instance LexerSkipAction

Public Methods

Method Description
Equals ( object obj ) : bool
Execute ( Lexer lexer ) : void

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

GetHashCode ( ) : int
ToString ( ) : string

Private Methods

Method Description
LexerSkipAction ( ) : Antlr4.Runtime

Constructs the singleton instance of the lexer skip 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.Skip() .

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 static property

Provides a singleton instance of this parameterless lexer action.
Provides a singleton instance of this parameterless lexer action.
public static LexerSkipAction,Antlr4.Runtime.Atn Instance
return LexerSkipAction