Skip to main content

core.tokenizer._constructor_

Home > @medplum/core > Tokenizer > (constructor)

Tokenizer.(constructor)

Constructs a new instance of the Tokenizer class

Signature:

constructor(str: string, keywords: string[], operators: string[], options?: TokenizerOptions);

Parameters

Parameter

Type

Description

str

string

keywords

string[]

operators

string[]

options

TokenizerOptions

(Optional)