Skip to content

Documentation / @andrew_l/search-query-language / NodeLiteral

Interface: NodeLiteral

Literal node of the AST.

Extends

Properties

end

end: number

End positions of the node in the source code.

Inherited from

Node.end


raw?

optional raw: string

Raw value of the literal.


start

start: number

Start positions of the node in the source code.

Inherited from

Node.start


type

type: "literal"

Type of the node.

Overrides

Node.type


value

value: null | string | number | boolean

Value of the literal.