GoldDotNet Documentation

TokenStack.GetToken Method 

Returns the token at the specified position from the top.

public Token GetToken(
   int p_index
);

Example

GetToken(0) returns the token on top off the stack, GetToken(1) the next one, etc.

See Also

TokenStack Class | DevinCook.GoldParser Namespace