Antlr4.Runtime.Tree.Pattern.TagChunk.ToString C# (CSharp) Method

ToString() public method

This method returns a text representation of the tag chunk.
This method returns a text representation of the tag chunk. Labeled tags are returned in the form label:tag , and unlabeled tags are returned as just the tag name.
public ToString ( ) : string
return string
        public override string ToString()
        {
            if (label != null)
            {
                return label + ":" + tag;
            }
            return tag;
        }