Token.Token Constructor

Namespace:
Weavy.Core.TwitterText
Assembly:
Weavy.Core.dll

Overloads

Token()
Token(Int32, Int32, String, TokenType) Initializes a new instance of the Token class.
Token(Match, TokenType, Int32) Initializes a new instance of the Token class.
Token(Match, TokenType, Int32, Int32) Initializes a new instance of the Token class.

Token()

public Token()

Token(int, int, string, TokenType)

Initializes a new instance of the Token class.

public Token(int start, int end, string value, TokenType type)

Parameters

start
int
end
int
value
string
type
TokenType

Token(Match, TokenType, int)

Initializes a new instance of the Token class.

public Token(Match matcher, TokenType type, int groupNumber)

Parameters

matcher
System.Text.RegularExpressions.Match
type
TokenType
groupNumber
int

Token(Match, TokenType, int, int)

Initializes a new instance of the Token class.

public Token(Match matcher, TokenType type, int groupNumber, int startOffset)

Parameters

matcher
System.Text.RegularExpressions.Match
type
TokenType
groupNumber
int
startOffset
int