Constructor CannedTokenStream
CannedTokenStream(Token[])
Declaration
public CannedTokenStream(params Token[] tokens)
Parameters
Type | Name | Description |
---|---|---|
Token[] | tokens |
CannedTokenStream(Int32, Int32, Token[])
If you want trailing holes, pass a non-zero finalPosInc.
Declaration
public CannedTokenStream(int finalPosInc, int finalOffset, params Token[] tokens)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | finalPosInc | |
System.Int32 | finalOffset | |
Token[] | tokens |