Skip to content
FutureBlitz

    Install

    Import std.core.error

    Place

    std.core.error

    struct

    Public Struct Place Implements Printable

    Where in a program's source something is: its file, as the build names it, and its line and column, from 1. A Place whose Line is 0 is nowhere.

    std/core/error.fb, line 29

    • Public ReadOnly Field File: String field #

      Its file, as the build names it, or "" when it's nowhere.

    • Public ReadOnly Field Line: Int field #

      Its line, from 1, or 0 when it's nowhere.

    • Public ReadOnly Field Column: Int field #

      Its column, from 1.

    • Public Method ToString(): String method #

      Its file, line, and column, as "main.fb:3:5".

    Report an issue with this page or with FutureBlitz on GitHub.