Skip to main content

core.parser._constructor_

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

Parser.(constructor)

Constructs a new instance of the Parser class

Signature:

constructor(tokens: Token[], prefixParselets: Record<string, PrefixParselet>, infixParselets: Record<string, InfixParselet>);

Parameters

ParameterTypeDescription
tokensToken[]
prefixParseletsRecord<string, PrefixParselet>
infixParseletsRecord<string, InfixParselet>