Table of Contents

Method NextToken

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

NextToken()

Parses text from current position to the next token and updates TokenPos, CurrentPos and TokenString properties.

public virtual int NextToken()

Returns

int

Token that corresponds to the next position.

NextToken(out string)

Parses text from current position to the next token and updates TokenPos, CurrentPos and TokenString properties.

public virtual int NextToken(out string str)

Parameters

str string

Retrieves token string for the next token.

Returns

int

Token that corresponds to the next position.