Constructs a Token with null text and start & end offsets plus the Token type.

Namespace: Lucene.Net.Analysis
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public Token(
	int start,
	int end,
	string typ
)
Visual Basic
Public Sub New ( _
	start As Integer, _
	end As Integer, _
	typ As String _
)
Visual C++
public:
Token(
	int start, 
	int end, 
	String^ typ
)

Parameters

start
Type: System..::..Int32
start offset in the source text
end
Type: System..::..Int32
end offset in the source text
typ
Type: System..::..String
the lexical type of this Token

See Also