Table of Contents

Method PeekValidToken

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

PeekValidToken()

Parses to the next valid (non-whitespace, non-comment) portion of the text, remaining current position unchanged.

public virtual int PeekValidToken()

Returns

int

Next valid token.

PeekValidToken(out string)

Parses to the next valid (non-whitespace, non-comment) portion of the text, remaining current position unchanged.

public virtual int PeekValidToken(out string str)

Parameters

str string

Retrieves token string for the next valid token.

Returns

int

Next valid token.