UNPKG

pip-services4-expressions-node

Version:

Tokenizers, parsers and expression calculators in Node.js / ES2017

18 lines (17 loc) 740 B
/** @module tokenizers */ import { Token } from '../Token'; import { ITokenizer } from '../ITokenizer'; import { IScanner } from '../../io/IScanner'; import { CppCommentState } from './CppCommentState'; /** * This state will either delegate to a comment-handling state, or return a token with just a slash in it. */ export declare class CCommentState extends CppCommentState { /** * Either delegate to a comment-handling state, or return a token with just a slash in it. * @param scanner A textual string to be tokenized. * @param tokenizer A tokenizer class that controls the process. * @returns The next token from the top of the stream. */ nextToken(scanner: IScanner, tokenizer: ITokenizer): Token; }