Skip to main content

xpressions / parse

parse

Functions

parse()

parse(input): Nodes

Parse and validate an templated expression string

Parameters

ParameterType
inputstring

Returns

Nodes

the parsed ast

Source

parse.ts:12


parseExpression()

parseExpression(input, startPosition, isInTemplate): ExpressionNode

Parse and validate an expression

Parameters

ParameterTypeDefault value
inputstringundefined
startPositionnumber0
isInTemplatebooleanfalse

Returns

ExpressionNode

return the parsed expression

Source

parse.ts:55