struct

AIContextEntry

Inherits YAML::Serializable < JSON::Serializable < Struct < Value < Object

Constructors

new(kind : String, name : String, source : String | Nil = nil, description : String | Nil = nil, path : String | Nil = nil, line : Int32 | Nil = nil, confidence : Int32 | Nil = nil, snippet : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

confidence
Source
confidence=(confidence : Int32 | Nil)
Source
description
Source
description=(description : Nil | String)
Source
kind
Source
kind=(kind : String)
Source
line
Source
line=(line : Int32 | Nil)
Source
name
Source
name=(name : String)
Source
path
Source
path=(path : Nil | String)
Source
snippet
Source
snippet=(snippet : Nil | String)
Source
source
Source
source=(source : Nil | String)
Source