Constructs a Token with null text and start & end offsets plus flags. NOTE: flags is EXPERIMENTAL.

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

Syntax

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

Parameters

start
Type: System..::..Int32
start offset in the source text
end
Type: System..::..Int32
end offset in the source text
flags
Type: System..::..Int32
The bits to set for this token

See Also