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(Int32, Int32, String, TokenType)

Initializes a new instance of the Token class.

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

Parameters

start
System.Int32
end
System.Int32
value
System.String
type
TokenType

Token(Match, TokenType, Int32)

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
System.Int32

Token(Match, TokenType, Int32, Int32)

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
System.Int32
startOffset
System.Int32