locateStatements
locateStatements(
source):LocatedStatement[]
Defined in: libs/session/src/classify.ts:73
The statements splitStatements finds, where they are: each one’s text as written and its position, so a range the engine reports for a statement can be placed in the file it came from.
Parameters
Section titled “Parameters”source
Section titled “source”string
Returns
Section titled “Returns”TypeDBLite is an independent open-source project, built on TypeDB with thanks. It is not affiliated with, sponsored by, or endorsed by TypeDB Ltd. Released under the MPL-2.0 license.