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

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

공개 메소드들

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

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

GetHashCode ( ) : int
LexerTypeAction ( int type ) : Antlr4.Runtime

Constructs a new type action with the specified token type value.

ToString ( ) : string

메소드 상세

Equals() 공개 메소드

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

Execute() 공개 메소드

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

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

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

LexerTypeAction() 공개 메소드

Constructs a new type action with the specified token type value.
public LexerTypeAction ( int type ) : Antlr4.Runtime
type int /// The type to assign to the token using /// /// . ///
리턴 Antlr4.Runtime

ToString() 공개 메소드

public ToString ( ) : string
리턴 string