Skip to main content

core.parserbuilder.prefix

Home > @medplum/core > ParserBuilder > prefix

ParserBuilder.prefix() method

Signature:

prefix(tokenType: string, precedence: number, builder: (token: Token, right: Atom) => Atom): this;

Parameters

Parameter

Type

Description

tokenType

string

precedence

number

builder

(token: Token, right: Atom) => Atom

Returns:

this