C# Class Antlr4.Runtime.Tree.Pattern.TokenTagToken

Inheritance: Antlr4.Runtime.CommonToken
Datei anzeigen Open project: antlr/antlr4 Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
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.

Method Details

ToString() public method

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

public ToString ( ) : string
return string

TokenTagToken() public method

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.
return Antlr4.Runtime

TokenTagToken() public method

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. ///
return Antlr4.Runtime