Skip to content

SourceOrigin

[<Interface>]
type SourceOrigin =
    abstract member columnNumber: float with get, set
    abstract member fileName: string with get, set
    abstract member lineNumber: float with get, set
    abstract member name: string option with get, set
    static member Create (fileName: string, lineNumber: float, columnNumber: float, ?name: string) : SourceOrigin
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Properties

abstract member columnNumber: float with get, set

The 1-indexed columnNumber of the corresponding call site in the original source

abstract member fileName: string with get, set

The file name of the original source, as reported in the SourceMap

abstract member lineNumber: float with get, set

The 1-indexed lineNumber of the corresponding call site in the original source

abstract member name: string option with get, set

The name of the range in the source map, if one was provided

Methods

static member Create (fileName: string, lineNumber: float, columnNumber: float, ?name: string) : SourceOrigin