C# Class Antlr4.Runtime.Atn.LexerChannelAction

Implements the channel lexer action by calling Lexer.Channel with the assigned channel.
Inheritance: ILexerAction
显示文件 Open project: antlr/antlr4

Public Methods

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

This action is implemented by calling Lexer.Channel with the value provided by Channel() .

GetHashCode ( ) : int
LexerChannelAction ( int channel ) : Antlr4.Runtime

Constructs a new channel action with the specified channel value.

ToString ( ) : string

Method Details

Equals() public method

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

Execute() public method

This action is implemented by calling Lexer.Channel with the value provided by Channel() .

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

LexerChannelAction() public method

Constructs a new channel action with the specified channel value.
public LexerChannelAction ( int channel ) : Antlr4.Runtime
channel int /// The channel value to pass to /// /// . ///
return Antlr4.Runtime

ToString() public method

public ToString ( ) : string
return string