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 KeyTags

public struct KeyTags <: KeyFor<Array<String>> {}

功能:用于在 Configuration 配置键值。

父类型:

prop tags

public static prop tags: KeyTags

功能:配置项的键值。

类型:KeyTags

prop name

public prop name: String

功能:配置项的键值的名称。

类型:String

struct OptionInfo

public struct OptionInfo {
    public let description: ?String
    public let name: String
    public let types!: HashMap<String, ?String> = HashMap()
    public let userDefined: Bool
}

功能:打印帮助页面时可以使用的选项的信息。

let description

public let description: ?String

功能:选项描述信息。

类型:?String

let name

public let name: String

功能:选项名称。

类型:String

let types

public let types!: HashMap<String, ?String> = HashMap()

功能:从选项类型名称映射到值的含义。

类型: HashMap<String, ?String>

let userDefined

public let userDefined: Bool

功能:选项是否已被定义。

类型:Bool