Method AssertTokenStreamContents
AssertTokenStreamContents(TokenStream, String[], Int32[], Int32[], String[], Int32[], Int32[], Nullable<Int32>, Nullable<Int32>, Boolean[], Boolean)
Declaration
public static void AssertTokenStreamContents(TokenStream ts, string[] output, int[] startOffsets, int[] endOffsets, string[] types, int[] posIncrements, int[] posLengths, int? finalOffset, int? finalPosInc, bool[] keywordAtts, bool offsetsAreCorrect)
Parameters
Type |
Name |
Description |
TokenStream |
ts |
|
System.String[] |
output |
|
System.Int32[] |
startOffsets |
|
System.Int32[] |
endOffsets |
|
System.String[] |
types |
|
System.Int32[] |
posIncrements |
|
System.Int32[] |
posLengths |
|
System.Nullable<System.Int32> |
finalOffset |
|
System.Nullable<System.Int32> |
finalPosInc |
|
System.Boolean[] |
keywordAtts |
|
System.Boolean |
offsetsAreCorrect |
|
AssertTokenStreamContents(TokenStream, String[], Int32[], Int32[], String[], Int32[], Int32[], Nullable<Int32>, Boolean[], Boolean)
Declaration
public static void AssertTokenStreamContents(TokenStream ts, string[] output, int[] startOffsets, int[] endOffsets, string[] types, int[] posIncrements, int[] posLengths, int? finalOffset, bool[] keywordAtts, bool offsetsAreCorrect)
Parameters
Type |
Name |
Description |
TokenStream |
ts |
|
System.String[] |
output |
|
System.Int32[] |
startOffsets |
|
System.Int32[] |
endOffsets |
|
System.String[] |
types |
|
System.Int32[] |
posIncrements |
|
System.Int32[] |
posLengths |
|
System.Nullable<System.Int32> |
finalOffset |
|
System.Boolean[] |
keywordAtts |
|
System.Boolean |
offsetsAreCorrect |
|
AssertTokenStreamContents(TokenStream, String[], Int32[], Int32[], String[], Int32[], Int32[], Nullable<Int32>, Boolean)
Declaration
public static void AssertTokenStreamContents(TokenStream ts, string[] output, int[] startOffsets, int[] endOffsets, string[] types, int[] posIncrements, int[] posLengths, int? finalOffset, bool offsetsAreCorrect)
Parameters
Type |
Name |
Description |
TokenStream |
ts |
|
System.String[] |
output |
|
System.Int32[] |
startOffsets |
|
System.Int32[] |
endOffsets |
|
System.String[] |
types |
|
System.Int32[] |
posIncrements |
|
System.Int32[] |
posLengths |
|
System.Nullable<System.Int32> |
finalOffset |
|
System.Boolean |
offsetsAreCorrect |
|
AssertTokenStreamContents(TokenStream, String[], Int32[], Int32[], String[], Int32[], Int32[], Nullable<Int32>)
Declaration
public static void AssertTokenStreamContents(TokenStream ts, string[] output, int[] startOffsets, int[] endOffsets, string[] types, int[] posIncrements, int[] posLengths, int? finalOffset)
Parameters
Type |
Name |
Description |
TokenStream |
ts |
|
System.String[] |
output |
|
System.Int32[] |
startOffsets |
|
System.Int32[] |
endOffsets |
|
System.String[] |
types |
|
System.Int32[] |
posIncrements |
|
System.Int32[] |
posLengths |
|
System.Nullable<System.Int32> |
finalOffset |
|
AssertTokenStreamContents(TokenStream, String[], Int32[], Int32[], String[], Int32[], Nullable<Int32>)
Declaration
public static void AssertTokenStreamContents(TokenStream ts, string[] output, int[] startOffsets, int[] endOffsets, string[] types, int[] posIncrements, int? finalOffset)
Parameters
Type |
Name |
Description |
TokenStream |
ts |
|
System.String[] |
output |
|
System.Int32[] |
startOffsets |
|
System.Int32[] |
endOffsets |
|
System.String[] |
types |
|
System.Int32[] |
posIncrements |
|
System.Nullable<System.Int32> |
finalOffset |
|
AssertTokenStreamContents(TokenStream, String[], Int32[], Int32[], String[], Int32[])
Declaration
public static void AssertTokenStreamContents(TokenStream ts, string[] output, int[] startOffsets, int[] endOffsets, string[] types, int[] posIncrements)
Parameters
Type |
Name |
Description |
TokenStream |
ts |
|
System.String[] |
output |
|
System.Int32[] |
startOffsets |
|
System.Int32[] |
endOffsets |
|
System.String[] |
types |
|
System.Int32[] |
posIncrements |
|
AssertTokenStreamContents(TokenStream, String[])
Declaration
public static void AssertTokenStreamContents(TokenStream ts, string[] output)
Parameters
Type |
Name |
Description |
TokenStream |
ts |
|
System.String[] |
output |
|
AssertTokenStreamContents(TokenStream, String[], String[])
Declaration
public static void AssertTokenStreamContents(TokenStream ts, string[] output, string[] types)
Parameters
Type |
Name |
Description |
TokenStream |
ts |
|
System.String[] |
output |
|
System.String[] |
types |
|
AssertTokenStreamContents(TokenStream, String[], Int32[])
Declaration
public static void AssertTokenStreamContents(TokenStream ts, string[] output, int[] posIncrements)
Parameters
Type |
Name |
Description |
TokenStream |
ts |
|
System.String[] |
output |
|
System.Int32[] |
posIncrements |
|
AssertTokenStreamContents(TokenStream, String[], Int32[], Int32[])
Declaration
public static void AssertTokenStreamContents(TokenStream ts, string[] output, int[] startOffsets, int[] endOffsets)
Parameters
Type |
Name |
Description |
TokenStream |
ts |
|
System.String[] |
output |
|
System.Int32[] |
startOffsets |
|
System.Int32[] |
endOffsets |
|
AssertTokenStreamContents(TokenStream, String[], Int32[], Int32[], Nullable<Int32>)
Declaration
public static void AssertTokenStreamContents(TokenStream ts, string[] output, int[] startOffsets, int[] endOffsets, int? finalOffset)
Parameters
Type |
Name |
Description |
TokenStream |
ts |
|
System.String[] |
output |
|
System.Int32[] |
startOffsets |
|
System.Int32[] |
endOffsets |
|
System.Nullable<System.Int32> |
finalOffset |
|
AssertTokenStreamContents(TokenStream, String[], Int32[], Int32[], Int32[])
Declaration
public static void AssertTokenStreamContents(TokenStream ts, string[] output, int[] startOffsets, int[] endOffsets, int[] posIncrements)
Parameters
Type |
Name |
Description |
TokenStream |
ts |
|
System.String[] |
output |
|
System.Int32[] |
startOffsets |
|
System.Int32[] |
endOffsets |
|
System.Int32[] |
posIncrements |
|
AssertTokenStreamContents(TokenStream, String[], Int32[], Int32[], Int32[], Nullable<Int32>)
Declaration
public static void AssertTokenStreamContents(TokenStream ts, string[] output, int[] startOffsets, int[] endOffsets, int[] posIncrements, int? finalOffset)
Parameters
Type |
Name |
Description |
TokenStream |
ts |
|
System.String[] |
output |
|
System.Int32[] |
startOffsets |
|
System.Int32[] |
endOffsets |
|
System.Int32[] |
posIncrements |
|
System.Nullable<System.Int32> |
finalOffset |
|
AssertTokenStreamContents(TokenStream, String[], Int32[], Int32[], Int32[], Int32[], Nullable<Int32>)
Declaration
public static void AssertTokenStreamContents(TokenStream ts, string[] output, int[] startOffsets, int[] endOffsets, int[] posIncrements, int[] posLengths, int? finalOffset)
Parameters
Type |
Name |
Description |
TokenStream |
ts |
|
System.String[] |
output |
|
System.Int32[] |
startOffsets |
|
System.Int32[] |
endOffsets |
|
System.Int32[] |
posIncrements |
|
System.Int32[] |
posLengths |
|
System.Nullable<System.Int32> |
finalOffset |
|