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

Implements the mode lexer action by calling Antlr4.Runtime.Lexer.Mode(int) with the assigned mode.
상속: ILexerAction
파일 보기 프로젝트 열기: antlr/antlr4

공개 메소드들

메소드 설명
Equals ( object obj ) : bool
Execute ( Lexer lexer ) : void

This action is implemented by calling Antlr4.Runtime.Lexer.Mode(int) with the value provided by Mode() .

GetHashCode ( ) : int
LexerModeAction ( int mode ) : Antlr4.Runtime

Constructs a new mode action with the specified mode value.

ToString ( ) : string

메소드 상세

Equals() 공개 메소드

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

Execute() 공개 메소드

This action is implemented by calling Antlr4.Runtime.Lexer.Mode(int) with the value provided by Mode() .

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

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

LexerModeAction() 공개 메소드

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

ToString() 공개 메소드

public ToString ( ) : string
리턴 string