C# 클래스 Antlr4.Runtime.Atn.LexerChannelAction

Implements the channel lexer action by calling Lexer.Channel with the assigned channel.
상속: ILexerAction
파일 보기 프로젝트 열기: antlr/antlr4

공개 메소드들

메소드 설명
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

메소드 상세

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

Execute() 공개 메소드

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

public Execute ( Lexer lexer ) : void
lexer Lexer
리턴 void

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

LexerChannelAction() 공개 메소드

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

ToString() 공개 메소드

public ToString ( ) : string
리턴 string