Click or drag to resize

BaseToken Constructor

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
)

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