Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

结构体

struct CodePositionRange

public struct CodePositionRange {
    public let beginLine: Int32
    public let beginColumn: Int32
    public let endLine: Int32
    public let endColumn: Int32
}

功能:表示节点位置信息。

let beginColumn

public let beginColumn: Int32

功能:获取起始列号。

类型:Int32

let beginLine

public let beginLine: Int32

功能:获取起始行号。

类型:Int32

let endColumn

public let endColumn: Int32

功能:获取结束列号。

类型:Int32

let endLine

public let endLine: Int32

功能:获取结束行号。

类型:Int32

prop fileName

public prop fileName: String

功能:获取文件名。

类型:String

prop filePath

public prop filePath: String

功能:获取文件绝对路径。

类型:String