Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/steam_trader/types/protobuf.d.ts>ITokenizerHandle

https://deno.land/x/steam_trader
Latest
interface ITokenizerHandle
import { type ITokenizerHandle } from "https://deno.land/x/steam_trader@v0.4.0/types/protobuf.d.ts";

Handle object returned from tokenize.

Properties

next: TokenizerHandleNext

Gets the next token and advances (null on eof)

peek: TokenizerHandlePeek

Peeks for the next token (null on eof)

push: TokenizerHandlePush

Pushes a token back to the stack

skip: TokenizerHandleSkip

Skips a token, returns its presence and advances or, if non-optional and not present, throws

cmnt: TokenizerHandleCmnt

Gets the comment on the previous line or the line comment on the specified line, if any

line: number

Current line number