Creates a Token and fills in its Values.
Namespace:
VDS.RDF.Parsing.Tokens
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax protected BaseToken(
int tokenType,
string value,
int startLine,
int endLine,
int startPos,
int endPos
)
Protected Sub New (
tokenType As Integer,
value As String,
startLine As Integer,
endLine As Integer,
startPos As Integer,
endPos As Integer
)
Parameters
- tokenType
- Type: SystemInt32
Integer denoting the Tokens Type. - value
- Type: SystemString
String value that the Token represents (if any). - startLine
- Type: SystemInt32
Line at which the Token starts. - endLine
- Type: SystemInt32
Line at which the Token ends. - startPos
- Type: SystemInt32
Column at which the Token starts. - endPos
- Type: SystemInt32
Column at which the Token ends.
Remarks All the derived classes use this Constructor to fill in the basic values of a Token.
See Also