Antlr4.Runtime.CommonToken.CommonToken C# (CSharp) Method

CommonToken() public method

Constructs a new CommonToken with the specified token type.
public CommonToken ( int type ) : System
type int The token type.
return System
        public CommonToken(int type)
        {
            // set to invalid position
            this._type = type;
            this.source = EmptySource;
        }

Same methods

CommonToken::CommonToken ( IToken oldToken ) : System
CommonToken::CommonToken ( ICharStream>.Tuple source, int type, int channel, int start, int stop ) : System
CommonToken::CommonToken ( int type, string text ) : System