SyntaxTokenParser.SkipForwardTo(Int32) Method

Definition

Skip forward in the input to the specified position. Current directive state is preserved during the skip.

public void SkipForwardTo (int position);
member this.SkipForwardTo : int -> unit
Public Sub SkipForwardTo (position As Integer)

Parameters

position
Int32

The absolute location in the original text to move to.

Exceptions

If the given position is less than the current position of the lexer.

Applies to