Table of Contents

Method NextValidToken

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

NextValidToken()

Parses text from current position to the next valid (non-whitespace, non-comment) token and updates TokenPos, CurrentPos and TokenString properties.

public virtual int NextValidToken()

Returns

int

Next valid token.

NextValidToken(out string)

Parses text from current position to the next valid (non-whitespace, non-comment) token and updates TokenPos, CurrentPos and TokenString properties.

public virtual int NextValidToken(out string str)

Parameters

str string

Retrieves token string for the next valid token.

Returns

int

Next valid token.