Antlr4.Runtime.Tree.Pattern.TextChunk.TextChunk C# (CSharp) Method

TextChunk() public method

Constructs a new instance of TextChunk with the specified text.
/// IllegalArgumentException /// if /// /// is /// /// . ///
public TextChunk ( string text ) : System
text string The text of this chunk.
return System
        public TextChunk(string text)
        {
            if (text == null)
            {
                throw new ArgumentException("text cannot be null");
            }
            this.text = text;
        }