C# 클래스 Antlr4.Runtime.Tree.Pattern.TokenTagToken

상속: Antlr4.Runtime.CommonToken
파일 보기 프로젝트 열기: antlr/antlr4 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
ToString ( ) : string

The implementation for TokenTagToken returns a string of the form tokenName:type .

TokenTagToken ( string tokenName, int type ) : Antlr4.Runtime

Constructs a new instance of TokenTagToken for an unlabeled tag with the specified token name and type.

TokenTagToken ( string tokenName, int type, string label ) : Antlr4.Runtime

Constructs a new instance of TokenTagToken with the specified token name, type, and label.

메소드 상세

ToString() 공개 메소드

The implementation for TokenTagToken returns a string of the form tokenName:type .

public ToString ( ) : string
리턴 string

TokenTagToken() 공개 메소드

Constructs a new instance of TokenTagToken for an unlabeled tag with the specified token name and type.
public TokenTagToken ( string tokenName, int type ) : Antlr4.Runtime
tokenName string The token name.
type int The token type.
리턴 Antlr4.Runtime

TokenTagToken() 공개 메소드

Constructs a new instance of TokenTagToken with the specified token name, type, and label.
public TokenTagToken ( string tokenName, int type, string label ) : Antlr4.Runtime
tokenName string The token name.
type int The token type.
label string /// The label associated with the token tag, or /// /// if /// the token tag is unlabeled. ///
리턴 Antlr4.Runtime