Polyglot SQL API Documentation - v0.2.0
    Preparing search index...

    Interface ParseResult

    Result of a parse operation

    interface ParseResult {
        ast?: any;
        error?: string;
        errorColumn?: number;
        errorEnd?: number;
        errorLine?: number;
        errorStart?: number;
        success: boolean;
    }
    Index

    Properties

    ast?: any
    error?: string
    errorColumn?: number

    1-based column number where the error occurred

    errorEnd?: number

    End byte offset of the error range (exclusive)

    errorLine?: number

    1-based line number where the error occurred

    errorStart?: number

    Start byte offset of the error range

    success: boolean